mirror of https://github.com/efabless/caravel.git
Merge pull request #35 from kareefardi/pdk-non-root-install
avoid building the pdk with docker as root user
This commit is contained in:
commit
ff403f5d9b
5
Makefile
5
Makefile
|
@ -1260,7 +1260,10 @@ build-pdk: check-env $(PDK_ROOT)/open_pdks $(PDK_ROOT)/skywater-pdk
|
||||||
true
|
true
|
||||||
docker run --rm\
|
docker run --rm\
|
||||||
-v $(PDK_ROOT):$(PDK_ROOT)\
|
-v $(PDK_ROOT):$(PDK_ROOT)\
|
||||||
-e $(PDK_ROOT)\
|
-e PDK_ROOT=$(PDK_ROOT)\
|
||||||
|
-e GIT_COMMITTER_NAME="caravel"\
|
||||||
|
-e GIT_COMMITTER_EMAIL="caravel@caravel.caravel"\
|
||||||
|
-u $$(id -u $(USER)):$$(id -g $(USER)) \
|
||||||
efabless/openlane-tools:magic-$(PDK_MAGIC_COMMIT)-centos-7\
|
efabless/openlane-tools:magic-$(PDK_MAGIC_COMMIT)-centos-7\
|
||||||
sh -c "\
|
sh -c "\
|
||||||
cd $(PDK_ROOT)/open_pdks && \
|
cd $(PDK_ROOT)/open_pdks && \
|
||||||
|
|
Loading…
Reference in New Issue