Skip to content

Commit

Permalink
fix makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
jacques-n committed Oct 14, 2024
1 parent a5693c8 commit dcd77c4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,15 @@ DUCKDB_COMMON_BUILD_FLAGS := BUILD_SHELL=0 BUILD_UNITTESTS=0 DUCKDB_PLATFORM=any
CHECK_DARWIN = if [ "$(shell uname -s | tr '[:upper:]' '[:lower:]')" != "darwin" ]; then echo "Error: must run build on darwin"; false; fi
CHECK_LINUX = if [ "$(shell uname -s | tr '[:upper:]' '[:lower:]')" != "linux" ]; then echo "Error: must run build on linux"; false; fi
MKDIR_COMMAND = mkdir -p deps/$(DEP_NAME)

CORE_COMMAND = \
cd duckdb && \
mkdir build && \
cd build && \
cmake -DBUILD_EXTENSIONS="icu;parquet;tpch;tpcds;json" -DBUILD_ONLY_EXTENSIONS=TRUE .. && \
CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" CC="${CC}" CXX="${CXX}" ${DUCKDB_COMMON_BUILD_FLAGS} make icu_extension tpch_extension tpcds_extension json_extension parquet_extension -j 2 && \
cd ../.. && \
find duckdb/build/ -type f -name '*extension*.a' -exec cp {} deps/$(DEP_NAME) \; && \
find duckdb/build/ -type f -name '*extension*.a' -exec cp {} deps/$(DEP_NAME) \;

SUBSTRAIT_COMMAND = \
cd substrait && \
Expand Down

0 comments on commit dcd77c4

Please sign in to comment.