-
Notifications
You must be signed in to change notification settings - Fork 189
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
CMake: Default with_scafacos = off, since it requries ELECTROSTATICS #2417
Conversation
Codecov Report
@@ Coverage Diff @@
## python #2417 +/- ##
=======================================
+ Coverage 72% 72% +<1%
=======================================
Files 393 393
Lines 18483 18483
=======================================
+ Hits 13411 13432 +21
+ Misses 5072 5051 -21
Continue to review full report at Codecov.
|
…esso into scafacos_default
@@ -84,7 +84,7 @@ if [[ ! -z ${with_coverage+x} ]]; then | |||
bash <(curl -s https://codecov.io/env) &> /dev/null; | |||
fi | |||
|
|||
cmake_params="-DCMAKE_BUILD_TYPE=$build_type -DPYTHON_EXECUTABLE=$(which python$python_version) -DWARNINGS_ARE_ERRORS=ON -DTEST_NP:INT=$check_procs $cmake_params" | |||
cmake_params="-DCMAKE_BUILD_TYPE=$build_type -DPYTHON_EXECUTABLE=$(which python$python_version) -DWARNINGS_ARE_ERRORS=ON -DTEST_NP:INT=$check_procs $cmake_params -DWITH_SCAFACOS=ON" |
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 don't think you can do -DWITH_SCAFACOS=ON
in the build script for all builds as there are containers where there is now scafacos; on these the build should fail now.
On Sun, Jan 06, 2019 at 11:51:26PM -0800, Florian Weik wrote:
fweik requested changes on this pull request.
> @@ -84,7 +84,7 @@ if [[ ! -z ${with_coverage+x} ]]; then
bash <(curl -s https://codecov.io/env) &> /dev/null;
fi
-cmake_params="-DCMAKE_BUILD_TYPE=$build_type -DPYTHON_EXECUTABLE=$(which python$python_version) -DWARNINGS_ARE_ERRORS=ON -DTEST_NP:INT=$check_procs $cmake_params"
+cmake_params="-DCMAKE_BUILD_TYPE=$build_type -DPYTHON_EXECUTABLE=$(which python$python_version) -DWARNINGS_ARE_ERRORS=ON -DTEST_NP:INT=$check_procs $cmake_params -DWITH_SCAFACOS=ON"
I don't think you can do `-DWITH_SCAFACOS=ON` in the build script for all builds as there are containers where there is now scafacos; on these the build should fail now.
Just like WITH_CUDA, the switch enables the detection, not the
actual use.
|
Fine with me, the main point was to avoid the build failures. |
CMake: Default with_scafacos = off, since it requries ELECTROSTATICS
Fixes #2414.
@fweik