Skip to content

Commit

Permalink
linux arm64 debug
Browse files Browse the repository at this point in the history
  • Loading branch information
akvlad committed Jan 2, 2025
1 parent e69a946 commit e503662
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chsql/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ set(TARGET_NAME chsql)

project(${TARGET_NAME})

if(DUCKDB_EXPLICIT_PLATFORM MATCHES "linux_arm64")
if(CMAKE_SYSTEM_PROCESSOR MATCHES "aarch64")
set(ARCH_FLAGS "-march=armv8-a")
endif()

Expand All @@ -17,7 +17,7 @@ ExternalProject_Add(clickhouse_cpp_external
CMAKE_ARGS
-DCMAKE_OSX_ARCHITECTURES=${CMAKE_OSX_ARCHITECTURES}
-DCMAKE_OSX_DEPLOYMENT_TARGET=${CMAKE_OSX_DEPLOYMENT_TARGET}
-DCMAKE_CXX_FLAGS=-fPIC ${ARCH_FLAGS}
"-DCMAKE_CXX_FLAGS=-fPIC ${ARCH_FLAGS}"
-DCMAKE_C_FLAGS=${ARCH_FLAGS}
INSTALL_COMMAND "" # Skip install step
BUILD_BYPRODUCTS
Expand Down

0 comments on commit e503662

Please sign in to comment.