Maybe fix ci
This commit is contained in:
parent
77cdab0823
commit
d36e39ee14
3 changed files with 8 additions and 4 deletions
|
|
@ -1,4 +0,0 @@
|
||||||
[target.aarch64-apple-ios]
|
|
||||||
linker="/usr/bin/clang"
|
|
||||||
[target.x86_64-apple-darwin]
|
|
||||||
linker="/usr/bin/clang"
|
|
||||||
|
|
@ -3,6 +3,13 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
PATH=$PATH:$HOME/.cargo/bin
|
PATH=$PATH:$HOME/.cargo/bin
|
||||||
|
if [[ -n "${DEVELOPER_SDK_DIR:-}" ]]; then
|
||||||
|
# Assume we're in Xcode, which means we're probably cross-compiling.
|
||||||
|
# In this case, we need to add an extra library search path for build scripts and proc-macros,
|
||||||
|
# which run on the host instead of the target.
|
||||||
|
# (macOS Big Sur does not have linkable libraries in /usr/lib/.)
|
||||||
|
export LIBRARY_PATH="${DEVELOPER_SDK_DIR}/MacOSX.sdk/usr/lib:${LIBRARY_PATH:-}"
|
||||||
|
fi
|
||||||
|
|
||||||
# If you want your build to run faster, add a "--targets x86_64-apple-ios" for just using the ios simulator.
|
# If you want your build to run faster, add a "--targets x86_64-apple-ios" for just using the ios simulator.
|
||||||
if [ -n "${IOS_TARGETS}" ]; then
|
if [ -n "${IOS_TARGETS}" ]; then
|
||||||
|
|
|
||||||
|
|
@ -253,6 +253,7 @@
|
||||||
DEBUG_INFORMATION_FORMAT = dwarf;
|
DEBUG_INFORMATION_FORMAT = dwarf;
|
||||||
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
||||||
ENABLE_TESTABILITY = YES;
|
ENABLE_TESTABILITY = YES;
|
||||||
|
"EXCLUDED_ARCHS[sdk=*]" = arm64;
|
||||||
GCC_C_LANGUAGE_STANDARD = gnu11;
|
GCC_C_LANGUAGE_STANDARD = gnu11;
|
||||||
GCC_DYNAMIC_NO_PIC = NO;
|
GCC_DYNAMIC_NO_PIC = NO;
|
||||||
GCC_NO_COMMON_BLOCKS = YES;
|
GCC_NO_COMMON_BLOCKS = YES;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue