From d0c1604d267c3aa0010710ef5aad2940977756ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org> Date: Fri, 16 Apr 2021 18:11:43 +0200 Subject: [PATCH] CI: use --host configure flag for compiling Linux binaries The compiler setup has changed in the runners, we now use cross-compilers instead of multilib setup. --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ba91c700..a99dac3f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -15,7 +15,7 @@ build_linux_32: stage: build script: - autoreconf -si - - './configure LDFLAGS="-m32 -static -static-libgcc -static-libstdc++" CXXFLAGS=-m32' + - './configure --host=i686-linux-gnu LDFLAGS="-static -static-libgcc -static-libstdc++"' - make -j$(nproc) - strip src/dynare_m - mkdir -p bin @@ -32,7 +32,7 @@ build_linux_64: stage: build script: - autoreconf -si - - './configure LDFLAGS="-static -static-libgcc -static-libstdc++"' + - './configure --host=x86_64-linux-gnu LDFLAGS="-static -static-libgcc -static-libstdc++"' - make -j$(nproc) - strip src/dynare_m - mkdir -p bin -- GitLab