Commits
With external (distro) gtest, this avoids an error along the lines of
"DSO missing from command line".
Signed-off-by: Xiretza <xiretza@xiretza.xyz>
Signed-off-by: Xiretza <xiretza@xiretza.xyz>
super().run() already builds all the extensions
Signed-off-by: Xiretza <xiretza@xiretza.xyz>
This fixes builds with `setup.py develop`/`pip install -e`.
build_ext.run() unsets build_ext.inplace before running
build_extension(), and only restores it before calling
copy_extensions_to_source(). Because the cmake extension has to know the
real install directory in build_extension(), we need to compute it
before calling build_ext.run() and then retrieve it in build_extension().
Signed-off-by: Xiretza <xiretza@xiretza.xyz>
docs: theme s/SymbiFlow/F4PGA/
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
docs: update theme; add logo and favicon; use '_static'
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
Signed-off-by: Karol Gugala <kgugala@antmicro.com>
setup: fix license classifier
Signed-off-by: Karol Gugala <kgugala@antmicro.com>
Signed-off-by: Karol Gugala <kgugala@antmicro.com>
Fix readthedocs environment.yml file.
```
Collecting package metadata: ...working... done
Solving environment: ...working... done
Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done
Ran pip subprocess with arguments:
[u'/home/docs/checkouts/readthedocs.org/user_builds/fasm/conda/78/bin/python', '-m', 'pip', 'install', '-U', '-r', '/home/docs/checkouts/readthedocs.org/user_builds/fasm/checkouts/78/docs/tmpAGdqnl.requirements.txt']
Pip subprocess output:
Pip subprocess error:
ERROR: 404 Client Error: FileNotFoundError for url: file:///requirements.txt
CondaEnvException: Pip failed
```
Signed-off-by: Tim 'mithro' Ansell <tansell@google.com>
The wheels seem to be randomly failing on GitHub Actions and I'm
randomly guessing it is due to an out of memory error. See
https://github.com/SymbiFlow/fasm/issues/77
Don't use parallel build if `CMAKE_BUILD_PARALLEL_LEVEL` is in the
environment and set `CMAKE_BUILD_PARALLEL_LEVEL=1` in the GitHub Action
environment.
Hopefully fixes https://github.com/SymbiFlow/fasm/issues/77
Signed-off-by: Tim 'mithro' Ansell <tansell@google.com>
Using the `-m` option makes sure we are using the pip that is available
inside the environment provided by the Python executable, even if `pip`
in the path is setup to use a different Python (for example with a
hard-coded `#!/usr/bin/python`).
Signed-off-by: Tim 'mithro' Ansell <tansell@google.com>
It seems like Windows has issues with upgrading the pip/wheel installed
via `actions/setup-pyython@v2`.
Signed-off-by: Tim 'mithro' Ansell <tansell@google.com>
Fixes #72.
Signed-off-by: Tim 'mithro' Ansell <tansell@google.com>
Signed-off-by: Arnaud Caron <arn4ud@gmail.com>
Convert to using symbiflow_sphinx_theme.
- Updating the theme options.
- `s/FPGA ASM/FPGA Assembly/`
Signed-off-by: Tim 'mithro' Ansell <tansell@google.com>
(Also cleanup the conf.py formatting a bit.)
Signed-off-by: Tim 'mithro' Ansell <tansell@google.com>
Fix install fasm directly from GitHub
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
Fixes #57.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
Fixes #60
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
Easier than fighting with powershell.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
Adding generation of the version number.
ci: support forks to run the PyPI workflow but prevent publishing
Signed-off-by: umarcor <unai.martinezcorral@ehu.eus>
Signed-off-by: umarcor <unai.martinezcorral@ehu.eus>
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
Add GitHub Actions which publish to PyPI
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
This fixes builds with `setup.py develop`/`pip install -e`.
build_ext.run() unsets build_ext.inplace before running
build_extension(), and only restores it before calling
copy_extensions_to_source(). Because the cmake extension has to know the
real install directory in build_extension(), we need to compute it
before calling build_ext.run() and then retrieve it in build_extension().
Signed-off-by: Xiretza <xiretza@xiretza.xyz>
```
Collecting package metadata: ...working... done
Solving environment: ...working... done
Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done
Ran pip subprocess with arguments:
[u'/home/docs/checkouts/readthedocs.org/user_builds/fasm/conda/78/bin/python', '-m', 'pip', 'install', '-U', '-r', '/home/docs/checkouts/readthedocs.org/user_builds/fasm/checkouts/78/docs/tmpAGdqnl.requirements.txt']
Pip subprocess output:
Pip subprocess error:
ERROR: 404 Client Error: FileNotFoundError for url: file:///requirements.txt
CondaEnvException: Pip failed
```
Signed-off-by: Tim 'mithro' Ansell <tansell@google.com>
The wheels seem to be randomly failing on GitHub Actions and I'm
randomly guessing it is due to an out of memory error. See
https://github.com/SymbiFlow/fasm/issues/77
Don't use parallel build if `CMAKE_BUILD_PARALLEL_LEVEL` is in the
environment and set `CMAKE_BUILD_PARALLEL_LEVEL=1` in the GitHub Action
environment.
Hopefully fixes https://github.com/SymbiFlow/fasm/issues/77
Signed-off-by: Tim 'mithro' Ansell <tansell@google.com>