mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-08 19:44:57 -05:00
fix: don't assume git environment in Makefile
some environments do only use the code as is, and won't be able to detect the ROOT using git
This commit is contained in:
@@ -4,7 +4,7 @@ CARGO_PROFILE ?= release
|
||||
PROFILE_SUBDIR ?= release
|
||||
|
||||
MAKEFILE_DIR := $(shell dirname $(realpath $(firstword $(MAKEFILE_LIST))))
|
||||
ROOT = $(shell git rev-parse --show-toplevel)
|
||||
ROOT = $(realpath $(MAKEFILE_DIR)/..)
|
||||
CXXBRIDGE_DIR = $(ROOT)/target/cxxbridge/concrete-optimizer-cpp/src
|
||||
|
||||
# In target intermediate files
|
||||
|
||||
Reference in New Issue
Block a user