-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add double quotes to prevent configure failures when toggling potenti…
…ally empty OpenMP variables
- Loading branch information
1 parent
bd0c69e
commit 75ed2e7
Showing
9 changed files
with
18 additions
and
18 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
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
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 |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
# author Kelly Thompson <[email protected]> | ||
# date Wednesday, May 26, 2021, 14:12 pm | ||
# brief Establish flags for Unix - Intel OneAPI Fortran (ifx) | ||
# note Copyright (C) 2021-2022 Triad National Security, LLC., All rights reserved. | ||
# note Copyright (C) 2021-2023 Triad National Security, LLC., All rights reserved. | ||
# ------------------------------------------------------------------------------------------------ # | ||
|
||
# | ||
|
@@ -46,7 +46,7 @@ deduplicate_flags(CMAKE_Fortran_FLAGS) | |
if(NOT ${SITENAME} STREQUAL "Trinitite") | ||
toggle_compiler_flag(ENABLE_SSE "-mia32 -axSSSE3" "Fortran" "") # sse3, ssse3 | ||
endif() | ||
toggle_compiler_flag(OpenMP_FOUND ${OpenMP_Fortran_FLAGS} "Fortran" "") | ||
toggle_compiler_flag(OpenMP_FOUND "${OpenMP_Fortran_FLAGS}" "Fortran" "") | ||
force_compiler_flags_to_cache("Fortran") | ||
|
||
# ------------------------------------------------------------------------------------------------ # | ||
|
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 |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
# author Kelly Thompson <[email protected]> | ||
# date Wednesday, May 26, 2021, 13:44 pm | ||
# brief Establish flags for Linux64 - Intel C++ (LLVM) | ||
# note Copyright (C) 2021-2022 Triad National Security, LLC., All rights reserved. | ||
# note Copyright (C) 2021-2023 Triad National Security, LLC., All rights reserved. | ||
# ------------------------------------------------------------------------------------------------ # | ||
|
||
# cmake-lint: disable=C0301 | ||
|
@@ -57,7 +57,7 @@ if(NOT CMAKE_CXX_COMPILER_WRAPPER STREQUAL CrayPrgEnv AND NOT IS_DIRECTORY "/ccs | |
set(HAS_XHOST TRUE) | ||
toggle_compiler_flag(HAS_XHOST "-xHost" "C;CXX" "") | ||
endif() | ||
toggle_compiler_flag(OpenMP_FOUND ${OpenMP_C_FLAGS} "C;CXX" "") | ||
toggle_compiler_flag(OpenMP_FOUND "${OpenMP_C_FLAGS}" "C;CXX" "") | ||
force_compiler_flags_to_cache("C;CXX") | ||
|
||
# ------------------------------------------------------------------------------------------------ # | ||
|
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