Skip to content

Commit

Permalink
Attempt at fixing CI for jemalloc static library compile for DuckDB
Browse files Browse the repository at this point in the history
  • Loading branch information
prmoore77 committed Mar 19, 2024
1 parent 1963991 commit 5326758
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,13 @@ target_link_libraries(duckdb
"${DUCKDB_INSTALL_DIR}/lib/libparquet_extension.a"
)

if (UNIX AND NOT APPLE)
# Only link jemalloc_extension on Linux x86_64 and i386 (not arm64)
if (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64")
target_link_libraries(duckdb
INTERFACE
"${DUCKDB_INSTALL_DIR}/lib/libjemalloc_extension.a"
)
endif ()
endif()

# --------------------- JWT-CPP ---------------------

Expand Down

0 comments on commit 5326758

Please sign in to comment.