Skip to content

Generalize param mapping and allow setting arbitrary metadata in statistics-mtg2 action #104

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: feature/statistics-mtg2
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ ecbuild_add_option( FEATURE MULTIO_CLIENT_MEMORY_PROFILE
DESCRIPTION "Enable multio client memory profiling" )

### export package info
set( MULTIO_SHARE_DIR share )
set( MULTIO_CONFIG_DIR share/multio/config )
set( MULTIOM_CONFIG_DIR share/multiom )
set( MULTIO_INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/src ${CMAKE_CURRENT_BINARY_DIR}/src )
Expand Down
3 changes: 3 additions & 0 deletions share/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
file(MAKE_DIRECTORY "${CMAKE_BINARY_DIR}/share/multio")
add_subdirectory( multio )

file(MAKE_DIRECTORY "${CMAKE_BINARY_DIR}/share/multiom")
add_subdirectory( multiom )
2 changes: 2 additions & 0 deletions share/multio/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
file(MAKE_DIRECTORY "${CMAKE_BINARY_DIR}/share/multio/statistics-mtg2")
add_subdirectory( statistics-mtg2 )
11 changes: 11 additions & 0 deletions share/multio/statistics-mtg2/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
configure_file(
${CMAKE_CURRENT_SOURCE_DIR}/statistics_param_mappings.yml
${CMAKE_CURRENT_BINARY_DIR}/statistics_param_mappings.yml
COPYONLY
)

install(
FILES statistics_param_mappings.yml
DESTINATION ${MULTIO_SHARE_DIR}/multio/statistics-mtg2
PERMISSIONS OWNER_WRITE OWNER_READ GROUP_READ WORLD_READ
)
Loading
Loading