@@ -8,16 +8,21 @@ packages:
8
8
- libxml2-dev
9
9
- libssl-dev
10
10
- libz-dev
11
- - llvm-dev # for cctools
12
- - uuid-dev # # for cctools
11
+ - llvm-dev # cctools
12
+ - uuid-dev # cctools
13
+ - ninja-build # cctools
14
+ - systemtap-sdt-dev # cctools
15
+ - libbsd-dev # cctools
16
+ - linux-libc-dev # cctools
13
17
- libplist-utils # for gogio
14
18
sources :
15
19
- https://git.sr.ht/~eliasnaur/applesdks
16
20
- https://git.sr.ht/~eliasnaur/gio
17
21
- https://git.sr.ht/~eliasnaur/giouiorg
18
- - https://github.com/tpoechtrager/cctools-port.git
19
- - https://github.com/tpoechtrager/apple-libtapi.git
20
- - https://github.com/mackyle/xar.git
22
+ - https://github.com/tpoechtrager/cctools-port
23
+ - https://github.com/tpoechtrager/apple-libtapi
24
+ - https://github.com/tpoechtrager/apple-libdispatch
25
+ - https://github.com/mackyle/xar
21
26
environment :
22
27
APPLE_TOOLCHAIN_ROOT : /home/build/appletools
23
28
PATH : /home/build/sdk/go/bin:/home/build/go/bin:/usr/bin
@@ -42,6 +47,11 @@ tasks:
42
47
- install_appletoolchain : |
43
48
cd giouiorg
44
49
go build -o $APPLE_TOOLCHAIN_ROOT/tools ./cmd/appletoolchain
50
+ - build_libdispatch : |
51
+ cd apple-libdispatch
52
+ cmake -G Ninja -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_INSTALL_PREFIX=$APPLE_TOOLCHAIN_ROOT/libdispatch .
53
+ ninja
54
+ ninja install
45
55
- build_xar : |
46
56
cd xar/xar
47
57
ac_cv_lib_crypto_OpenSSL_add_all_ciphers=yes CC=clang ./autogen.sh --prefix=/usr
53
63
./install.sh
54
64
- build_cctools : |
55
65
cd cctools-port/cctools
56
- ./configure --prefix $APPLE_TOOLCHAIN_ROOT/toolchain --with-libtapi=$APPLE_TOOLCHAIN_ROOT/libtapi --target=x86_64-apple-darwin19
66
+ ./configure --target=x86_64-apple-darwin19 -- prefix $APPLE_TOOLCHAIN_ROOT/toolchain --with-libtapi=$APPLE_TOOLCHAIN_ROOT/libtapi --with-libdispatch=$APPLE_TOOLCHAIN_ROOT/libdispatch --with-libblocksruntime=$APPLE_TOOLCHAIN_ROOT/libdispatch
57
67
make install
58
68
- test_macos : |
59
69
cd gio
0 commit comments