-
Notifications
You must be signed in to change notification settings - Fork 560
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
[Yosys] init #3435
[Yosys] init #3435
Conversation
Y/Yosys/build_tarballs.jl
Outdated
] | ||
|
||
# Build the tarballs, and possibly a `build.jl` as well. | ||
build_tarballs(ARGS, name, version, sources, script, platforms, products, dependencies; julia_compat="1.6", preferred_gcc_version=v"10") |
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.
GCC 10 is a bit too much, especially for a C++ program
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.
Should I drop that line all together?
hmm the |
Actually we already have ABC, but of course here they use a fork... |
Was about to say. Should we package YosysABC separate? |
Would you be OK with skipping ABC at the moment? At least to see whether it'd succeed without it, they're all choking there |
The diff doesn't look like it should affect, and we can use the in-tree ABC. most (all?) of the yosys ABC changes are related to WASM support: berkeley-abc/abc@master...YosysHQ:yosys-experimental |
Please do whatever experiments you like. I am following along and learning. |
else | ||
CONFIG=gcc | ||
fi | ||
make CONFIG=${CONFIG} PREFIX=${prefix} -j${nproc} |
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.
make CONFIG=${CONFIG} PREFIX=${prefix} -j${nproc} | |
make CONFIG=${CONFIG} PREFIX=${prefix} LINK_ABC=1 -j${nproc} |
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'd like to try
make CONFIG=${CONFIG} PREFIX=${prefix} -j${nproc} | |
make CONFIG=${CONFIG} PREFIX=${prefix} ENABLE_ABC=0 -j${nproc} |
to completely disable ABC, and see what happens, if you're OK
FYI Nix builds with separate ABC. I cribbed from there: https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/compilers/yosys/default.nix |
with 3177fcd I get:
on most all platforms. I am setting |
87b6996
to
277e200
Compare
Co-authored-by: Mosè Giordano <[email protected]>
* [Yosys] init Co-authored-by: Mosè Giordano <[email protected]> * Update Y/Yosys/build_tarballs.jl * Update Y/Yosys/build_tarballs.jl Co-authored-by: Mosè Giordano <[email protected]>
This adds support for building Yosys, the open source synthesis suite for FPGAs and ASICs.