iOS: make luajit multiple threads
This commit is contained in:
parent
d885c30b2a
commit
e0177a7c6e
@ -17,11 +17,18 @@
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>1.0.1</string>
|
||||
<string>1.0.2</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>3</string>
|
||||
<string>6</string>
|
||||
<key>LSRequiresIPhoneOS</key>
|
||||
<true/>
|
||||
<key>NSAppTransportSecurity</key>
|
||||
<dict>
|
||||
<key>NSAllowsArbitraryLoads</key>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>NSCalendarsUsageDescription</key>
|
||||
<string>Advertising</string>
|
||||
<key>UILaunchStoryboardName</key>
|
||||
<string>LaunchScreen</string>
|
||||
<key>UIMainStoryboardFile</key>
|
||||
@ -46,10 +53,5 @@
|
||||
</array>
|
||||
<key>UIViewControllerBasedStatusBarAppearance</key>
|
||||
<false/>
|
||||
<key>NSAppTransportSecurity</key>
|
||||
<dict>
|
||||
<key>NSAllowsArbitraryLoads</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</dict>
|
||||
</plist>
|
||||
|
@ -13,14 +13,14 @@ fi
|
||||
cd luajit-src
|
||||
|
||||
# 32-bit
|
||||
make \
|
||||
make -j$(sysctl -n hw.ncpu) \
|
||||
HOST_CC="clang -m32 -arch i386" CROSS="$(dirname $IOS_CC)/" \
|
||||
TARGET_FLAGS="${IOS_FLAGS/-arch arm64/}" TARGET_SYS=iOS \
|
||||
-j$(sysctl -n hw.ncpu)
|
||||
mv src/libluajit.a tmp32.a
|
||||
make clean
|
||||
# 64-bit
|
||||
make \
|
||||
make -j$(sysctl -n hw.ncpu) \
|
||||
HOST_CC=clang CROSS="$(dirname $IOS_CC)/" \
|
||||
TARGET_FLAGS="${IOS_FLAGS/-arch armv7/}" TARGET_SYS=iOS \
|
||||
-j$(sysctl -n hw.ncpu)
|
||||
|
Loading…
x
Reference in New Issue
Block a user