|
1 |
| -mono_sdkdir = /Users/long/Documents/Project/monoBuild/mono/sdks/out |
2 |
| -monoios_dir = /Users/long/Documents/Project/monoBuild/mono/sdks/ios/runtime |
3 |
| -appdir = /Users/long/Documents/Project/monoBuild/mono/sdks/ios/bin/ios-dev/test-corlib.app |
4 | 1 | sysroot = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk
|
5 |
| -cross = $mono_sdkdir/ios-cross64-release/bin/aarch64-darwin-mono-sgen |
| 2 | +cross = ../tools/mono/aarch64-darwin-mono-sgen |
6 | 3 | builddir = .
|
7 | 4 | tempdir = ../temp
|
8 | 5 | signing_identity = -
|
@@ -36,16 +33,16 @@ rule mkdir
|
36 | 33 | command = mkdir -p $out
|
37 | 34 | rule compile-objc
|
38 | 35 | command = clang -isysroot $sysroot -miphoneos-version-min=10.1 -arch arm64 -c -o $out $in
|
39 |
| -rule gen-exe |
40 |
| - command = mkdir $appdir |
41 |
| - command = clang -ObjC -isysroot $sysroot -miphoneos-version-min=10.1 -arch arm64 -framework Foundation -framework UIKit -framework GSS -o $appdir/test-corlib $in -liconv -lz $forcelibs |
42 | 36 | rule arlib
|
43 | 37 | command = ar crv $out $in
|
44 | 38 | rule aot_build_module_info
|
45 | 39 | command = MONO_PATH=$builddir $cross -O=gsharedvt,float32 --debug --aot=mtriple=arm64-ios,static,asmonly,direct-icalls,no-direct-calls,dwarfdebug,interp,full,soft-debug,outfile=$tempdir/$in.s,data-outfile=$in.aotdata $in | grep 'Linking symbol:' | cut -d ':' -f 2 | tee -a $tempdir/info.txt && clang -isysroot $sysroot -miphoneos-version-min=10.1 -arch arm64 -c -o $tempdir/$in.o $tempdir/$in.s && ar crv $out $tempdir/$in.o
|
46 | 40 | description = [AOT .dll->.s->.o->.aotdata->.a] $in -> $out
|
47 | 41 | rule aot_build
|
48 | 42 | command = MONO_PATH=$builddir $cross -O=gsharedvt,float32 --debug --aot=mtriple=arm64-ios,static,asmonly,direct-icalls,no-direct-calls,dwarfdebug,interp,full,soft-debug,outfile=$tempdir/$in.s,data-outfile=$in.aotdata $in && clang -isysroot $sysroot -miphoneos-version-min=10.1 -arch arm64 -c -o $tempdir/$in.o $tempdir/$in.s && ar crv $out $tempdir/$in.o
|
| 43 | + description = [AOT .dll->.s->.o->.aotdata->.a] $in -> $out |
| 44 | +rule aot_test |
| 45 | + command = MONO_PATH=$builddir $cross -O=gsharedvt,float32 --debug --aot=mtriple=arm64-ios,static,asmonly,direct-icalls,no-direct-calls,dwarfdebug,interp,full,soft-debug,outfile=$tempdir/$in.s,data-outfile=$in.aotdata $in |
49 | 46 | description = [AOT .dll->.s->.o->.aotdata->.a] $in -> $out
|
50 | 47 |
|
51 | 48 | #
|
|
0 commit comments