ktemkin / homebrew-oss-fpga Goto Github PK
View Code? Open in Web Editor NEWHomebrew formulae for building FPGA bitstreams with open-source tools.
License: BSD 2-Clause "Simplified" License
Homebrew formulae for building FPGA bitstreams with open-source tools.
License: BSD 2-Clause "Simplified" License
Hi,
The Title was meant to be: Can't build nextpnr or IceStorm (Yosys builds ok)
Tried building as instructions on Powerbook M1, but the build fails when it tries to build gcc dependancy. Erro is:
==> Installing ktemkin/oss-fpga/nextpnr-ice40 dependency: gcc ==> Patching ==> Applying bigsur.diff patching file gcc/config/darwin-c.c patching file gcc/config/darwin-driver.c ==> ../configure --build=x86_64-apple-darwin20 --prefix=/opt/homebrew/Cellar/gcc/10. ==> make BOOT_LDFLAGS=-Wl,-headerpad_max_install_names Last 15 lines from /Users/bmentink/Library/Logs/Homebrew/gcc/02.make: echo timestamp > stmp-int-hdrs /private/tmp/gcc-20201204-77211-9abnz9/gcc-10.2.0/build/./gcc/xgcc -B/private/tmp/gcc-20201204-77211-9abnz9/gcc-10.2.0/build/./gcc/ -xc -nostdinc /dev/null -S -o /dev/null -fself-test=../../gcc/testsuite/selftests /private/tmp/gcc-20201204-77211-9abnz9/gcc-10.2.0/build/./gcc/xgcc -B/private/tmp/gcc-20201204-77211-9abnz9/gcc-10.2.0/build/./gcc/ -xc++ -nostdinc /dev/null -S -o /dev/null -fself-test=../../gcc/testsuite/selftests cc1: note: self-tests are not enabled in this build echo timestamp > s-selftest-c /dev/null:1: internal compiler error: in darwin_gt_pch_use_address, at config/host-darwin.c:51 libbacktrace could not find executable to open Please submit a full bug report, with preprocessed source if appropriate. See <https://github.com/Homebrew/homebrew-core/issues> for instructions. make[3]: *** [s-selftest-c++] Error 1 rm gcc.pod make[2]: *** [all-stage1-gcc] Error 2 make[1]: *** [stage1-bubble] Error 2 make: *** [all] Error 2
I had to do: export ARCHFLAGS='-arch arm64' before I could build for ARM
Project icestorm finally fixed using 'sed' on 'Darwin', so currently when you replace 'sed' by 'gsed' it throws errors.
Line:
inreplace 'icebox/Makefile', 'sed', 'gsed'
has to be removed from the file 'icestorm.rb' - also we no longer need 'gsed' dependency
The HDL GitHub organization is trying to build a critical mass around providing open source EDA tooling (like the open source FPGA tooling) in a number of different ways like static binaries, conda, docker and including "native" solutions like homebrew. The idea is bringing these different styles of packaging together under one GitHub organization so people can share tips around how to get things auto-building on CI, workarounds for common issues, how to test the tools are working, etc. There is quite a long document put together by the GHDL / V-Unit community about the various asks of things here.
I'm sure if you moved the repository over there would be a strong incentive to add things like GHDL and demonstrate things like mixed-synthesis support. The community did that recently for the Fomu Workshop! See https://workshop.fomu.im/en/latest/vhdl.html and https://workshop.fomu.im/en/latest/mixed-hdl.html
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.