mirror of
https://github.com/YosysHQ/yosys
synced 2025-11-06 06:16:04 +00:00
Remove mentions of Boost
This commit is contained in:
parent
35e4d967c6
commit
db76eebc0f
6 changed files with 10 additions and 13 deletions
2
.github/actions/setup-build-env/action.yml
vendored
2
.github/actions/setup-build-env/action.yml
vendored
|
|
@ -42,7 +42,7 @@ runs:
|
||||||
if: runner.os == 'Linux' && inputs.get-build-deps == 'true'
|
if: runner.os == 'Linux' && inputs.get-build-deps == 'true'
|
||||||
uses: awalsh128/cache-apt-pkgs-action@v1.6.0
|
uses: awalsh128/cache-apt-pkgs-action@v1.6.0
|
||||||
with:
|
with:
|
||||||
packages: bison clang flex libboost-filesystem-dev libboost-system-dev libffi-dev libfl-dev libreadline-dev pkg-config tcl-dev zlib1g-dev
|
packages: bison clang flex libffi-dev libfl-dev libreadline-dev pkg-config tcl-dev zlib1g-dev
|
||||||
version: ${{ inputs.runs-on }}-buildys
|
version: ${{ inputs.runs-on }}-buildys
|
||||||
|
|
||||||
- name: Linux docs dependencies
|
- name: Linux docs dependencies
|
||||||
|
|
|
||||||
4
.github/workflows/wheels/_run_cibw_linux.py
vendored
4
.github/workflows/wheels/_run_cibw_linux.py
vendored
|
|
@ -24,10 +24,10 @@ from pathlib import Path
|
||||||
|
|
||||||
__yosys_root__ = Path(__file__).absolute().parents[3]
|
__yosys_root__ = Path(__file__).absolute().parents[3]
|
||||||
|
|
||||||
for source in ["boost", "ffi", "bison"]:
|
for source in ["ffi", "bison"]:
|
||||||
if not (__yosys_root__ / source).is_dir():
|
if not (__yosys_root__ / source).is_dir():
|
||||||
print(
|
print(
|
||||||
"You need to download boost, ffi and bison in a similar manner to wheels.yml first."
|
"You need to download ffi and bison in a similar manner to wheels.yml first."
|
||||||
)
|
)
|
||||||
exit(-1)
|
exit(-1)
|
||||||
|
|
||||||
|
|
|
||||||
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -55,7 +55,6 @@
|
||||||
# pyosys
|
# pyosys
|
||||||
/kernel/*.pyh
|
/kernel/*.pyh
|
||||||
/kernel/python_wrappers.cc
|
/kernel/python_wrappers.cc
|
||||||
/boost
|
|
||||||
/ffi
|
/ffi
|
||||||
/bison
|
/bison
|
||||||
/venv
|
/venv
|
||||||
|
|
|
||||||
|
|
@ -83,8 +83,7 @@ Xdot (graphviz) is used by the ``show`` command in yosys to display schematics.
|
||||||
For example on Ubuntu Linux 22.04 LTS the following commands will install all
|
For example on Ubuntu Linux 22.04 LTS the following commands will install all
|
||||||
prerequisites for building yosys:
|
prerequisites for building yosys:
|
||||||
|
|
||||||
$ sudo apt-get install gawk git make python3 lld \
|
$ sudo apt-get install gawk git make python3 lld bison clang flex \
|
||||||
bison clang flex libboost-filesystem-dev libboost-system-dev \
|
|
||||||
libffi-dev libfl-dev libreadline-dev pkg-config tcl-dev zlib1g-dev \
|
libffi-dev libfl-dev libreadline-dev pkg-config tcl-dev zlib1g-dev \
|
||||||
graphviz xdot
|
graphviz xdot
|
||||||
$ curl -LsSf https://astral.sh/uv/install.sh | sh
|
$ curl -LsSf https://astral.sh/uv/install.sh | sh
|
||||||
|
|
|
||||||
|
|
@ -99,8 +99,7 @@ Installing all prerequisites:
|
||||||
|
|
||||||
.. code:: console
|
.. code:: console
|
||||||
|
|
||||||
sudo apt-get install gawk git make python3 lld \
|
sudo apt-get install gawk git make python3 lld bison clang flex \
|
||||||
bison clang flex libboost-filesystem-dev libboost-system-dev \
|
|
||||||
libffi-dev libfl-dev libreadline-dev pkg-config tcl-dev zlib1g-dev \
|
libffi-dev libfl-dev libreadline-dev pkg-config tcl-dev zlib1g-dev \
|
||||||
graphviz xdot
|
graphviz xdot
|
||||||
curl -LsSf https://astral.sh/uv/install.sh | sh
|
curl -LsSf https://astral.sh/uv/install.sh | sh
|
||||||
|
|
@ -116,14 +115,14 @@ Installing all prerequisites:
|
||||||
.. code:: console
|
.. code:: console
|
||||||
|
|
||||||
sudo port install bison flex readline gawk libffi graphviz \
|
sudo port install bison flex readline gawk libffi graphviz \
|
||||||
pkgconfig python311 boost zlib tcl
|
pkgconfig python311 zlib tcl
|
||||||
|
|
||||||
.. tab:: FreeBSD
|
.. tab:: FreeBSD
|
||||||
|
|
||||||
.. code:: console
|
.. code:: console
|
||||||
|
|
||||||
pkg install bison flex readline gawk libffi graphviz \
|
pkg install bison flex readline gawk libffi graphviz \
|
||||||
pkgconf python311 tcl-wrapper boost-libs
|
pkgconf python311 tcl-wrapper
|
||||||
|
|
||||||
.. note:: On FreeBSD system use gmake instead of make. To run tests use:
|
.. note:: On FreeBSD system use gmake instead of make. To run tests use:
|
||||||
``MAKE=gmake CXX=cxx CC=cc gmake test``
|
``MAKE=gmake CXX=cxx CC=cc gmake test``
|
||||||
|
|
@ -135,7 +134,7 @@ Installing all prerequisites:
|
||||||
|
|
||||||
.. code:: console
|
.. code:: console
|
||||||
|
|
||||||
setup-x86_64.exe -q --packages=bison,flex,gcc-core,gcc-g++,git,libffi-devel,libreadline-devel,make,pkg-config,python3,tcl-devel,boost-build,zlib-devel
|
setup-x86_64.exe -q --packages=bison,flex,gcc-core,gcc-g++,git,libffi-devel,libreadline-devel,make,pkg-config,python3,tcl-devel,zlib-devel
|
||||||
|
|
||||||
.. warning::
|
.. warning::
|
||||||
|
|
||||||
|
|
@ -153,7 +152,7 @@ Installing all prerequisites:
|
||||||
|
|
||||||
.. code:: console
|
.. code:: console
|
||||||
|
|
||||||
pacman -S bison flex mingw-w64-x86_64-gcc git libffi-devel libreadline-devel make pkg-config python3 tcl-devel mingw-w64-x86_64-boost zlib-devel
|
pacman -S bison flex mingw-w64-x86_64-gcc git libffi-devel libreadline-devel make pkg-config python3 tcl-devel zlib-devel
|
||||||
|
|
||||||
Not that I can get this to work; it's failing during ld with what looks like
|
Not that I can get this to work; it's failing during ld with what looks like
|
||||||
math library issues: ``multiple definition of `tanh'`` and
|
math library issues: ``multiple definition of `tanh'`` and
|
||||||
|
|
|
||||||
|
|
@ -41,7 +41,7 @@
|
||||||
packages.default = yosys;
|
packages.default = yosys;
|
||||||
defaultPackage = yosys;
|
defaultPackage = yosys;
|
||||||
devShell = pkgs.mkShell {
|
devShell = pkgs.mkShell {
|
||||||
buildInputs = with pkgs; [ clang llvmPackages.bintools gcc bison flex libffi tcl readline python3 zlib git gtest abc-verifier verilog boost python3Packages.boost ];
|
buildInputs = with pkgs; [ clang llvmPackages.bintools gcc bison flex libffi tcl readline python3 zlib git gtest abc-verifier verilog ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue