Skip to content

Commit

Permalink
Merge pull request #11 from JCSDA-internal/feature/casper-toolchain
Browse files Browse the repository at this point in the history
cmake toolchain for NCAR host casper
  • Loading branch information
Mark Miesch authored Jul 20, 2021
2 parents 2150b19 + b2f0d30 commit 6964d1f
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions cmake/Toolchains/jcsda-Casper-Intel.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
####################################################################
# Compiler flags
####################################################################

set( CMAKE_CXX_FLAGS "-gxx-name=/glade/u/apps/dav/opt/gnu/9.1.0/bin/g++" CACHE STRING "gnu headers for c++14" FORCE )
set( CMAKE_EXE_LINKER_FLAGS "-gxx-name=/glade/u/apps/dav/opt/gnu/9.1.0/bin/g++ -Wl,-rpath,/glade/u/apps/dav/opt/gnu/9.1.0/lib64" CACHE STRING "gnu headers for c++14" FORCE )
set( CMAKE_SHARED_LINKER_FLAGS "-gxx-name=/glade/u/apps/dav/opt/gnu/9.1.0/bin/g++ -Wl,-rpath,/glade/u/apps/dav/opt/gnu/9.1.0/lib64" CACHE STRING "gnu headers for c++14" FORCE )

####################################################################
# Options
####################################################################

set( ENABLE_AEC OFF CACHE STRING "Disable AEC" FORCE )

####################################################################
# FYPP preprocessor (line numbering warning)
####################################################################

set( FYPP_NO_LINE_NUMBERING ON CACHE STRING "Disable FYPP line numbering" FORCE )

0 comments on commit 6964d1f

Please sign in to comment.