Add no LTO tests for old gcc versions too
This commit is contained in:
parent
3c49517b76
commit
168ba99828
@ -19,12 +19,19 @@ build:old-gcc:
|
||||
stage: build
|
||||
tags:
|
||||
- nix
|
||||
script:
|
||||
script:
|
||||
- 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:
|
||||
stage: build
|
||||
tags:
|
||||
- nix
|
||||
script:
|
||||
script:
|
||||
- nix build -L --tarball-ttl 0 --file nix/rt.nix bsc.ovni-rt
|
||||
|
@ -110,6 +110,14 @@ let
|
||||
|
||||
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
|
||||
# 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
|
||||
|
Loading…
Reference in New Issue
Block a user