Skip to content

Commit fcbaeff

Browse files
committed
Add Ubuntu 24.04 arm runners to ci
1 parent 54c9482 commit fcbaeff

File tree

3 files changed

+83
-0
lines changed

3 files changed

+83
-0
lines changed

Diff for: .github/workflows/Ubuntu.yml

+63
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,42 @@ jobs:
9494
cling-version: '1.0'
9595
llvm_enable_projects: "clang"
9696
llvm_targets_to_build: "host;NVPTX"
97+
- name: ubu24-arm-gcc12-clang-repl-19
98+
os: ubuntu-24.04-arm
99+
compiler: gcc-12
100+
clang-runtime: '19'
101+
cling: Off
102+
llvm_enable_projects: "clang"
103+
llvm_targets_to_build: "host;NVPTX"
104+
- name: ubu24-arm-gcc12-clang-repl-18
105+
os: ubuntu-24.04-arm
106+
compiler: gcc-12
107+
clang-runtime: '18'
108+
cling: Off
109+
llvm_enable_projects: "clang"
110+
llvm_targets_to_build: "host;NVPTX"
111+
- name: ubu24-arm-gcc12-clang-repl-17
112+
os: ubuntu-24.04-arm
113+
compiler: gcc-12
114+
clang-runtime: '17'
115+
cling: Off
116+
llvm_enable_projects: "clang"
117+
llvm_targets_to_build: "host;NVPTX"
118+
- name: ubu24-arm-gcc12-clang-repl-16
119+
os: ubuntu-24.04-arm
120+
compiler: gcc-12
121+
clang-runtime: '16'
122+
cling: Off
123+
llvm_enable_projects: "clang"
124+
llvm_targets_to_build: "host;NVPTX"
125+
- name: ubu24-arm-gcc9-clang13-cling
126+
os: ubuntu-24.04-arm
127+
compiler: gcc-9
128+
clang-runtime: '13'
129+
cling: On
130+
cling-version: '1.0'
131+
llvm_enable_projects: "clang"
132+
llvm_targets_to_build: "host;NVPTX"
97133

98134
steps:
99135
- uses: actions/checkout@v4
@@ -334,6 +370,33 @@ jobs:
334370
clang-runtime: '13'
335371
cling: On
336372
cling-version: '1.0'
373+
- name: ubu24-arm-gcc12-clang-repl-19
374+
os: ubuntu-24.04-arm
375+
compiler: gcc-12
376+
clang-runtime: '19'
377+
cling: Off
378+
- name: ubu24-arm-gcc12-clang-repl-18
379+
os: ubuntu-24.04-arm
380+
compiler: gcc-12
381+
clang-runtime: '18'
382+
cling: Off
383+
- name: ubu24-arm-gcc12-clang-repl-17
384+
os: ubuntu-24.04-arm
385+
compiler: gcc-12
386+
clang-runtime: '17'
387+
cling: Off
388+
- name: ubu24-arm-gcc12-clang-repl-16
389+
os: ubuntu-24.04-arm
390+
compiler: gcc-12
391+
clang-runtime: '16'
392+
cling: Off
393+
cppyy: Off
394+
- name: ubu24-arm-gcc9-clang13-cling
395+
os: ubuntu-24.04-arm
396+
compiler: gcc-9
397+
clang-runtime: '13'
398+
cling: On
399+
cling-version: '1.0'
337400

338401
steps:
339402
- uses: actions/checkout@v4

Diff for: .github/workflows/emscripten.yml

+8
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,14 @@ jobs:
3737
llvm_enable_projects: "clang;lld"
3838
llvm_targets_to_build: "WebAssembly"
3939
emsdk_ver: "3.1.45"
40+
- name: ubu24-arm-gcc12-clang-repl-19-emscripten
41+
os: ubuntu-24.04-arm
42+
compiler: gcc-12
43+
clang-runtime: '19'
44+
cling: Off
45+
llvm_enable_projects: "clang;lld"
46+
llvm_targets_to_build: "WebAssembly"
47+
emsdk_ver: "3.1.45"
4048
- name: osx15-arm-clang-clang-repl-19-emscripten
4149
os: macos-15
4250
compiler: clang

Diff for: lib/Interpreter/CppInterOp.cpp

+12
Original file line numberDiff line numberDiff line change
@@ -2828,7 +2828,13 @@ namespace Cpp {
28282828
#define DEBUG_TYPE "exec"
28292829

28302830
std::array<char, 256> buffer;
2831+
#if defined(__GNUC__)
2832+
#pragma GCC diagnostic ignored "-Wignored-attributes"
2833+
#endif
28312834
std::unique_ptr<FILE, decltype(&pclose)> pipe(popen(cmd, "r"), pclose);
2835+
#if defined(__GNUC__)
2836+
#pragma GCC diagnostic pop
2837+
#endif
28322838
LLVM_DEBUG(dbgs() << "Executing command '" << cmd << "'\n");
28332839

28342840
if (!pipe) {
@@ -3437,7 +3443,13 @@ namespace Cpp {
34373443
}
34383444

34393445
class StreamCaptureInfo {
3446+
#if defined(__GNUC__)
3447+
#pragma GCC diagnostic ignored "-Wignored-attributes"
3448+
#endif
34403449
std::unique_ptr<FILE, decltype(std::fclose)*> m_TempFile;
3450+
#if defined(__GNUC__)
3451+
#pragma GCC diagnostic pop
3452+
#endif
34413453
int m_FD = -1;
34423454
int m_DupFD = -1;
34433455

0 commit comments

Comments
 (0)