Add no LTO tests for old gcc versions too
This commit is contained in:
parent
3c49517b76
commit
168ba99828
@ -22,6 +22,13 @@ build:old-gcc:
|
|||||||
script:
|
script:
|
||||||
- nix build -L --tarball-ttl 0 --file nix/rt.nix bsc.oldOvnis
|
- nix build -L --tarball-ttl 0 --file nix/rt.nix bsc.oldOvnis
|
||||||
|
|
||||||
|
build:old-gcc-no-lto:
|
||||||
|
stage: build
|
||||||
|
tags:
|
||||||
|
- nix
|
||||||
|
script:
|
||||||
|
- nix build -L --tarball-ttl 0 --file nix/rt.nix bsc.oldOvnisNoLTO
|
||||||
|
|
||||||
build:rt-tests:
|
build:rt-tests:
|
||||||
stage: build
|
stage: build
|
||||||
tags:
|
tags:
|
||||||
|
@ -110,6 +110,14 @@ let
|
|||||||
|
|
||||||
oldOvnis = map last.genOldOvni last.oldCompilers;
|
oldOvnis = map last.genOldOvni last.oldCompilers;
|
||||||
|
|
||||||
|
genOldOvniNoLTO = stdenv: (last.genOldOvni stdenv).overrideAttrs (old: {
|
||||||
|
cmakeFlags = old.cmakeFlags ++ [
|
||||||
|
"-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=OFF"
|
||||||
|
];
|
||||||
|
});
|
||||||
|
|
||||||
|
oldOvnisNoLTO = map last.genOldOvniNoLTO last.oldCompilers;
|
||||||
|
|
||||||
# Now we rebuild ovni with the Nanos6 and nOS-V versions, which were
|
# Now we rebuild ovni with the Nanos6 and nOS-V versions, which were
|
||||||
# linked to the previous ovni. We need to be able to exit the chroot
|
# linked to the previous ovni. We need to be able to exit the chroot
|
||||||
# to run Nanos6 tests, as they require access to /sys for hwloc
|
# to run Nanos6 tests, as they require access to /sys for hwloc
|
||||||
|
Loading…
Reference in New Issue
Block a user