File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change 22
22
version : 14 # no package available
23
23
24
24
include :
25
+ # --- LLVM flang coverage ---
26
+
27
+ - os : macos-13
28
+ compiler : flang
29
+ version : 20
30
+ - os : macos-14
31
+ compiler : flang
32
+ version : 20
33
+ - os : macos-15
34
+ compiler : flang
35
+ version : 20
36
+
37
+ # https://hub.docker.com/r/snowstep/llvm/tags
38
+ - os : ubuntu-24.04
39
+ compiler : flang
40
+ version : latest
41
+ container : snowstep/llvm:noble
42
+ - os : ubuntu-22.04
43
+ compiler : flang
44
+ version : latest
45
+ container : snowstep/llvm:jammy
46
+
25
47
# https://hub.docker.com/r/phhargrove/llvm-flang/tags
26
48
- os : ubuntu-24.04
27
49
compiler : flang
36
58
# compiler: flang
37
59
# version: new
38
60
# container: gmao/llvm-flang:latest
61
+
62
+ # --- Intel coverage ---
63
+
39
64
- os : ubuntu-24.04
40
65
compiler : ifx
41
66
version : 2025.1.0
70
95
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-${COMPILER_VERSION} 100 \
71
96
--slave /usr/bin/gfortran gfortran /usr/bin/gfortran-${COMPILER_VERSION}
72
97
98
+
99
+ - name : Install Ubuntu Container Dependencies
100
+ if : ${{ contains(matrix.os, 'ubuntu') && matrix.container != '' && !contains(matrix.container, 'phhargrove') }}
101
+ run : |
102
+ set -x
103
+ apt update
104
+ apt install -y build-essential pkg-config make git curl
105
+
106
+ - name : Install macOS Dependencies
107
+ if : contains(matrix.os, 'macos') && matrix.compiler == 'flang'
108
+ run : |
109
+ set -x
110
+ brew update
111
+ brew install llvm@${COMPILER_VERSION} flang
112
+ # workaround issue #228: clang cannot find homebrew flang's C header
113
+ for p in /opt/homebrew /usr/local $(brew --prefix) ; do find $p/Cellar/flang -name ISO_Fortran_binding.h 2>/dev/null || true ; done
114
+ echo "CFLAGS=-I$(dirname $(find $(brew --prefix)/Cellar/flang -name ISO_Fortran_binding.h | head -1)) ${CFLAGS}" >> "$GITHUB_ENV"
115
+ # Prepend homebrew clang to PATH:
116
+ echo "PATH=$(brew --prefix)/opt/llvm/bin:${PATH}" >> "$GITHUB_ENV"
117
+
73
118
- name : Setup Compilers
74
119
run : |
75
120
set -x
You can’t perform that action at this time.
0 commit comments