Skip to content

Commit

Permalink
Fix CUDA CI
Browse files Browse the repository at this point in the history
Outdated lines and errors in CUDA CI job:
```
File "/home/runner/.local/lib/python3.8/site-packages/setuptools/_entry_points.py", line 44, in <module>
      def validate(eps: metadata.EntryPoints):
  AttributeError: module 'importlib_metadata' has no attribute 'EntryPoints'
  error: subprocess-exited-with-error
```
  • Loading branch information
ax3l committed Jul 17, 2024
1 parent 620cc06 commit 41a0455
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dependencies/dependencies_nvcc11.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ sudo apt-get install -y \
pkg-config \
wget

sudo apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/3bf863cc.pub
echo "deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64 /" \
sudo apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/3bf863cc.pub
echo "deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64 /" \
| sudo tee /etc/apt/sources.list.d/cuda.list
sudo apt-get update
sudo apt-get install -y \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/hip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ concurrency:
jobs:
build_hip:
name: HIP
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
env:
CXXFLAGS: "-Werror -Wno-deprecated-declarations -Wno-error=pass-failed"
CMAKE_GENERATOR: Ninja
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/intel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ concurrency:
jobs:
tests-oneapi-sycl:
name: oneAPI SYCL 3D
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Dependencies
Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:
tests-icpx:
name: ICPX
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Dependencies
Expand Down Expand Up @@ -150,7 +150,7 @@ jobs:
export CXX=$(which icpc)
export CC=$(which icc)
python3 -m pip install -U pip setuptools wheel
python3 -m pip install -U pip importlib_metadata launchpadlib setuptools wheel
python3 -m pip install -U cmake
python3 -m pip install -U pytest mpi4py
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ jobs:
export CXX=$(which g++)
export CUDAHOSTCXX=$(which g++)
python3 -m pip install -U pip setuptools wheel
python3 -m pip install -U pip importlib_metadata launchpadlib setuptools wheel
python3 -m pip install -U cmake
cmake -S . -B build \
Expand Down

0 comments on commit 41a0455

Please sign in to comment.