Skip to content

Commit a10f535

Browse files
authored
Merge pull request #5617 from martin-frbg/fix_apple_ranlib
CI, MacOS: fix missing ranlib with latest llvm
2 parents 5ffbf38 + 2b4eaad commit a10f535

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/apple_m.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ jobs:
9999
run: |
100100
export CPPFLAGS="-I/opt/homebrew/opt/llvm/include"
101101
export CC="/opt/homebrew/opt/llvm/bin/clang"
102+
export RANLIB=llvm-ranlib
102103
case "${{ matrix.build }}" in
103104
"make")
104105
make -j$(nproc) DYNAMIC_ARCH=1 USE_OPENMP=${{matrix.openmp}} INTERFACE64=${{matrix.ilp64}} FC="ccache ${{ matrix.fortran }}"

azure-pipelines.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ jobs:
185185
variables:
186186
LD_LIBRARY_PATH: /usr/local/opt/llvm/lib
187187
LIBRARY_PATH: /usr/local/opt/llvm/lib
188+
RANLIB: touch
188189
steps:
189190
- script: |
190191
brew update
@@ -197,6 +198,7 @@ jobs:
197198
variables:
198199
LD_LIBRARY_PATH: /usr/local/opt/llvm/lib
199200
LIBRARY_PATH: /usr/local/opt/llvm/lib
201+
RANLIB: touch
200202
steps:
201203
- script: |
202204
brew update
@@ -240,6 +242,7 @@ jobs:
240242
LD_LIBRARY_PATH: /usr/local/opt/llvm/lib
241243
MACOS_HPCKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/edb4dc2f-266f-47f2-8d56-21bc7764e119/m_HPCKit_p_2023.2.0.49443.dmg
242244
LIBRARY_PATH: /usr/local/opt/llvm/lib
245+
RANLIB: touch
243246
MACOS_FORTRAN_COMPONENTS: intel.oneapi.mac.ifort-compiler
244247
steps:
245248
- script: |

0 commit comments

Comments
 (0)