]> _ Git - alire.git/commit
Add compiler version to build hash (#1442)
authorAlejandro R Mosteo <amosteo@unizar.es>
Mon, 4 Sep 2023 08:56:25 +0000 (10:56 +0200)
committerGitHub <noreply@github.com>
Mon, 4 Sep 2023 08:56:25 +0000 (10:56 +0200)
commit6d6e1016ccb870f889c409db05ac3cf495b82f99
tree889a096fabc611277740bb23ee0f2ab818ef476d
parent846a21e56c87d794d5374e3441c3a16b5e91a739
Add compiler version to build hash (#1442)

* Update pins and dependencies

* Include GPR externals in hash computation

* Avoid recursivity when loading environment

* Test of hashing externals

* Add compiler version to the build hash

* Tests for compiler in build hash input

* Improvements to test
23 files changed:
src/alire/alire-builds-hashes.adb
src/alire/alire-roots.adb
src/alire/alire-roots.ads
src/alire/alire-toolchains-solutions.adb
src/alire/alire-toolchains-solutions.ads
testsuite/drivers/alr.py
testsuite/drivers/builds.py
testsuite/drivers/helpers.py
testsuite/fixtures/build_hash_index/gn/gnat_external/gnat_external-external.toml [new file with mode: 0644]
testsuite/fixtures/build_hash_index/gn/gnat_native/gnat_native-7777.0.0.toml [new file with mode: 0644]
testsuite/fixtures/build_hash_index/gn/gnat_native/gnat_native-8888.0.0.toml [new file with mode: 0644]
testsuite/fixtures/build_hash_index/he/hello/hello-1.0.0.toml [new file with mode: 0644]
testsuite/fixtures/build_hash_index/he/hello/hello-1.0.1.toml [new file with mode: 0644]
testsuite/fixtures/build_hash_index/index.toml [new file with mode: 0644]
testsuite/fixtures/build_hash_index/li/libhello/libhello-1.0.0.toml [new file with mode: 0644]
testsuite/fixtures/build_hash_index/ma/make/make-external.toml [new file with mode: 0644]
testsuite/tests/build/hashes/compiler-input/test.py [new file with mode: 0644]
testsuite/tests/build/hashes/compiler-input/test.yaml [new file with mode: 0644]
testsuite/tests/build/hashes/compiler-missing/test.py [new file with mode: 0644]
testsuite/tests/build/hashes/compiler-missing/test.yaml [new file with mode: 0644]
testsuite/tests/build/hashes/hashing-inputs/test.yaml
testsuite/tests/config/shared-deps/test.yaml
testsuite/tests/dockerized/misc/default-cache/test.py