Skip to content

Commit b773bf4

Browse files
committed
Merge branch 'deterministic-build' into 'master'
[guix] Deterministic builds See merge request ogs/ogs!4820
2 parents e8da4a3 + 2444e92 commit b773bf4

File tree

5 files changed

+6
-9
lines changed

5 files changed

+6
-9
lines changed

MaterialLib/SolidModels/MFront/CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ if(NOT GUIX_BUILD)
2626
install(TARGETS MFrontGenericInterface)
2727
endif()
2828

29-
3029
# Setup / build mfront behaviours lib
3130
set(_mfront_behaviours
3231
BDT
@@ -69,7 +68,7 @@ if((OGS_BUILD_WHEEL AND NOT APPLE_ARM) OR GUIX_BUILD)
6968
--interface=generic --silent-build=true # suppresses output
7069
# (compiler warnings), does
7170
# not work?
72-
--obuild ${_mfront_behaviour_files} # TODO: check for debug?
71+
--obuild=level0 ${_mfront_behaviour_files} # TODO: check for debug?
7372
COMMAND ${CMAKE_COMMAND} -E copy_if_different ${_generated_mfront_lib}
7473
${_copied_mfront_lib}
7574
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}

scripts/cmake/CMakeSetup.cmake

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,6 @@ list(
3333

3434
# Load additional modules
3535
include(GNUInstallDirs)
36-
include(ProcessorCount)
37-
ProcessorCount(NUM_PROCESSORS)
38-
set(NUM_PROCESSORS ${NUM_PROCESSORS} CACHE STRING "Processor count")
3936

4037
if(NOT PROJECT_IS_TOP_LEVEL)
4138
set(OGS_BUILD_CLI OFF CACHE BOOL "" FORCE)

scripts/cmake/MarkVariablesAdvanced.cmake

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,7 @@ mark_as_advanced(
2222
METIS_LIBRARY
2323
MODULE_CMD
2424
MPIRUN_TOOL_PATH
25-
NUM_PROCESSORS
2625
ParaView_DIR
27-
ProcessorCount_cmd_sysctl
2826
Qt5Core_DIR
2927
Qt5Gui_DIR
3028
Qt5Network_DIR

scripts/cmake/packaging/Pack.cmake

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,9 @@ endif()
8787
configure_file(Documentation/README.txt.in ${PROJECT_BINARY_DIR}/README.txt)
8888
install(FILES ${PROJECT_BINARY_DIR}/README.txt DESTINATION .)
8989

90-
install(FILES ${PROJECT_BINARY_DIR}/CMakeCache.txt TYPE INFO)
90+
if(NOT GUIX_BUILD)
91+
# May contain machine specific content, e.g. MPIEXEC_MAX_NUMPROCS
92+
install(FILES ${PROJECT_BINARY_DIR}/CMakeCache.txt TYPE INFO)
93+
endif()
9194
install(FILES ${PROJECT_BINARY_DIR}/cmake_args TYPE INFO OPTIONAL)
9295
install(FILES ${PROJECT_BINARY_DIR}/third_party_licenses.txt TYPE INFO)

scripts/guix/channels.scm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
(name 'guix-ogs)
33
(url "https://gitlab.opengeosys.org/ogs/inf/guix-ogs.git")
44
(branch "master")
5-
(commit "95b4189b8fe00e176f57f834d0731c7f25e8c9f0"))
5+
(commit "6b51c1b7216ec1fbd6231720434c3b307bec2c0b"))
66
(channel
77
(name 'guix)
88
(url "https://git.savannah.gnu.org/git/guix.git")

0 commit comments

Comments
 (0)