Skip to content

Commit

Permalink
Merge branch 'develop' into feature/tagging
Browse files Browse the repository at this point in the history
  • Loading branch information
pearce8 authored Feb 6, 2024
2 parents 8b56a20 + 292adb8 commit 1084a54
Show file tree
Hide file tree
Showing 5 changed files with 893 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/bin/license
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ licensed_files = [
r"^configs\/[^\/]*\/[^\/]*",
r"^docs\/[^\/]*\.rst$",
r"^experiments\/[^\/]*\/[^\/]*",
r"^repo\/[^\/]*\/[^\/]*",
r"^repo\/[^\/]*\/[^\/]*(?<!\.patch)$",
]


Expand Down
12 changes: 12 additions & 0 deletions repo/gromacs/gmxDetectCpu-cmake-3.14.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
--- a/cmake/gmxDetectCpu.cmake
+++ b/cmake/gmxDetectCpu.cmake
@@ -83,7 +83,7 @@ function(gmx_run_cpu_detection TYPE)
set(GCC_INLINE_ASM_DEFINE "-DGMX_X86_GCC_INLINE_ASM=0")
endif()

- set(_compile_definitions "${GCC_INLINE_ASM_DEFINE} -I${PROJECT_SOURCE_DIR}/src -DGMX_CPUINFO_STANDALONE ${GMX_STDLIB_CXX_FLAGS} -DGMX_TARGET_X86=${GMX_TARGET_X86_VALUE}")
+ set(_compile_definitions ${GCC_INLINE_ASM_DEFINE} -I${PROJECT_SOURCE_DIR}/src -DGMX_CPUINFO_STANDALONE ${GMX_STDLIB_CXX_FLAGS} -DGMX_TARGET_X86=${GMX_TARGET_X86_VALUE})
set(LINK_LIBRARIES "${GMX_STDLIB_LIBRARIES}")
try_compile(CPU_DETECTION_COMPILED
"${PROJECT_BINARY_DIR}"

11 changes: 11 additions & 0 deletions repo/gromacs/gmxDetectSimd-cmake-3.14.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- a/cmake/gmxDetectSimd.cmake
+++ b/cmake/gmxDetectSimd.cmake
@@ -77,7 +77,7 @@ function(gmx_suggest_simd _suggested_simd)
else()
set(GMX_TARGET_X86_VALUE 0)
endif()
- set(_compile_definitions "${GCC_INLINE_ASM_DEFINE} -I${CMAKE_SOURCE_DIR}/src -DGMX_CPUINFO_STANDALONE ${GMX_STDLIB_CXX_FLAGS} -DGMX_TARGET_X86=${GMX_TARGET_X86_VALUE}")
+ set(_compile_definitions ${GCC_INLINE_ASM_DEFINE} -I${CMAKE_SOURCE_DIR}/src -DGMX_CPUINFO_STANDALONE ${GMX_STDLIB_CXX_FLAGS} -DGMX_TARGET_X86=${GMX_TARGET_X86_VALUE})

# Prepare a default suggestion
set(OUTPUT_SIMD "None")
Loading

0 comments on commit 1084a54

Please sign in to comment.