Skip to content
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

Use lean conda for faster initial setup #1750

Merged
merged 4 commits into from
Jan 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions conda-reqs/chipyard-base.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
channels:
- ucb-bar
- conda-forge
- litex-hub
- nodefaults

platforms:
- linux-64

dependencies:
# https://conda-forge.org/feedstock-outputs/
# filterable list of all conda-forge packages
# https://conda-forge.org/#contribute
# instructions on adding a recipe
# https://docs.conda.io/projects/conda/en/latest/user-guide/concepts/pkg-specs.html#package-match-specifications
# documentation on package_spec syntax for constraining versions
- gcc<12
- gxx<12
- sysroot_linux-64=2.17 # needed to match pre-built CI XRT glibc version
- conda-gcc-specs
- binutils

# misc
- autoconf
- coreutils
- jq
- pip
joonho3020 marked this conversation as resolved.
Show resolved Hide resolved
- make
- git

- sbt
- openjdk=20
- dtc
- verilator==5.020
- conda-lock=1.4
33 changes: 3 additions & 30 deletions conda-reqs/chipyard.yaml → conda-reqs/chipyard-extended.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,36 +8,16 @@ platforms:
- linux-64

dependencies:
# https://conda-forge.org/feedstock-outputs/
# filterable list of all conda-forge packages
# https://conda-forge.org/#contribute
# instructions on adding a recipe
# https://docs.conda.io/projects/conda/en/latest/user-guide/concepts/pkg-specs.html#package-match-specifications
# documentation on package_spec syntax for constraining versions


# handy tool for introspecting package relationships and file ownership
# see https://github.com/rvalieris/conda-tree
- conda-tree

# bundle FireSim driver with deps into installer shell-script
- constructor

- gcc<12
- gxx<12
- sysroot_linux-64=2.17 # needed to match pre-built CI XRT glibc version
- conda-gcc-specs
- binutils

# firtool handled outside of conda

# misc
- autoconf
- pre-commit
- readline
- coreutils
- jq
- pip

# firemarshal deps
- qemu # from ucb-bar channel - https://github.com/ucb-bar/qemu-feedstock
Expand Down Expand Up @@ -67,18 +47,14 @@ dependencies:
- findutils
- lzop

- make
- bash-completion
- sbt
- ca-certificates
- mosh
- gmp
- mpfr
- mpc
- zlib
- vim
- git
- openjdk=20
- gengetopt
- libffi
- expat
Expand All @@ -87,12 +63,6 @@ dependencies:
- cmake
- graphviz
- expect
- dtc
- verilator==5.020
- screen
- elfutils
- libdwarf-dev==0.0.0.20190110_28_ga81397fc4 # from ucb-bar channel - using mainline libdwarf-feedstock
- conda-lock=1.4

# clang-format for driver coding style enforcement.
- clang-format
Expand All @@ -109,6 +79,9 @@ dependencies:
# conda environment, pip's dependency resolution can conflict with
# conda and create broken environments. It's best to use the conda
# packages so that the environment is consistent
- screen
- elfutils
- libdwarf-dev==0.0.0.20190110_28_ga81397fc4 # from ucb-bar channel - using mainline libdwarf-feedstock
- colorama
- argcomplete
- python-graphviz
Expand Down
Loading