-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
122 additions
and
26,199 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -170,6 +170,7 @@ venv/ | |
ENV/ | ||
env.bak/ | ||
venv.bak/ | ||
psim_python/.venv | ||
|
||
# Spyder project settings | ||
.spyderproject | ||
|
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 |
---|---|---|
|
@@ -32,13 +32,36 @@ function(psim_setup_dependencies) | |
# cpmaddpackage("gh:CLIUtils/[email protected]") | ||
# endif() | ||
|
||
#if(NOT TARGET TBB::tbb) | ||
# cpmaddpackage( | ||
# NAME TBB | ||
# VERSION 2021.10.0 | ||
# URL https://github.com/oneapi-src/oneTBB/archive/refs/tags/v2021.10.0.tar.gz | ||
# OPTIONS | ||
# "TBB_TEST OFF") | ||
#endif() | ||
if(NOT TARGET nlohmann_json::nlohmann_json) | ||
find_package(nlohmann_json QUIET) | ||
|
||
if(NOT nlohmann_json_FOUND) | ||
message(STATUS "nlohmann_json not found: Using CPM to fetch nlohmann_json") | ||
CPMAddPackage( | ||
NAME nlohmann_json | ||
GIT_REPOSITORY https://github.com/nlohmann/json.git | ||
GIT_TAG v3.10.4 | ||
) | ||
set(nlohmann_json_INCLUDE_DIR "${nlohmann_json_SOURCE_DIR}/single_include" CACHE INTERNAL "") | ||
endif() | ||
endif() | ||
|
||
if(NOT TARGET tbb) | ||
find_package(TBB QUIET) | ||
|
||
if(TBB_FOUND) | ||
message(STATUS "Found TBB: Using system TBB") | ||
else() | ||
message(STATUS "TBB not found: Using CPM to fetch TBB") | ||
CPMAddPackage( | ||
NAME tbb | ||
GIT_REPOSITORY https://github.com/oneapi-src/oneTBB.git | ||
GIT_TAG v2021.11.0 | ||
OPTIONS | ||
"TBB_TEST OFF" | ||
"TBB_STRICT OFF" | ||
) | ||
endif() | ||
endif() | ||
|
||
endfunction() |
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
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
Oops, something went wrong.