Skip to content

New project setup: export OPENLANE_ROOT does not work #256

Answered by srinivasf1
srinivasf1 asked this question in Q&A
Discussion options

You must be logged in to vote

Figured out the reason.

In Makefile, the env variable for open lane is verified using

.PHONY: openlane openlane: @if [ "$$(realpath $${OPENLANE_ROOT})" = "$$(realpath $$(pwd)/openlane)" ]; then\ echo "OPENLANE_ROOT is set to '$$(pwd)/openlane' which contains openlane config files"; \ echo "Please set it to a different directory"; \ exit 1; \ fi cd openlane && $(MAKE) openlane

Mac does not have realpath. The setup works after installing realpath via homebrew.

Here's stackoverflow solution to getting realpath : https://stackoverflow.com/questions/3572030/bash-script-absolute-path-with-os-x

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@srinivasf1
Comment options

@srinivasf1
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by srinivasf1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants