Merge pull request #35 from kareefardi/pdk-non-root-install

avoid building the pdk with docker as root user
This commit is contained in:
Jeff DiCorpo 2022-02-22 09:17:44 -08:00 committed by GitHub
commit ff403f5d9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -1260,7 +1260,10 @@ build-pdk: check-env $(PDK_ROOT)/open_pdks $(PDK_ROOT)/skywater-pdk
true
docker run --rm\
-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\
sh -c "\
cd $(PDK_ROOT)/open_pdks && \