-
Notifications
You must be signed in to change notification settings - Fork 26
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
Add support for yosys and iverilog on osx arm64 #293
base: master
Are you sure you want to change the base?
Conversation
There are several bugs in `abc` that cause it to cast `unsigned` to `int`. The Conda version of clang doesn't like this, and generates an error. The default yosys build for clang adds this argument, however the conda-eda version of the Makefile was missing it. This fixes builds on arm64. Signed-off-by: Sean Cross <[email protected]>
Previously, yosys on osx was using clang 4.0. However, 12.0 and 14.0 are the only versions of clang available to conda on arm64. Use the latest version. This is available for both x64 and arm64. Signed-off-by: Sean Cross <[email protected]>
There are two changes that are necessary to get arm64 compatibility working on osx: 1. The configure script needs to be regenerated, and 2. The clang version needs to be bumped. A new configure script has been submitted for inclusion upstream. Patch the existing one while we wait for it to get merged. Signed-off-by: Sean Cross <[email protected]>
cc @proppy |
@PiotrZierhoffer @ajelinski do we have some CI environment for osx/arm64? |
@proppy @xobs only GitHub runners, vide https://github.com/hdl/conda-eda/blob/master/.github/workflows/Build.yml#L335-L342 |
Yes, that's x64 not arm64. The magical incantation to switch to arm64 is |
This adds support for building these packages on arm64 versions of macos.
Note that the biggest change is the clang compiler -- only clang 12 and clang 14 are available in conda, so I picked the latest available version.