|
34 | 34 | BOOST_VERSION: 1.88.0 |
35 | 35 | BOOST_VERSION_UNDERSCORE: 1_88_0 |
36 | 36 | OPENCL_VERSION: 2024.10.24 |
37 | | - UBUNTU2004_GCC_VERSION: 10 |
38 | 37 | # EIGEN: tested, working commit from Jun 18, 2024: |
39 | 38 | EIGEN_LONGREF: d791d48859c6fc7850c9fd5270d2b236c818068d |
40 | 39 | EIGEN_SHORTREF: d791d48859c6 |
|
46 | 45 | strategy: |
47 | 46 | fail-fast: false |
48 | 47 | matrix: |
49 | | - os: [macos-13, macos-latest, ubuntu-latest, ubuntu-20.04, ubuntu-24.04-arm, windows-latest] |
| 48 | + os: [macos-13, macos-latest, ubuntu-latest, ubuntu-24.04-arm, windows-latest] |
50 | 49 |
|
51 | 50 | steps: |
52 | 51 |
|
|
57 | 56 | fetch-tags: true |
58 | 57 | fetch-depth: 0 |
59 | 58 |
|
60 | | - # On Ubuntu 20.04 |
61 | | - # - we cannot use the standard g++9 because it's not fully C++20 compatible yet (e.g. <numbers> header is not available on g++-9) |
62 | | - # - install g++ 11 |
63 | | - # - update open_iA cmake config to use it |
64 | | - # - explored option 1: |
65 | | - # echo "OPENIA_CMAKE_OPTIONS=-DCMAKE_C_COMPILER=/usr/bin/gcc-11 -DCMAKE_CXX_COMPILER=/usr/bin/g++-11 ${{env.OPENIA_CMAKE_OPTIONS}}" >> "$GITHUB_ENV" |
66 | | - # -> linker problem (https://github.com/3dct/open_iA/actions/runs/13563745786/job/37912093841 : |
67 | | - # /usr/bin/ld: ../bin/libiAio.so: undefined reference to `__isoc23_sscanf' |
68 | | - # /usr/bin/ld: ../bin/libiAio.so: undefined reference to `__isoc23_strtol' |
69 | | - # - maybe not all necessary commands where used -> just set g++ 11 as default! |
70 | | - # - set up alternatives for gcc and depending commands: https://stackoverflow.com/a/67453352 |
71 | | - # - scripted (non-interactive) setting of alternative: https://stackoverflow.com/a/70487421 |
72 | | - # - Also, aqt cannot install Qt > 6.8.0 there |
73 | | - # - only aqt >= 3.1.19 can do that, but it's only available in version 3.1.18 |
74 | | - # - see https://github.com/miurahr/aqtinstall/issues/825 |
75 | | - - if: matrix.os == 'ubuntu-20.04' |
76 | | - name: Set Qt version (Ubuntu 20.04) |
77 | | - run: | |
78 | | - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test |
79 | | - sudo apt update |
80 | | - sudo apt upgrade -y |
81 | | - sudo apt install -y g++-${{env.UBUNTU2004_GCC_VERSION}} |
82 | | - sudo update-alternatives --remove-all cpp |
83 | | - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 90 --slave /usr/bin/g++ g++ /usr/bin/g++-9 --slave /usr/bin/gcov gcov /usr/bin/gcov-9 --slave /usr/bin/gcc-ar gcc-ar /usr/bin/gcc-ar-9 --slave /usr/bin/gcc-ranlib gcc-ranlib /usr/bin/gcc-ranlib-9 --slave /usr/bin/cpp cpp /usr/bin/cpp-9 |
84 | | - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-${{env.UBUNTU2004_GCC_VERSION}} ${{env.UBUNTU2004_GCC_VERSION}}0 --slave /usr/bin/g++ g++ /usr/bin/g++-${{env.UBUNTU2004_GCC_VERSION}} --slave /usr/bin/gcov gcov /usr/bin/gcov-${{env.UBUNTU2004_GCC_VERSION}} --slave /usr/bin/gcc-ar gcc-ar /usr/bin/gcc-ar-${{env.UBUNTU2004_GCC_VERSION}} --slave /usr/bin/gcc-ranlib gcc-ranlib /usr/bin/gcc-ranlib-${{env.UBUNTU2004_GCC_VERSION}} --slave /usr/bin/cpp cpp /usr/bin/cpp-${{env.UBUNTU2004_GCC_VERSION}} |
85 | | - sudo update-alternatives --set gcc /usr/bin/gcc-${{env.UBUNTU2004_GCC_VERSION}} |
86 | | - echo "QT_VERSION=6.7.3" >> "$GITHUB_ENV" |
87 | | -
|
88 | 59 | - if: runner.os == 'macOS' |
89 | 60 | name: Set up required libraries (macOS) |
90 | 61 | run: | |
|
0 commit comments