-
Notifications
You must be signed in to change notification settings - Fork 212
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4505 from ESMCI/fix_docker
Fixes failing tests failing due to E3SM cmake update. Test suite: Test baseline: Test namelist changes: Test status: [bit for bit, roundoff, climate changing] Fixes [CIME Github issue #] User interface changes?: Update gh-pages html (Y/N)?:
- Loading branch information
Showing
2 changed files
with
12 additions
and
6 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 |
---|---|---|
@@ -1,9 +1,15 @@ | ||
string(APPEND CXXFLAGS " -std=c++14") | ||
string(APPEND CXX_LIBS " -lstdc++") | ||
string(APPEND FFLAGS " -I/opt/conda/include") | ||
|
||
# DEBUGGING variables | ||
# get_cmake_property(_variableNames VARIABLES) | ||
# foreach (_variableName ${_variableNames}) | ||
# message("${_variableName}=${${_variableName}}") | ||
# endforeach() | ||
# message( FATAL_ERROR "EXIT") | ||
|
||
# required for grid generation tests that use make | ||
if (CMAKE_SOURCE_DIR MATCHES "^.*TestGridGeneration.*$") | ||
string(APPEND FFLAGS " -I/opt/conda/include") | ||
string(APPEND SLIBS " -L/opt/conda/lib -lnetcdf -lnetcdff") | ||
set(MPI_PATH "/opt/conda") | ||
if (CMAKE_Fortran_COMPILER_VERSION VERSION_GREATER_EQUAL 10) | ||
string(APPEND FFLAGS " -fallow-argument-mismatch -fallow-invalid-boz ") | ||
endif() |