Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Opus
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Xiph.Org
Opus
Commits
115edd9c
Verified
Commit
115edd9c
authored
1 year ago
by
Marcus Asteborg
Browse files
Options
Downloads
Patches
Plain Diff
Move build and tests for x86 to avx2 machines.
parent
9f4fc8bb
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!83
Move build and tests for x86 to avx2 machines.
Pipeline
#3919
passed
1 year ago
Stage: build
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+12
-6
12 additions, 6 deletions
.gitlab-ci.yml
with
12 additions
and
6 deletions
.gitlab-ci.yml
+
12
−
6
View file @
115edd9c
...
...
@@ -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 -j
4
-
make distcheck
-
CFLAGS="-mavx -mfma -mavx2 -O2 -ffast-math" ./configure --enable-float-approx
-
make -j
16
-
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'
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment