-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
misc/openlane: patch sed to be cross-platform #305
base: master
Are you sure you want to change the base?
Conversation
misc/openlane/build.sh
Outdated
@@ -20,14 +20,24 @@ set -ex | |||
UNAME_OUT="$(uname -s)" | |||
case "${UNAME_OUT}" in | |||
Linux*) OS=Linux;; | |||
<<<<<<< Updated upstream |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
did you meant to commit this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did not! I didn't realize that the upstream changed to use cp
rather than git
. This makes the patch a bit easier, thanks.
Signed-off-by: Sean Cross <[email protected]>
Add support for klayout to build on macos. This involves some rather egregeous hacks to the Qt build system to work around the fact that Conda builds things using a custom Mac SDK. Signed-off-by: Sean Cross <[email protected]>
@xobs sorry for dropping this, do you still want to get that in? |
In the intervening time, the openlane patches were merged upstream: The-OpenROAD-Project/OpenLane@45980c8 So we can just drop dbd35f2 from the patchset. |
...I've removed that patch from the patchset. |
sed on BSD and GNU have different behaviour when it comes to the -i flag. They behave the same when a backup file is specified, but differently when no backup is specified.
Rework all invocations in order to get this working on osx.
There is a pending upstream patch: The-OpenROAD-Project/OpenLane#1668