Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
likwid
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Thomas Gruber
likwid
Commits
1f22aada
Commit
1f22aada
authored
6 months ago
by
Thomas Roehl
Browse files
Options
Downloads
Patches
Plain Diff
Add tests for sysfeatures in Gitlab CI
parent
005237e8
Branches
Branches containing commit
Tags
v5.4.1rc2
Tags containing commit
No related merge requests found
Pipeline
#37364
failed
6 months ago
Stage: .pre
Stage: build
Stage: test
Stage: .post
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+3
-0
3 additions, 0 deletions
.gitlab-ci.yml
test/gitlab-ci/generate_arch_jobs.sh
+2
-0
2 additions, 0 deletions
test/gitlab-ci/generate_arch_jobs.sh
test/gitlab-ci/generate_cuda_jobs.sh
+4
-0
4 additions, 0 deletions
test/gitlab-ci/generate_cuda_jobs.sh
with
9 additions
and
0 deletions
.gitlab-ci.yml
+
3
−
0
View file @
1f22aada
...
...
@@ -22,6 +22,7 @@ build-x86-daemon:
-
sed -e s+"COMPILER = .*"+"COMPILER=$LIKWID_COMPILER"+g -i config.mk
-
sed -e s+"PREFIX ?= .*"+"PREFIX=/tmp/$CI_JOB_NAME"+g -i config.mk
-
sed -e s+"INSTRUMENT_BENCH = .*"+"INSTRUMENT_BENCH=true"+g -i config.mk
-
sed -e s+"BUILD_SYSFEATURES = .*"+"BUILD_SYSFEATURES=true"+g -i config.mk
-
sed -e s+"BUILDDAEMON = .*"+"BUILDDAEMON=false"+g -i config.mk
-
sed -e s+"BUILDFREQ = .*"+"BUILDFREQ=false"+g -i config.mk
-
make
...
...
@@ -53,6 +54,7 @@ build-x86-perf:
-
sed -e s+"PREFIX ?= .*"+"PREFIX=/tmp/$CI_JOB_NAME"+g -i config.mk
-
sed -e s+"INSTRUMENT_BENCH = .*"+"INSTRUMENT_BENCH=true"+g -i config.mk
-
sed -e s+"BUILDDAEMON = .*"+"BUILDDAEMON=false"+g -i config.mk
-
sed -e s+"BUILD_SYSFEATURES = .*"+"BUILD_SYSFEATURES=true"+g -i config.mk
-
sed -e s+"BUILDFREQ = .*"+"BUILDFREQ=false"+g -i config.mk
-
make
-
make BUILDDAEMON=false BUILDFREQ=false install
...
...
@@ -83,6 +85,7 @@ build-arm8-perf:
-
sed -e s+"PREFIX ?= .*"+"PREFIX=/tmp/$CI_JOB_NAME"+g -i config.mk
-
sed -e s+"INSTRUMENT_BENCH = .*"+"INSTRUMENT_BENCH=true"+g -i config.mk
-
sed -e s+"BUILDDAEMON = .*"+"BUILDDAEMON=false"+g -i config.mk
-
sed -e s+"BUILD_SYSFEATURES = .*"+"BUILD_SYSFEATURES=true"+g -i config.mk
-
sed -e s+"BUILDFREQ = .*"+"BUILDFREQ=false"+g -i config.mk
-
make
-
make BUILDDAEMON=false BUILDFREQ=false install
...
...
This diff is collapsed.
Click to expand it.
test/gitlab-ci/generate_arch_jobs.sh
+
2
−
0
View file @
1f22aada
...
...
@@ -46,6 +46,7 @@ test-$L-perf:
- likwid-topology
- likwid-pin -p
- likwid-perfctr -i
- likwid-sysfeatures -a
after_script:
- rm -rf /tmp/
$depend
EOF
...
...
@@ -79,6 +80,7 @@ test-$L-daemon:
- likwid-topology
- likwid-pin -p
- likwid-perfctr -i
- likwid-sysfeatures -a
after_script:
- rm -rf /tmp/
$depend
EOF
...
...
This diff is collapsed.
Click to expand it.
test/gitlab-ci/generate_cuda_jobs.sh
+
4
−
0
View file @
1f22aada
...
...
@@ -19,6 +19,7 @@ build-$PVER:
- sed -e s+"ACCESSMODE = .*"+"ACCESSMODE=
\$
LIKWID_ACCESSMODE"+g -i config.mk
- sed -e s+"COMPILER = .*"+"COMPILER=
\$
LIKWID_COMPILER"+g -i config.mk
- sed -e s+"NVIDIA_INTERFACE = .*"+"NVIDIA_INTERFACE=true"+g -i config.mk
- sed -e s+"BUILD_SYSFEATURES = .*"+"BUILD_SYSFEATURES=true"+g -i config.mk
- sed -e s+"BUILDDAEMON = .*"+"BUILDDAEMON=false"+g -i config.mk
- sed -e s+"BUILDFREQ = .*"+"BUILDFREQ=false"+g -i config.mk
- make
...
...
@@ -27,6 +28,9 @@ build-$PVER:
- if [ -e likwid-setFreq ]; then rm likwid-setFreq; fi
- export LD_LIBRARY_PATH=
\$
(pwd):
\$
LD_LIBRARY_PATH
- ./likwid-topology
- ./likwid-perfctr -i
- ./likwid-pin -p
- ./likwid-sysfeatures -a
tags:
- testcluster
...
...
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