-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
24 changed files
with
268 additions
and
160 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 |
---|---|---|
|
@@ -4,6 +4,7 @@ on: | |
push: | ||
branches: | ||
- main | ||
workflow_dispatch: | ||
|
||
jobs: | ||
format: | ||
|
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,41 @@ | ||
# MUSICA Configuration Summary | ||
|
||
## General | ||
---------- | ||
MUSICA Version: @musica-distribution_VERSION@ | ||
Configured On: @BUILD_CONFIG_DATE@ | ||
Host System: @CMAKE_SYSTEM_PROCESSOR@-@CMAKE_SYSTEM_NAME@-@CMAKE_SYSTEM_VERSION@ | ||
Build Directory: @CMAKE_BINARY_DIR@ | ||
Install Prefix: @CMAKE_INSTALL_PREFIX@ | ||
|
||
## Compilers and Flags | ||
---------------------- | ||
|
||
C Compiler: @C_COMPILER_NAME_INFO@ | ||
C++ Compiler: @CXX_COMPILER_NAME_INFO@ | ||
Fortran Compiler: @Fortran_COMPILER_NAME_INFO@ | ||
|
||
CFLAGS: @CMAKE_C_FLAGS@ | ||
CXXFLAGS: @CMAKE_CXX_FLAGS@ | ||
Fortran Flags: @CMAKE_Fortran_FLAGS@ | ||
LDFLAGS: @CMAKE_EXE_LINKER_FLAGS@ | ||
|
||
## Parallel I/O | ||
--------------- | ||
|
||
MPI: @MUSICA_ENABLE_MPI@ | ||
OPENMP: @MUSICA_ENABLE_OPENMP@ | ||
|
||
## Interfaces: | ||
-------------- | ||
|
||
CXX Interface: @MUSICA_BUILD_C_CXX_INTERFACE@ | ||
Fortran Interface: @MUSICA_BUILD_FORTRAN_INTERFACE@ | ||
Python Library: @MUSICA_ENABLE_PYTHON_LIBRARY@ | ||
|
||
## Dependencies: | ||
---------------- | ||
|
||
MICM: @MUSICA_ENABLE_MICM_INFO@ | ||
TUV-X: @MUSICA_ENABLE_TUVX_INFO@ | ||
PyBind11: @MUSICA_ENABLE_PYTHON_LIBRARY_INFO@ |
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,51 @@ | ||
# Parse out a few individual variables | ||
string(TIMESTAMP BUILD_CONFIG_DATE "%Y-%m-%d %H:%M:%S") | ||
get_filename_component(C_COMPILER_NAME ${CMAKE_C_COMPILER} NAME) | ||
set(C_COMPILER_NAME_INFO "${C_COMPILER_NAME} (${CMAKE_C_COMPILER_VERSION})") | ||
|
||
if(MUSICA_BUILD_C_CXX_INTERFACE) | ||
get_filename_component(CXX_COMPILER_NAME ${CMAKE_CXX_COMPILER} NAME) | ||
set(CXX_COMPILER_NAME_INFO "${CXX_COMPILER_NAME} (${CMAKE_CXX_COMPILER_VERSION})") | ||
else() | ||
set(CXX_COMPILER_NAME_INFO " ") | ||
endif() | ||
|
||
if(MUSICA_BUILD_FORTRAN_INTERFACE) | ||
get_filename_component(Fortran_COMPILER_NAME ${CMAKE_Fortran_COMPILER} NAME) | ||
set(Fortran_COMPILER_NAME_INFO "${Fortran_COMPILER_NAME}") | ||
if(${CMAKE_Fortran_COMPILER_VERSION}) | ||
set(Fortran_COMPILER_NAME_INFO "${Fortran_COMPILER_NAME_INFO} (${CMAKE_Fortran_COMPILER_VERSION})") | ||
endif() | ||
else() | ||
set(Fortran_COMPILER_NAME " ") | ||
endif() | ||
|
||
if(MUSICA_ENABLE_MICM) | ||
set(MUSICA_ENABLE_MICM_INFO "ON (repo: ${MICM_GIT_REPOSITORY} tag: ${MICM_GIT_TAG})") | ||
else() | ||
set(MUSICA_ENABLE_MICM_INFO "OFF") | ||
endif() | ||
|
||
if(MUSICA_ENABLE_TUVX) | ||
set(MUSICA_ENABLE_TUVX_INFO "ON (repo: ${TUVX_GIT_REPOSITORY} tag: ${TUVX_GIT_TAG})") | ||
else() | ||
set(MUSICA_ENABLE_TUVX_INFO "OFF") | ||
endif() | ||
|
||
if(MUSICA_ENABLE_PYTHON_LIBRARY) | ||
set(MUSICA_ENABLE_PYTHON_LIBRARY_INFO "ON (repo: ${PYBIND11_GIT_REPOSITORY} tag: ${PYBIND11_GIT_TAG})") | ||
else() | ||
set(MUSICA_ENABLE_PYTHON_LIBRARY_INFO "OFF") | ||
endif() | ||
|
||
# Configure musica.settings file | ||
configure_file("${CMAKE_SOURCE_DIR}/cmake/musica.settings.in" | ||
"${CMAKE_BINARY_DIR}/musica.settings" | ||
@ONLY) | ||
|
||
# Read in settings file, print out. | ||
# Avoid using system-specific calls so that this | ||
# might also work on Windows. | ||
file(READ "${CMAKE_BINARY_DIR}/musica.settings" | ||
MUSICA_SETTINGS) | ||
message(STATUS ${MUSICA_SETTINGS}) |
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
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.