Skip to content

Commit

Permalink
Try removing conflicting Python version
Browse files Browse the repository at this point in the history
  • Loading branch information
franzpoeschel committed Jun 20, 2024
1 parent 4e0bc81 commit 79bad78
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,11 @@ jobs:
- name: Install
run: |
sudo apt update
sudo apt -y autoremove python3
sudo apt install clang-14 cmake gfortran libhdf5-dev python3.11 python3.11-dev wget
python="$(which python3.11)"
sudo ln -s "$python" "${python%.11}"
sudo ln -s "$python" "${python%3.11}"
wget https://bootstrap.pypa.io/get-pip.py
python3.11 get-pip.py
python3.11 -m pip install numpy pandas
Expand All @@ -149,9 +153,6 @@ jobs:
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DPython_EXECUTABLE=$(which python3.11)
cmake --build build --parallel 2
echo -e "\n-------------------\nPYTHONPATH: '$PYTHONPATH'\n-------------------\n"
echo -e "\n-------------------\nPATH: '$PATH'\n-------------------\n"
echo "$PATH" | tr : '\n' | while read path; do find "$path" -maxdepth 1 -iname 'python*'; done # | xargs ls -lisah
ctest --test-dir build --output-on-failure
# ADIOS2 v2.7.1
Expand Down

0 comments on commit 79bad78

Please sign in to comment.