Skip to content
Snippets Groups Projects
Commit b5d985b4 authored by Grégoire Kubler's avatar Grégoire Kubler
Browse files

chore : cleaned up before-build & before-test commands

parent 3ea3f099
No related branches found
No related tags found
No related merge requests found
......@@ -81,26 +81,19 @@ before-build = [
"echo '\n\n\n\n yum -y install cuda-toolkit-$CUDA_TOOLKIT_VERSION.$ARCH'",
"yum-config-manager --add-repo https://developer.download.nvidia.com/compute/cuda/repos/rhel7/$ARCH/cuda-rhel7.repo",
"yum clean all",
"yum -y install cuda-toolkit-$CUDA_TOOLKIT_VERSION.$ARCH",
"yum install -y --nogpgcheck cuda-toolkit-$CUDA_TOOLKIT_VERSION.$ARCH",
"yum list available | grep cudnn",
"yum -y install libcudnn$CUDNN_VERSION-cuda-$CUDA_MAJOR_VERSION.$ARCH",
"yum -y install libcudnn$CUDNN_VERSION-devel-cuda-$CUDA_MAJOR_VERSION.$ARCH",
"yum install -y --nogpgcheck libcudnn$CUDNN_VERSION-cuda-$CUDA_MAJOR_VERSION.$ARCH",
"yum install -y --nogpgcheck libcudnn$CUDNN_VERSION-devel-cuda-$CUDA_MAJOR_VERSION.$ARCH",
"export LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH",
"export PATH=/usr/local/cuda/bin:$PATH",
"which nvcc",
"nvcc --version",
"echo '\n\n\n\nInstalling required dependencies for aidge_backend_cuda.\n\n'",
"echo '\n\n\n\nInstalling required dependencies for aidge_backend_cuda.\n\n'",
"bash .gitlab/ci/cibuildwheel_build_deps_before_build_wheel.sh /host/$SEARCH_PATH"
]
before-test= [
"export CUDA_TOOLKIT_VERSION=$CUDA_MAJOR_VERSION-$CUDA_MINOR_VERSION",
"echo '\n\n\n\n yum -y install cuda-toolkit-$CUDA_TOOLKIT_VERSION.$ARCH'",
"yum-config-manager --add-repo https://developer.download.nvidia.com/compute/cuda/repos/rhel7/$ARCH/cuda-rhel7.repo",
"yum clean all",
"yum -y install cuda-toolkit-$CUDA_TOOLKIT_VERSION.$ARCH",
"yum list available | grep cudnn",
"yum -y install libcudnn$CUDNN_VERSION-cuda-$CUDA_MAJOR_VERSION.$ARCH",
"yum -y install libcudnn$CUDNN_VERSION-devel-cuda-$CUDA_MAJOR_VERSION.$ARCH",
"export LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH",
"export PATH=/usr/local/cuda/bin:$PATH",
"nvcc --version",
......
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