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

Bootstrap clingo from binaries #22720

Merged
merged 32 commits into from
Aug 18, 2021

Conversation

alalazo
Copy link
Member

@alalazo alalazo commented Apr 1, 2021

fixes #22606
fixes #23946
fixes #24417
fixes #24450
fixes #25164
closes #23898

Modifications:

  • Extend bootstrapping capabilities to use buildcaches
  • Allow to configure the order of methods tried for bootstrapping from configuration files
  • Allow to trust or untrust bootstrapping methods from cli
  • Add a command to list all known bootstrapping methods and their trust levels
  • Bootstrap from binaries in GA linux tests
  • Extend bootstrapping tests to buildcaches
  • Add documentation on the new spack bootstrap subcommands

To try this PR on x86-64, aarch64 or ppc64le machines:

$ cd <spack-repo>
$ git fetch upstream pull/22720/head:PR/22720
$ git checkout PR/22720

At that point you should be able to do something like:

$ spack find -b
==> Showing internal bootstrap store at "/home/culpo/.spack/bootstrap/store"
==> 0 installed packages

$ spack bootstrap list
[ shows list of known bootstrapping methods,  "github-actions" is TRUSTED ]

$ spack solve zlib
==> Best of 0 answers.
==> Optimization: [0, 0, 0, 0, 0, 1, 0, 0, 0]
zlib@1.2.11%gcc@10.1.0+optimize+pic+shared arch=linux-ubuntu18.04-broadwell

$ spack find -b
==> Showing internal bootstrap store at "/home/culpo/.spack/bootstrap/store"
==> 2 installed packages
-- linux-rhel5-x86_64 / gcc@9.3.0 -------------------------------
clingo-bootstrap@spack  python@3.6

@alalazo alalazo added bootstrap Anything that has to do with Spack building its own dependencies. concretization labels Apr 1, 2021
@alalazo alalazo added this to In progress in Spack 0.17.0 Release via automation Apr 1, 2021
@alalazo alalazo force-pushed the features/bootstrap_from_binaries branch 2 times, most recently from ebd3d34 to 837babf Compare April 6, 2021 13:58
@alalazo alalazo force-pushed the features/bootstrap_from_binaries branch 5 times, most recently from e097658 to 3d381a2 Compare April 16, 2021 12:54
@alalazo alalazo force-pushed the features/bootstrap_from_binaries branch 2 times, most recently from 1b1708c to a0c3b0d Compare April 21, 2021 13:02
@alalazo alalazo marked this pull request as ready for review April 21, 2021 14:06
@alalazo alalazo force-pushed the features/bootstrap_from_binaries branch from a0c3b0d to 562e2f8 Compare April 30, 2021 15:55
@alalazo alalazo force-pushed the features/bootstrap_from_binaries branch from 562e2f8 to a77fee4 Compare May 11, 2021 15:17
@alalazo alalazo force-pushed the features/bootstrap_from_binaries branch from a77fee4 to 45aa79f Compare May 24, 2021 08:31
@alalazo alalazo force-pushed the features/bootstrap_from_binaries branch from 45aa79f to a20efbf Compare May 28, 2021 16:15
@tgamblin tgamblin self-assigned this Jun 11, 2021
@alalazo alalazo force-pushed the features/bootstrap_from_binaries branch from 861e474 to a355a53 Compare August 13, 2021 15:48
@becker33 becker33 merged commit 4318ceb into spack:develop Aug 18, 2021
Spack 0.17.0 Release automation moved this from Review in progress to Done Aug 18, 2021
@alalazo alalazo deleted the features/bootstrap_from_binaries branch August 18, 2021 18:38
@alalazo
Copy link
Member Author

alalazo commented Aug 18, 2021

Thanks @becker33 !

@haampie
Copy link
Member

haampie commented Aug 18, 2021

nice!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
binary-packages bootstrap Anything that has to do with Spack building its own dependencies. commands concretization defaults documentation Improvements or additions to documentation python sbang tests General test capability(ies) update-package workflow
Projects
No open projects
6 participants