-
Notifications
You must be signed in to change notification settings - Fork 61
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
re-introduce updated CSCS CI #2402
Conversation
cscs-ci run default |
Don't worry too much about Spack, something is wrong with their infrastructure...
|
cscs-ci run |
1 similar comment
cscs-ci run |
cscs-ci run default |
1 similar comment
cscs-ci run default |
CMakeLists.txt
Outdated
@@ -323,6 +323,7 @@ if (ARB_WITH_PYTHON) | |||
endif() | |||
|
|||
CPMAddPackage(NAME pugixml | |||
FORCE TRUE |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is that needed? Could pugi be provided by the OS/base layer?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I reintroduced the system package, if available. Changed the install method for pyarb to use rpaths, however, for it to find pugixml.so when linked with a spack installed version, for example.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks 🎉
@@ -49,10 +49,20 @@ set_target_properties(pyarb PROPERTIES OUTPUT_NAME _arbor) | |||
# arbor.cpython-36m-x86_64-linux-gnu.so | |||
set_target_properties(pyarb PROPERTIES PREFIX "${PYTHON_MODULE_PREFIX}" SUFFIX "${PYTHON_MODULE_EXTENSION}") | |||
|
|||
# Set RPATH for the installation phase | |||
if(APPLE) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am fine with that solution, although I was originally thinking about using
it in header-only mode still. Nothing that can't be change later, though, if
needed.
unit tests and examples now run again on CSCS premises:
The distributed tests are not enabled as of now (due to current problems with the gitlab runners). Once this is fixed, I will add another PR to enable them.
The tests run automatically for every PR to master, but only for whitelisted users. Manual trigger: make a comment with the content
cscs-ci run default
.Other changes: