fix(Makefile): concrete-optimizer, rm target dir from dependencies

This commit is contained in:
rudy
2022-05-09 11:02:22 +02:00
committed by rudy-6-4
parent 1b70a38754
commit 61052a237b

View File

@@ -75,7 +75,7 @@ $(CONCRETE_OPTIMIZER_DIR):
mkdir -p $(shell dirname ${CONCRETE_OPTIMIZER_DIR})
git clone --branch $(CONCRETE_OPTIMIZER_BRANCH) git@github.com:zama-ai/concrete-optimizer.git $@
CONCRETE_OPTIMIZER_SRC := $(shell find $(CONCRETE_OPTIMIZER_DIR) -name '*.rs')
CONCRETE_OPTIMIZER_SRC := $(shell find $(CONCRETE_OPTIMIZER_DIR) -not -path '$(CONCRETE_OPTIMIZER_DIR)/target*')
# Build concrete-optimizer
$(CONCRETE_OPTIMIZER_DIR)/target/libconcrete_optimizer.a: $(CONCRETE_OPTIMIZER_DIR) $(CONCRETE_OPTIMIZER_SRC)