Skip to content

Conversation

xobs
Copy link
Contributor

@xobs xobs commented Feb 25, 2023

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

UNAME_OUT="$(uname -s)"
case "${UNAME_OUT}" in
Linux*) OS=Linux;;
<<<<<<< Updated upstream
Copy link
Contributor

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?

Copy link
Contributor Author

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.

xobs added 2 commits February 26, 2023 09:24
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]>
@proppy
Copy link
Contributor

proppy commented Apr 6, 2023

@xobs sorry for dropping this, do you still want to get that in?

@xobs
Copy link
Contributor Author

xobs commented Apr 6, 2023

In the intervening time, the openlane patches were merged upstream: The-OpenROAD-Project/OpenLane@45980c8

So we can just drop dbd35f2 from the patchset.

@xobs xobs force-pushed the openlane-macos branch from dbd35f2 to 2771625 Compare April 6, 2023 09:14
@xobs
Copy link
Contributor Author

xobs commented Apr 6, 2023

...I've removed that patch from the patchset.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants