Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
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
4 changes: 4 additions & 0 deletions cmake/Modules/FindIFEMDeps.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -276,13 +276,17 @@ endif()

include(CheckCXXCompilerFlag)
check_cxx_compiler_flag(-Wall HAS_WALL)
check_cxx_compiler_flag(-Wextra HAS_WEXTRA)
check_cxx_compiler_flag(-Wno-parentheses HAS_PARENTHESES)
if(HAS_WALL)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall")
endif()
if(HAS_PARENTHESES)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-parentheses")
endif()
if(HAS_WEXTRA)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wextra -Wno-unused-parameter")
endif()

set(IFEM_REGTEST_SCRIPT ${IFEM_PATH}/Apps/Common/scripts/regtest.sh.in)
set(IFEM_CLANG_CHECK_TEST_SCRIPT ${IFEM_PATH}/Apps/Common/scripts/clang-check-test.sh.in)
Expand Down
2 changes: 1 addition & 1 deletion jenkins/build-ifem-module.sh
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ function build_module {
cmake $3 -DCMAKE_BUILD_TYPE=Release $1
test $? -eq 0 || exit 1
# Threaded build
nproc=`nproc`
nproc=1 #`nproc`
if test $2 -eq 1
then
cmake --build . --target testapps -- -j$nproc
Expand Down