From 1f93679c4815ad7f58d9082218b06c462d4e45c3 Mon Sep 17 00:00:00 2001 From: Carlo Piovesan Date: Fri, 15 Nov 2024 16:03:14 +0100 Subject: [PATCH] Fixup invocation --- makefiles/c_api_extensions/c_cpp.Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/makefiles/c_api_extensions/c_cpp.Makefile b/makefiles/c_api_extensions/c_cpp.Makefile index 95f4aaf..706a48c 100644 --- a/makefiles/c_api_extensions/c_cpp.Makefile +++ b/makefiles/c_api_extensions/c_cpp.Makefile @@ -91,14 +91,14 @@ endif build_extension_library_debug: check_configure $(CMAKE_WRAPPER) cmake $(CMAKE_BUILD_FLAGS) -DCMAKE_BUILD_TYPE=Debug -S $(PROJ_DIR) -B cmake_build/debug $(EXTRA_CMAKE_FLAGS) - cmake --build cmake_build/debug + make -C cmake_build/debug $(EXTRA_COPY_STEP_DEBUG) $(PYTHON_VENV_BIN) -c "from pathlib import Path;Path('./build/$(DUCKDB_WASM_PLATFORM)/debug/extension/$(EXTENSION_NAME)').mkdir(parents=True, exist_ok=True)" $(PYTHON_VENV_BIN) -c "import shutil;shutil.copyfile('$(OUTPUT_LIB_PATH_DEBUG)', 'build/$(DUCKDB_WASM_PLATFORM)/debug/$(EXTENSION_LIB_FILENAME)')" build_extension_library_release: check_configure $(CMAKE_WRAPPER) cmake $(CMAKE_BUILD_FLAGS) -DCMAKE_BUILD_TYPE=Release -S $(PROJ_DIR) -B cmake_build/release $(EXTRA_CMAKE_FLAGS) - make -j8 -C cmake_build/release + make -C cmake_build/release $(EXTRA_COPY_STEP_RELEASE) $(PYTHON_VENV_BIN) -c "from pathlib import Path;Path('./build/$(DUCKDB_WASM_PLATFORM)/release/extension/$(EXTENSION_NAME)').mkdir(parents=True, exist_ok=True)" $(PYTHON_VENV_BIN) -c "import shutil;shutil.copyfile('$(OUTPUT_LIB_PATH_RELEASE)', 'build/$(DUCKDB_WASM_PLATFORM)/release/$(EXTENSION_LIB_FILENAME)')"