Skip to content

Commit

Permalink
Set ExternalProject_Add to point to the correct repository and added …
Browse files Browse the repository at this point in the history
…FFLAGS
  • Loading branch information
makepath-alex committed Feb 4, 2025
1 parent 0b84f68 commit c26fcc3
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,13 @@ endif()

include(ExternalProject REQUIRED)

set(FFLAGS "-ffree-line-length-none -m64 -std=f2008 -march=native -fbounds-check -fmodule-private -fimplicit-none -finit-real=nan")

ExternalProject_Add(
rte-rrtmgp
# For development only
GIT_REPOSITORY https://github.com/makepath-alex/rte-rrtmgp.git
GIT_TAG use-cbool-dev
GIT_REPOSITORY https://github.com/earth-system-radiation/rte-rrtmgp.git
GIT_TAG main
GIT_SHALLOW TRUE
SOURCE_DIR ${CMAKE_CURRENT_BINARY_DIR}/rte-rrtmgp
CMAKE_ARGS
Expand All @@ -47,7 +49,7 @@ ExternalProject_Add(
-DKERNEL_MODE=default
-DBUILD_TESTING=OFF
-DFAILURE_THRESHOLD=7.e-4
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_BUILD_TYPE=Debug
-DCMAKE_INSTALL_PREFIX=${CMAKE_CURRENT_BINARY_DIR}/rte-rrtmgp/
BUILD_IN_SOURCE TRUE
BUILD_COMMAND ${CMAKE_COMMAND} --build . --target all --parallel
Expand Down

0 comments on commit c26fcc3

Please sign in to comment.