| 1 |
Descriptionscip-debian debian openmm 8.1.2+dfsg-12 openmm/patches/`disable-jit-on-armel-armhf.patch`#Description.: Disable Lepton-JIT integration on armel and armhf as binaries |
| 2 |
built with it run into segmentation faults. This is discussed in more |
| 3 |
detail in #992180 and may be caused by lack of support for armel and |
| 4 |
armhf in JIT (see #1049872). |
| 5 |
Authorscip-debian debian openmm 8.1.2+dfsg-12 openmm/patches/`disable-jit-on-armel-armhf.patch`#Author.: Andrius Merkys <[email protected]scip-debian . . . identity/`[email protected]`.> |
| 6 |
--- a/CMakeLists.txtscip-debian debian openmm 8.1.2+dfsg-12 openmm/upstream/`CMakeLists.txt`: |
| 7 |
+++ b/CMakeLists.txtscip-debian debian openmm 8.1.2+dfsg-12 openmm/upstream/`CMakeLists.txt`: |
| 8 |
@@ -251,7 +251,9 @@ |
| 9 |
SET(SOURCE_FILES ${SOURCE_FILES} ${src_files}) |
| 10 |
SET(SOURCE_INCLUDE_FILES ${SOURCE_INCLUDE_FILES} ${incl_files}) |
| 11 |
INCLUDE_DIRECTORIES(BEFORE "${CMAKE_CURRENT_SOURCE_DIR}/libraries/asmjit") |
| 12 |
|
| 13 |
+ IF(NOT "${TARGET_ARCH}" MATCHES "arm" OR "${TARGET_ARCH}" MATCHES "armv8") |
| 14 |
+ SET(EXTRA_COMPILE_FLAGS "${EXTRA_COMPILE_FLAGS} -DLEPTON_USE_JIT") |
| 15 |
+ ENDIF() |
| 16 |
ENDIF() |
| 17 |
|
| 18 |
# If API wrappers are being generated, and add them to the build. |