Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.xiph.org/xiph/opus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Asteborg <xnorpx@outlook.com>2023-06-26 02:11:27 +0300
committerMarcus Asteborg <xnorpx@outlook.com>2023-06-27 23:32:55 +0300
commit115edd9c0668ad07d9be1e4ea150689a4c32508a (patch)
tree2b18cb22aaef75dfbcd27d820d8dc9d260a304f3
parent9f4fc8bbfa4f8ddd518f85a7aa0a87ab8369c6a9 (diff)
Move build and tests for x86 to avx2 machines.
-rw-r--r--.gitlab-ci.yml18
1 files changed, 12 insertions, 6 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a5419333..f07aa1a6 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -56,15 +56,17 @@ ci-fairy:
autoconf:
stage: build
+ tags:
+ - avx2
before_script:
- apt-get update &&
apt-get install -y zip doxygen git automake libtool make wget
- !reference [.snippets, git_prep]
script:
- ./autogen.sh
- - ./configure
- - make -j4
- - make distcheck
+ - CFLAGS="-mavx -mfma -mavx2 -O2 -ffast-math" ./configure --enable-float-approx
+ - make -j16
+ - DISTCHECK_CONFIGURE_FLAGS="--enable-float-approx CFLAGS='-mavx -mfma -mavx2 -O2'" make distcheck -j16
cache:
paths:
- "src/*.o"
@@ -76,6 +78,8 @@ autoconf:
cmake:
stage: build
+ tags:
+ - avx2
before_script:
- apt-get update &&
apt-get install -y cmake ninja-build git automake libtool wget
@@ -83,9 +87,9 @@ cmake:
script:
- ./autogen.sh
- mkdir build
- - cmake -S . -B build -G "Ninja" -DCMAKE_BUILD_TYPE=Release -DOPUS_BUILD_TESTING=ON -DOPUS_BUILD_PROGRAMS=ON -DOPUS_NEURAL_FEC=ON
- - cmake --build build -j 4
- - cd build && ctest --output-on-failure -j 4
+ - cmake -S . -B build -G "Ninja" -DCMAKE_BUILD_TYPE=Release -DOPUS_BUILD_PROGRAMS=ON -DBUILD_TESTING=ON -DOPUS_FAST_MATH=ON -DOPUS_FLOAT_APPROX=ON -DOPUS_NEURAL_FEC=ON -DOPUS_X86_PRESUME_AVX2=ON
+ - cmake --build build
+ - cd build && ctest --output-on-failure -j 16
.meson:
image: 'debian:bookworm-slim'
@@ -104,6 +108,8 @@ cmake:
meson x86_64:
extends: '.meson'
+ tags:
+ - avx2
variables:
MESON_EXTRA_ARGS: '--werror'