Skip to content
Snippets Groups Projects
Commit 146edd2f authored by Raphael Defosseux's avatar Raphael Defosseux
Browse files

chore(ci): having a variable to choose simde version

parent 43d9895c
No related branches found
No related tags found
2 merge requests!2403Integration Branch 2023.w42,!2402chore(ci): enabling the ARM cross-compilation pipeline
...@@ -685,6 +685,15 @@ install_simde_from_source(){ ...@@ -685,6 +685,15 @@ install_simde_from_source(){
$SUDO rm -rf /tmp/simde $SUDO rm -rf /tmp/simde
git clone https://github.com/simd-everywhere/simde-no-tests.git /tmp/simde git clone https://github.com/simd-everywhere/simde-no-tests.git /tmp/simde
cd /tmp/simde cd /tmp/simde
# we can specify a given version of SIMDE (sha-one or tag)
if [[ -v SIMDE_VERSION ]]; then
git checkout -f $SIMDE_VERSION
else
# At time of writing, last working commit for OAI
git checkout 389f360a66d4a3bec62b7d71ad8be877487809ba
fi
# Showing which version is used
git log -n1
# brute force copy into /usr/include # brute force copy into /usr/include
$SUDO \cp -rv ../simde /usr/include $SUDO \cp -rv ../simde /usr/include
} }
......
...@@ -29,6 +29,8 @@ ...@@ -29,6 +29,8 @@
FROM ubuntu:focal AS ran-base FROM ubuntu:focal AS ran-base
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND=noninteractive
ENV TZ=Europe/Paris ENV TZ=Europe/Paris
# Specifying a working version of SIMDE for ARM:
ENV SIMDE_VERSION=389f360a66d4a3bec62b7d71ad8be877487809ba
#install developers pkg/repo #install developers pkg/repo
RUN apt-get update && \ RUN apt-get update && \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment