-
Notifications
You must be signed in to change notification settings - Fork 13
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 #321 from LLNL/release/v0.28
Release/v0.28
- Loading branch information
Showing
74 changed files
with
4,079 additions
and
2,330 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Checks if the C++17 <filesystem> library is available. | ||
function(check_cxx_filesystem_library) | ||
|
||
set(FOUND_CXX17_FILESYSTEM_LIB FALSE PARENT_SCOPE) | ||
set(REQUIRE_LIB_STDCXX_FS FALSE PARENT_SCOPE) | ||
|
||
# Check if C++17 <filesystem> header files are available | ||
# If not, uses our own implementation. | ||
include(CheckIncludeFileCXX) | ||
CHECK_INCLUDE_FILE_CXX(filesystem FOUND_FILESYSTEM_HEADER) | ||
if (NOT FOUND_FILESYSTEM_HEADER) | ||
message(FATAL_ERROR "Cannot find the C++17 <filesystem> library.") | ||
endif () | ||
|
||
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang") # Clang or AppleClang | ||
if (${CMAKE_HOST_SYSTEM_NAME} MATCHES "Darwin") # macOS | ||
include(get_macos_version) | ||
get_macos_version() # Get macOS version | ||
message(VERBOSE "Detected macOS version ${MACOS_VERSION}") | ||
if (MACOS_VERSION VERSION_LESS 10.15) # macOS < 10.15 | ||
message(FATAL_ERROR "macOS >= 10.15 is required to use the C++17 <filesystem> library.") | ||
endif () | ||
endif () | ||
endif () | ||
endfunction() |
This file was deleted.
Oops, something went wrong.
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,4 +1,4 @@ | ||
if (MPI_CXX_FOUND) | ||
if (NOT MPI_CXX_FOUND) | ||
find_package(MPI) | ||
endif () | ||
|
||
|
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
Oops, something went wrong.