mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-09 12:15:09 -05:00
fix(compiler): Makefile: Invoke CMake for each Python target separately
The Makefile target `python-bindings` invokes CMake with multiple targets specified after the `--target` commandline option. However, as per the CMake manpage, only one target may be specified at once. This changes the single invocation of CMake to separate invocations for each target. Tested with CMake version 3.13.4.
This commit is contained in:
committed by
Quentin Bourgerie
parent
527887bbf9
commit
e7b2582639
@@ -26,7 +26,8 @@ zamacompiler: build-initialized
|
||||
cmake --build $(BUILD_DIR) --target zamacompiler
|
||||
|
||||
python-bindings: build-initialized
|
||||
cmake --build $(BUILD_DIR) --target ZamalangMLIRPythonModules ZamalangPythonModules
|
||||
cmake --build $(BUILD_DIR) --target ZamalangMLIRPythonModules
|
||||
cmake --build $(BUILD_DIR) --target ZamalangPythonModules
|
||||
|
||||
test-check: zamacompiler file-check not
|
||||
$(BUILD_DIR)/bin/llvm-lit -v tests/
|
||||
|
||||
Reference in New Issue
Block a user