Skip to content
Extraits de code Groupes Projets
Valider d1f0e1de rédigé par Tom Barbette's avatar Tom Barbette
Parcourir les fichiers

gitlab-ci: Move DPDK to a secure folder

DPDK cannot launch because CI builds in /builds, that is world
writeable. Try to move DPDK elsewhere
parent ad65a4bb
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -33,6 +33,8 @@ dpdk: ...@@ -33,6 +33,8 @@ dpdk:
- echo "Running global pre-install..." - echo "Running global pre-install..."
- !reference [before_script] - !reference [before_script]
- echo "Running local pre-install..." - echo "Running local pre-install..."
- mkdir /dpdk
- pushd /dpdk
- export RTE_SDK=`pwd`/dpdk-$DPDK_VERSION; - export RTE_SDK=`pwd`/dpdk-$DPDK_VERSION;
export RTE_TARGET=x86_64-native-linuxapp-gcc; export RTE_TARGET=x86_64-native-linuxapp-gcc;
export PKG_CONFIG_PATH=${RTE_SDK}/install/lib/x86_64-linux-gnu/pkgconfig/; export PKG_CONFIG_PATH=${RTE_SDK}/install/lib/x86_64-linux-gnu/pkgconfig/;
...@@ -46,6 +48,7 @@ dpdk: ...@@ -46,6 +48,7 @@ dpdk:
cd build && ( ninja && ninja install ) ; cd .. ; cd .. ; cd build && ( ninja && ninja install ) ; cd .. ; cd .. ;
fi; fi;
ldconfig ldconfig
- popd
script: script:
- ls $PKG_CONFIG_PATH - ls $PKG_CONFIG_PATH
- echo $LD_LIBRARY_PATH - echo $LD_LIBRARY_PATH
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter