зеркало из https://github.com/microsoft/msccl.git
retrying codeql with sudo
This commit is contained in:
Родитель
b8f50e895f
Коммит
1e87099307
|
@ -64,13 +64,12 @@ jobs:
|
|||
# uses a compiled language
|
||||
|
||||
- run: |
|
||||
wget -O /etc/apt/preferences.d/cuda-repository-pin-600 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/cuda-ubuntu1804.pin
|
||||
apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/7fa2af80.pub
|
||||
add-apt-repository "deb http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/ /"
|
||||
apt install cuda -y
|
||||
ls /usr/local/
|
||||
sudo wget -O /etc/apt/preferences.d/cuda-repository-pin-600 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/cuda-ubuntu1804.pin
|
||||
sudo apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/7fa2af80.pub
|
||||
sudo add-apt-repository "deb http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/ /"
|
||||
sudo apt install cuda -y
|
||||
export PATH=/usr/local/cuda/bin${PATH:+:${PATH}}
|
||||
make -j src.build NVCC_GENCODE="-gencode=arch=compute_70,code=sm_70"
|
||||
make src.build NVCC_GENCODE="-gencode=arch=compute_70,code=sm_70"
|
||||
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@v1
|
||||
|
|
Загрузка…
Ссылка в новой задаче