Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build: update setuptools config and CI #241

Merged
merged 21 commits into from
Jun 13, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
setup: better check if openmp was used
MuellerSeb committed May 27, 2022
commit aeb7757e56a75b7998c7f0240d2e3b1ff7691317
5 changes: 2 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
@@ -19,9 +19,8 @@
]
# you can set GSTOOLS_BUILD_PARALLEL=0 or GSTOOLS_BUILD_PARALLEL=1
if int(os.getenv("GSTOOLS_BUILD_PARALLEL", "0")):
for mod in CY_MODULES:
openmp_flags_added = add_openmp_flags_if_available(mod)
print(f"## GSTools setup: OpenMP found: {openmp_flags_added}")
added = [add_openmp_flags_if_available(mod) for mod in CY_MODULES]
print(f"## GSTools setup: OpenMP used: {any(added)}")
else:
print("## GSTools setup: OpenMP not wanted by the user.")