Skip to content

Commit

Permalink
Add tests for sysfeatures in Gitlab CI
Browse files Browse the repository at this point in the history
  • Loading branch information
TomTheBear committed Nov 27, 2024
1 parent 005237e commit 1f22aad
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions test/gitlab-ci/generate_arch_jobs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions test/gitlab-ci/generate_cuda_jobs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 1f22aad

Please sign in to comment.