Skip to content

Commit

Permalink
Add SDE-based SapphireRapids test to AzureCI
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-frbg authored Nov 2, 2023
1 parent 0de786c commit 73380e3
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,32 @@ jobs:
docker run --privileged intel_sde
displayName: 'Run AVX512 SkylakeX docker build / test'
- job: Intel_SDE_sr
pool:
vmImage: 'ubuntu-latest'
steps:
- script: |
# at the time of writing the available Azure Ubuntu vm image
# does not support AVX512VL, so use more recent LTS version
echo "FROM ubuntu:bionic
COPY . /tmp/openblas
RUN apt-get -y update && apt-get -y install \\
cmake \\
gfortran \\
make \\
python \\
wget
RUN mkdir /tmp/SDE && cd /tmp/SDE && \\
mkdir sde-external-9.21.1-2023-04-24-lin && \\
wget --quiet -O sde-external-9.21.1-2023-04-24-lin.tar.xz https://downloadmirror.intel.com/777395/sde-external-9.21.1-2023-04-24-lin.tar.xz && \\
tar -xJvf https://downloadmirror.intel.com/777395/sde-external-9.21.1-2023-04-24-lin.tar.xz -C /tmp/SDE/sde-external-9.21.1-2023-04-24-lin --strip-components=1
RUN cd /tmp/openblas && CC=gcc make QUIET_MAKE=1 DYNAMIC_ARCH=1 NUM_THREADS=32 BINARY=64
CMD cd /tmp/openblas && echo 0 > /proc/sys/kernel/yama/ptrace_scope && CC=gcc OPENBLAS_VERBOSE=2 /tmp/SDE/sde-external-9.21.1-2023-04-24-lin/sde64 -cpuid_in /tmp/SDE/sde-external-9.21.1-2023-04-24-lin/misc/cpuid/spr/cpuid.def -- make lapack_test DYNAMIC_ARCH=1 NUM_THREADS=32 BINARY=64" > Dockerfile
docker build -t intel_sde .
# we need a privileged docker run for sde process attachment
docker run --privileged intel_sde
displayName: 'Run SapphireRapids docker build / test'
- job: Windows_cl
pool:
vmImage: 'windows-latest'
Expand Down

0 comments on commit 73380e3

Please sign in to comment.