Skip to content

Commit

Permalink
dill 2024-04-04 (55420dee) (#4136)
Browse files Browse the repository at this point in the history
  • Loading branch information
eisenhauer authored Apr 4, 2024
1 parent 10acb04 commit 451df91
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions thirdparty/dill/dill/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ check_type_size("void*" CMAKE_SIZEOF_VOID_P)
check_type_size("long" SIZEOF_LONG)
set(NATIVE_CG TRUE)
unset(NATIVE_ARCH)
if(CMAKE_SYSTEM_PROCESSOR MATCHES "i.86|x86_64|AMD64")
if(CMAKE_SYSTEM_PROCESSOR MATCHES "i.86|x86_64|AMD64|amd64")
if(CMAKE_SIZEOF_VOID_P EQUAL 8)
set(NATIVE_ARCH x86_64)
set(HOST_X86_64 1)
Expand Down Expand Up @@ -200,7 +200,7 @@ endif()
if(LIBFFI_FOUND)
message(STATUS "Enabling emulation")
set(EMULATION_POSSIBLE TRUE)
elseif(DILL_IGNORE_NATIVE OR (NATIVE_ARCH STREQUAL "UNSUPPORTED"))
elseif((DILL_IGNORE_NATIVE OR (NATIVE_ARCH STREQUAL "UNSUPPORTED")) AND NOT DILL_NATIVE_ONLY)
find_program (AUTOCONF autoconf)
find_program (AUTOMAKE automake)
if ((AUTOCONF STREQUAL "AUTOCONF-NOTFOUND") OR (AUTOMAKE STREQUAL "AUTOMAKE-NOTFOUND"))
Expand Down Expand Up @@ -344,7 +344,6 @@ check_include_files(memory.h HAVE_MEMORY_H)
check_include_files(sys/mman.h HAVE_SYS_MMAN_H)
include(CheckSymbolExists)
check_symbol_exists(__clear_cache "" CLEAR_CACHE_DEFINED)
message(STATUS "Clear cache defined is ${CLEAR_CACHE_DEFINED}")

set(NO_DISASSEMBLER TRUE)
if(DILL_ENABLE_DISASSEMBLY)
Expand Down

0 comments on commit 451df91

Please sign in to comment.