8000 fix and update cctools build · awakecoding/llvm-prebuilt@9635b0b · GitHub
[go: up one dir, main page]

Skip to cont 8000 ent

Commit 9635b0b

Browse files
author
Marc-André Moreau
committed
fix and update cctools build
1 parent bdb99d8 commit 9635b0b

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

.github/workflows/cctools-prebuilt.yml

Lines changed: 14 additions & 2 deletions
< 8000 /tr>
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,15 @@ jobs:
88
fail-fast: false
99
matrix:
1010
arch: [ x86_64 ]
11-
os: [ ubuntu-20.04, ubuntu-22.04 ]
11+
os: [ ubuntu-20.04, ubuntu-22.04, ubuntu-24.04 ]
1212

1313
include:
1414
- os: ubuntu-20.04
1515
runner: ubuntu-20.04
1616
- os: ubuntu-22.04
1717
runner: ubuntu-22.04
18+
- os: ubuntu-24.04
19+
runner: ubuntu-24.04
1820

1921
steps:
2022
- name: Configure Linux runner
@@ -44,11 +46,21 @@ jobs:
4446
mv $(readlink -f /tmp/cctools/lib/libtapi.so) /tmp/cctools/lib/libtapi.so
4547
cd ..
4648
49+
- name: Build libdispatch
50+
run: |
51+
git clone https://github.com/tpoechtrager/apple-libdispatch.git
52+
cd apple-libdispatch
53+
cmake -G Ninja -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_INSTALL_PREFIX="/tmp/cctools" .
54+
ninja
55+
ninja install
56+
cd ..
57+
4758
- name: Build cctools
4859
run: |
4960
git clone https://github.com/tpoechtrager/cctools-port.git
5061
cd cctools-port/cctools
51-
./configure --prefix=/tmp/cctools --with-libtapi=/tmp/cctools --with-libxar=/tmp/cctools
62+
./configure --prefix=/tmp/cctools --with-libtapi=/tmp/cctools --with-libxar=/tmp/cctools \
63+
--with-libdispatch=/tmp/cctools --with-libblocksruntime=/tmp/cctools
5264
make
5365
make install
5466
cd ../..

0 commit comments

Comments
 (0)
0