Skip to content

Commit db209bf

Browse files
authored
Move to CI v9
1 parent 4f8ccdc commit db209bf

File tree

14 files changed

+54
-50
lines changed

14 files changed

+54
-50
lines changed

.github/workflows/documentation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
generate-doc:
1414
runs-on: ubuntu-latest
1515
container:
16-
image: ghcr.io/jfalcou/compilers:v6
16+
image: ghcr.io/jfalcou/compilers:v9
1717
strategy:
1818
fail-fast: false
1919
steps:

.github/workflows/integration.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
install:
1919
runs-on: [ubuntu-latest]
2020
container:
21-
image: ghcr.io/jfalcou/compilers:v8
21+
image: ghcr.io/jfalcou/compilers:v9
2222
strategy:
2323
fail-fast: false
2424

@@ -41,7 +41,7 @@ jobs:
4141
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
4242
runs-on: [ubuntu-latest]
4343
container:
44-
image: ghcr.io/jfalcou/compilers:v8
44+
image: ghcr.io/jfalcou/compilers:v9
4545
strategy:
4646
fail-fast: false
4747

@@ -60,7 +60,7 @@ jobs:
6060
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
6161
runs-on: [ubuntu-latest]
6262
container:
63-
image: ghcr.io/jfalcou/compilers:v8
63+
image: ghcr.io/jfalcou/compilers:v9
6464
strategy:
6565
fail-fast: false
6666

.github/workflows/unit.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ jobs:
2424
fail-fast: false
2525
matrix:
2626
cfg:
27-
- { comp: clang , arch: x86_osx, mode: Debug }
28-
- { comp: clang , arch: x86_osx, mode: Release }
27+
- { comp: clang , arch: aarch64, mode: Debug }
28+
- { comp: clang , arch: aarch64, mode: Release }
2929
steps:
3030
- name: Fetch current branch
3131
uses: actions/[email protected]
@@ -98,7 +98,7 @@ jobs:
9898
wasm:
9999
runs-on: ubuntu-latest
100100
container:
101-
image: ghcr.io/jfalcou/compilers:v8
101+
image: ghcr.io/jfalcou/compilers:v9
102102
strategy:
103103
fail-fast: false
104104
matrix:
@@ -124,7 +124,7 @@ jobs:
124124
riscv:
125125
runs-on: ubuntu-latest
126126
container:
127-
image: ghcr.io/jfalcou/compilers:v8
127+
image: ghcr.io/jfalcou/compilers:v9
128128
strategy:
129129
fail-fast: false
130130
matrix:
@@ -207,7 +207,7 @@ jobs:
207207
clang:
208208
runs-on: ubuntu-latest
209209
container:
210-
image: ghcr.io/jfalcou/compilers:v8
210+
image: ghcr.io/jfalcou/compilers:v9
211211
strategy:
212212
fail-fast: false
213213
matrix:
@@ -233,7 +233,7 @@ jobs:
233233
gcc:
234234
runs-on: ubuntu-latest
235235
container:
236-
image: ghcr.io/jfalcou/compilers:v8
236+
image: ghcr.io/jfalcou/compilers:v9
237237
strategy:
238238
fail-fast: false
239239
matrix:

include/spy/compiler.hpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -152,49 +152,49 @@ namespace spy::literal
152152
{
153153
//! @ingroup api
154154
//! @brief User-defined suffix for NVCC version definition
155-
template<char ...c> constexpr auto operator"" _nvcc()
155+
template<char ...c> constexpr auto operator""_nvcc()
156156
{
157157
return _::literal_wrap<_::nvcc_t,c...>();
158158
}
159159

160160
//! @ingroup api
161161
//! @brief User-defined suffix for MSVC version definition
162-
template<char ...c> constexpr auto operator"" _msvc()
162+
template<char ...c> constexpr auto operator""_msvc()
163163
{
164164
return _::literal_wrap<_::msvc_t,c...>();
165165
}
166166

167167
//! @ingroup api
168168
//! @brief User-defined suffix for Intel ICC version definition
169-
template<char ...c> constexpr auto operator"" _intel()
169+
template<char ...c> constexpr auto operator""_intel()
170170
{
171171
return _::literal_wrap<_::intel_t,c...>();
172172
}
173173

174174
//! @ingroup api
175175
//! @brief User-defined suffix for Intel DCP++/ICPX version definition
176-
template<char ...c> constexpr auto operator"" _dpcpp()
176+
template<char ...c> constexpr auto operator""_dpcpp()
177177
{
178178
return _::literal_wrap<_::dpcpp_t,c...>();
179179
}
180180

181181
//! @ingroup api
182182
//! @brief User-defined suffix for Clang version definition
183-
template<char ...c> constexpr auto operator"" _clang()
183+
template<char ...c> constexpr auto operator""_clang()
184184
{
185185
return _::literal_wrap<_::clang_t,c...>();
186186
}
187187

188188
//! @ingroup api
189189
//! @brief User-defined suffix for G++ version definition
190-
template<char ...c> constexpr auto operator"" _gcc()
190+
template<char ...c> constexpr auto operator""_gcc()
191191
{
192192
return _::literal_wrap<_::gcc_t,c...>();
193193
}
194194

195195
//! @ingroup api
196196
//! @brief User-defined suffix for Emscripten version definition
197-
template<char ...c> constexpr auto operator"" _em()
197+
template<char ...c> constexpr auto operator""_em()
198198
{
199199
return _::literal_wrap<_::emscripten_t,c...>();
200200
}

include/spy/libc.hpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -137,35 +137,35 @@ namespace spy::literal
137137
{
138138
//! @ingroup api
139139
//! @brief User-defined suffix for the CloudABI libc version definition
140-
template<char ...c> constexpr auto operator"" _cloud()
140+
template<char ...c> constexpr auto operator""_cloud()
141141
{
142142
return _::literal_wrap<_::cloudabi_t,c...>();
143143
}
144144

145145
//! @ingroup api
146146
//! @brief User-defined suffix for the uClibc version definition
147-
template<char ...c> constexpr auto operator"" _uc()
147+
template<char ...c> constexpr auto operator""_uc()
148148
{
149149
return _::literal_wrap<_::uc_t,c...>();
150150
}
151151

152152
//! @ingroup api
153153
//! @brief User-defined suffix for the VMS libc version definition
154-
template<char ...c> constexpr auto operator"" _vms()
154+
template<char ...c> constexpr auto operator""_vms()
155155
{
156156
return _::literal_wrap<_::vms_t,c...>();
157157
}
158158

159159
//! @ingroup api
160160
//! @brief User-defined suffix for the zOS libc version definition
161-
template<char ...c> constexpr auto operator"" _zos()
161+
template<char ...c> constexpr auto operator""_zos()
162162
{
163163
return _::literal_wrap<_::zos_t,c...>();
164164
}
165165

166166
//! @ingroup api
167167
//! @brief User-defined suffix for the GNU libc version definition
168-
template<char ...c> constexpr auto operator"" _gnu()
168+
template<char ...c> constexpr auto operator""_gnu()
169169
{
170170
return _::literal_wrap<_::gnu_t,c...>();
171171
}

include/spy/stdlib.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,12 +105,12 @@ namespace spy
105105

106106
namespace spy::literal
107107
{
108-
template<char ...c> constexpr auto operator"" _libcpp()
108+
template<char ...c> constexpr auto operator""_libcpp()
109109
{
110110
return _::literal_wrap<_::libcpp_t,c...>();
111111
}
112112

113-
template<char ...c> constexpr auto operator"" _gnucpp()
113+
template<char ...c> constexpr auto operator""_gnucpp()
114114
{
115115
return _::literal_wrap<_::gnucpp_t,c...>();
116116
}

standalone/spy/spy.hpp

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -385,31 +385,31 @@ namespace spy
385385
}
386386
namespace spy::literal
387387
{
388-
template<char ...c> constexpr auto operator"" _nvcc()
388+
template<char ...c> constexpr auto operator""_nvcc()
389389
{
390390
return _::literal_wrap<_::nvcc_t,c...>();
391391
}
392-
template<char ...c> constexpr auto operator"" _msvc()
392+
template<char ...c> constexpr auto operator""_msvc()
393393
{
394394
return _::literal_wrap<_::msvc_t,c...>();
395395
}
396-
template<char ...c> constexpr auto operator"" _intel()
396+
template<char ...c> constexpr auto operator""_intel()
397397
{
398398
return _::literal_wrap<_::intel_t,c...>();
399399
}
400-
template<char ...c> constexpr auto operator"" _dpcpp()
400+
template<char ...c> constexpr auto operator""_dpcpp()
401401
{
402402
return _::literal_wrap<_::dpcpp_t,c...>();
403403
}
404-
template<char ...c> constexpr auto operator"" _clang()
404+
template<char ...c> constexpr auto operator""_clang()
405405
{
406406
return _::literal_wrap<_::clang_t,c...>();
407407
}
408-
template<char ...c> constexpr auto operator"" _gcc()
408+
template<char ...c> constexpr auto operator""_gcc()
409409
{
410410
return _::literal_wrap<_::gcc_t,c...>();
411411
}
412-
template<char ...c> constexpr auto operator"" _em()
412+
template<char ...c> constexpr auto operator""_em()
413413
{
414414
return _::literal_wrap<_::emscripten_t,c...>();
415415
}
@@ -543,23 +543,23 @@ namespace spy
543543
}
544544
namespace spy::literal
545545
{
546-
template<char ...c> constexpr auto operator"" _cloud()
546+
template<char ...c> constexpr auto operator""_cloud()
547547
{
548548
return _::literal_wrap<_::cloudabi_t,c...>();
549549
}
550-
template<char ...c> constexpr auto operator"" _uc()
550+
template<char ...c> constexpr auto operator""_uc()
551551
{
552552
return _::literal_wrap<_::uc_t,c...>();
553553
}
554-
template<char ...c> constexpr auto operator"" _vms()
554+
template<char ...c> constexpr auto operator""_vms()
555555
{
556556
return _::literal_wrap<_::vms_t,c...>();
557557
}
558-
template<char ...c> constexpr auto operator"" _zos()
558+
template<char ...c> constexpr auto operator""_zos()
559559
{
560560
return _::literal_wrap<_::zos_t,c...>();
561561
}
562-
template<char ...c> constexpr auto operator"" _gnu()
562+
template<char ...c> constexpr auto operator""_gnu()
563563
{
564564
return _::literal_wrap<_::gnu_t,c...>();
565565
}
@@ -1293,11 +1293,11 @@ namespace spy
12931293
}
12941294
namespace spy::literal
12951295
{
1296-
template<char ...c> constexpr auto operator"" _libcpp()
1296+
template<char ...c> constexpr auto operator""_libcpp()
12971297
{
12981298
return _::literal_wrap<_::libcpp_t,c...>();
12991299
}
1300-
template<char ...c> constexpr auto operator"" _gnucpp()
1300+
template<char ...c> constexpr auto operator""_gnucpp()
13011301
{
13021302
return _::literal_wrap<_::gnucpp_t,c...>();
13031303
}

test/toolchain/clang.x86_osx.cmake renamed to test/toolchain/clang.aarch64.cmake

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,9 @@
33
## Copyright : SPY Project Contributors
44
## SPDX-License-Identifier: BSL-1.0
55
##==================================================================================================
6+
set(CMAKE_SYSTEM_PROCESSOR arm )
7+
68
set(CMAKE_C_COMPILER /opt/homebrew/opt/llvm@15/bin/clang )
79
set(CMAKE_CXX_COMPILER /opt/homebrew/opt/llvm@15/bin/clang++ )
10+
11+
set(CMAKE_CXX_FLAGS " -DEVE_NO_FORCEINLINE ${EVE_OPTIONS}" )

test/toolchain/clang.rvv128.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
set(CMAKE_SYSTEM_NAME Generic)
77
set(CMAKE_SYSTEM_PROCESSOR riscv64)
88

9-
set(CMAKE_C_COMPILER /opt/llvm/bin/clang)
10-
set(CMAKE_CXX_COMPILER /opt/llvm/bin/clang++)
9+
set(CMAKE_C_COMPILER clang )
10+
set(CMAKE_CXX_COMPILER clang++ )
1111

1212
set(CMAKE_CXX_FLAGS "-O3 -march=rv64gcv -std=c++20 -mrvv-vector-bits=128 --static --target=riscv64-unknown-linux-gnu ${EVE_OPTIONS}" )
1313
set(CMAKE_CROSSCOMPILING_CMD ${PROJECT_SOURCE_DIR}/test/toolchain/run_rvv128.sh )

test/toolchain/gcc.aarch64.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
set(CMAKE_SYSTEM_NAME Linux)
77
set(CMAKE_SYSTEM_PROCESSOR arm)
88

9-
set(CMAKE_C_COMPILER aarch64-linux-gnu-gcc-13 )
10-
set(CMAKE_CXX_COMPILER aarch64-linux-gnu-g++-13 )
9+
set(CMAKE_C_COMPILER aarch64-linux-gnu-gcc-14 )
10+
set(CMAKE_CXX_COMPILER aarch64-linux-gnu-g++-14 )
1111

1212
set(CMAKE_CROSSCOMPILING_CMD qemu-aarch64)

0 commit comments

Comments
 (0)