-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #21 from ITISFoundation/fix_version_file
Fix gcc problems, version string. Enable the queso package compilation in dakota.
- Loading branch information
Showing
7 changed files
with
76 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,2 @@ | ||
from importlib.metadata import PackageNotFoundError, version | ||
|
||
try: | ||
__version__ = version("osparc_filecomms") | ||
except PackageNotFoundError: | ||
# package is not installed | ||
pass | ||
from ._version import __version__ #NOQA | ||
from ._version import __version_tuple__ #NOQA |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
diff --git a/trilinos/packages/teuchos/core/src/Teuchos_BigUInt.hpp b/trilinos/packages/teuchos/core/src/Teuchos_BigUInt.hpp | ||
index 5b6d3c5e..7fbfec7b 100644 | ||
--- a/trilinos/packages/teuchos/core/src/Teuchos_BigUInt.hpp | ||
+++ b/trilinos/packages/teuchos/core/src/Teuchos_BigUInt.hpp | ||
@@ -43,6 +43,7 @@ | ||
#define TEUCHOS_BIG_UINT_HPP | ||
|
||
#include <iostream> | ||
+#include <cstdint> | ||
#include <Teuchos_BigUIntDecl.hpp> | ||
|
||
/*! \file Teuchos_BigUInt.hpp | ||
diff --git a/trilinos/packages/teuchos/core/src/Teuchos_BigUIntDecl.hpp b/trilinos/packages/teuchos/core/src/Teuchos_BigUIntDecl.hpp | ||
index e82e8be9..a51f66cf 100644 | ||
--- a/trilinos/packages/teuchos/core/src/Teuchos_BigUIntDecl.hpp | ||
+++ b/trilinos/packages/teuchos/core/src/Teuchos_BigUIntDecl.hpp | ||
@@ -42,6 +42,7 @@ | ||
#ifndef TEUCHOS_BIG_UINT_DECL_HPP | ||
#define TEUCHOS_BIG_UINT_DECL_HPP | ||
|
||
+#include <cstdint> | ||
#include <iosfwd> | ||
|
||
/*! \file Teuchos_BigUIntDecl.hpp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
diff --git a/src/dakota_data_types.hpp b/src/dakota_data_types.hpp | ||
index 8771587..a430d51 100644 | ||
--- a/src/dakota_data_types.hpp | ||
+++ b/src/dakota_data_types.hpp | ||
@@ -21,6 +21,7 @@ | ||
#include <list> | ||
#include <map> | ||
#include <set> | ||
+#include <cstdint> | ||
|
||
namespace Dakota { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
diff --git a/cmake/DakotaFindPython.cmake b/cmake/DakotaFindPython.cmake | ||
index 9ffa1ca..8edd853 100644 | ||
--- a/cmake/DakotaFindPython.cmake | ||
+++ b/cmake/DakotaFindPython.cmake | ||
@@ -8,7 +8,7 @@ macro(dakota_find_python) | ||
if(DAKOTA_PYTHON_DIRECT_INTERFACE OR DAKOTA_PYTHON_SURROGATES OR | ||
DAKOTA_PYTHON_WRAPPER OR DAKOTA_PYBIND11) | ||
message(STATUS "Dakota enabling Python (Development) for direct or surrogate interface") | ||
- list(APPEND dakota_python_components Development) | ||
+ list(APPEND dakota_python_components Development.module) | ||
|
||
if (DAKOTA_PYTHON_DIRECT_INTERFACE_LEGACY) | ||
if (DAKOTA_PYTHON_DIRECT_INTERFACE) | ||
@@ -31,7 +31,7 @@ macro(dakota_find_python) | ||
|
||
endif() | ||
|
||
- find_package(Python REQUIRED ${dakota_python_components}) | ||
+ # find_package(Python REQUIRED ${dakota_python_components}) | ||
|
||
if (DAKOTA_PYTHON_DIRECT_INTERFACE_NUMPY) | ||
message(STATUS "NumPy version ${Python_NumPy_VERSION} found at ${Python_NumPy_INCLUDE_DIRS}") |