fasm
fasm copied to clipboard
FPGA Assembly (FASM) Parser and Generator
While packaging fasm for the [AUR](https://aur.archlinux.org/packages/python-fasm-git), I came across a bunch of problems that I hope I'll be able to fix upstream here so others can benefit from the fixes...
⚠️ This PR is being automatically resynced ⚠️ Synced local file(s) with [SymbiFlow/symbiflow-common-config](https://github.com/SymbiFlow/symbiflow-common-config). Changed files Created local CODE_OF_CONDUCT.md from remote CODE_OF_CONDUCT.mdCreated local CONTRIBUTING.md from remote CONTRIBUTING.md --- This PR was...
https://github.com/SymbiFlow/fasm/runs/3877602211?check_suite_focus=true#step:7:34 ``` /opt/hostedtoolcache/Python/3.7.12/x64/lib/python3.7/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /home/runner/work/fasm/fasm/fasm/parser/antlr_to_tuple.pyx ```
https://github.com/SymbiFlow/fasm/runs/3877515514?check_suite_focus=true Unclear why as the CI isn't outputting what cause the Antlr module to succeed in compiling.
Close #69 Signed-off-by: Daniel Lim Wee Soong
https://github.com/SymbiFlow/fasm/blob/af39a4fb7adc367502ed91ac7f0b8f1c17f37ee8/.github/workflows/presubmit.yml#L31-L34 https://github.com/SymbiFlow/actions/tree/main/checks
Currently they fail to build. See the github actions output after #48 is merged.
` running build running build_py running egg_info writing fasm.egg-info\PKG-INFO writing dependency_links to fasm.egg-info\dependency_links.txt writing entry points to fasm.egg-info\entry_points.txt writing requirements to fasm.egg-info\requires.txt writing top-level names to fasm.egg-info\top_level.txt reading manifest file...
`setup_requires` needs to be specified in *both* `setup.py` and `pyproject.toml`. The `requirements.txt` file should use `-e .` to install the module (and thus get the requirements). If a local or...
``` [ 44%] Performing build_static step for 'antlr4_runtime' gmake[4]: Entering directory '/ssd/github/SymbiFlow/fasm/build/temp.linux-x86_64-3.9/antlr4_runtime/src/antlr4_runtime/runtime/Cpp' gmake[5]: Entering directory '/ssd/github/SymbiFlow/fasm/build/temp.linux-x86_64-3.9/antlr4_runtime/src/antlr4_runtime/runtime/Cpp' gmake[6]: Entering directory '/ssd/github/SymbiFlow/fasm/build/temp.linux-x86_64-3.9/antlr4_runtime/src/antlr4_runtime/runtime/Cpp' gmake[7]: Entering directory '/ssd/github/SymbiFlow/fasm/build/temp.linux-x86_64-3.9/antlr4_runtime/src/antlr4_runtime/runtime/Cpp' gmake[7]: Entering directory '/ssd/github/SymbiFlow/fasm/build/temp.linux-x86_64-3.9/antlr4_runtime/src/antlr4_runtime/runtime/Cpp' Scanning dependencies...