Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/build-ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,7 @@ jobs:
working-directory: ${{ env.GITHUB_WORKSPACE }}
run: scripts/macos/xcframework_all.sh
env:
BUNDLE: 0
GA_CI_SECRET: ${{ secrets.CI_SECRET }}
- name: List output directory xout
run: ls -lah ./xout
Expand Down
4 changes: 2 additions & 2 deletions apothecary/apothecary
Original file line number Diff line number Diff line change
Expand Up @@ -1991,7 +1991,7 @@ function frameworkFormula() {
lipo -info "$lib_a"
#xcrun codesign --sign - "$lib_a" || true
. "$SECURE_SCRIPT"
secure "$lib_a" "$LIB_NAME" "$VERSION"
secure "$lib_a" "$LIB_NAME" "$VERSION" "$DEFINES" "$BUILD_ID" "${FORMULA_DEPENDS[*]}"
done

echoSuccess " xcframework for [$TYPE] transferring to [$XDIR]"
Expand Down Expand Up @@ -2276,7 +2276,7 @@ function xframeworkFormula() {
lipo -info "$lib_a"
#xcrun codesign --sign - "$lib_a" || true
. "$SECURE_SCRIPT"
secure "$lib_a" "$LIB_NAME" "$VERSION"
secure "$lib_a" "$LIB_NAME" "$VERSION" "$DEFINES" "$BUILD_ID" "${FORMULA_DEPENDS[*]}"
done

echo " -- deploy to xcframework [$X_LIBS]..."
Expand Down
2 changes: 1 addition & 1 deletion apothecary/formulas/curl/curl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ SHA1="c4a973118684745cb03c38987d131ccbce9e7ab1"
SHA256="d9b327997999045a24cda50f3983e69e51c516bd8be6ef9842fc7f99135e33bb"
CACERT_DATE=2026-07-16
CACERT_SHA256="3ff344e30b9b1ed2971044eabb438a08f2e2245ddb5f8ab1a3ad8b63ab4eaf91"
BUILD_ID=7
BUILD_ID=9
DEFINES=""
USE_OPENSSL=ON

Expand Down
21 changes: 11 additions & 10 deletions apothecary/formulas/openssl/openssl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,21 @@ FORMULA_DEPENDS=("zlib")
VER=4.0.1
VERDIR=4.0.0
VER_TAG="4.0"
OPENSSL_CMAKE_COMMIT=09cf1b80a64a5de840c2cbc69286c092821bcc39
OPENSSL_CMAKE_COMMIT=2186f38a68635ada55434b1fc9ee78fdf04a1718
SHA1=eaf5ac943564691e22c3a303bc8ffc9ea928fd5a
SHA256=2db3f3a0d6ea4b59e1f094ace2c8cd536dffb87cdc39084c5afa1e6f7f37dd09

BUILD_ID=7
BUILD_ID=9

CSTANDARD=c17 # c89 | c99 | c11 | gnu11
SITE=https://www.openssl.org
MIRROR=https://www.openssl.org
GIT_URL=https://github.com/danoli3/openssl-cmake

# openssl-cmake uses OPENSSL_ASM (not OPENSSL_NO_ASM) as the master switch.
# Passing only OPENSSL_NO_ASM=ON is overridden when Perl is present (ASM defaults ON),
# which breaks macOS x86_64 / some Windows static links (missing asm symbols).
# Enable assembly where the platform toolchain supports it. The Visual Studio
# branch below still overrides this because its static build has no complete
# NASM/MASM pipeline.
DEFINES="-DOPENSSL_NO_DEPRECATED=OFF \
-DOPENSSL_NO_COMP=ON \
-DOPENSSL_NO_EC_NISTP_64_GCC_128=ON \
Expand All @@ -39,8 +40,8 @@ DEFINES="-DOPENSSL_NO_DEPRECATED=OFF \
-DOPENSSL_NO_UNIT_TEST=ON \
-DOPENSSL_NO_WEAK_SSL_CIPHERS=OFF \
-DOPENSSL_NO_ASAN=ON \
-DOPENSSL_ASM=OFF \
-DOPENSSL_NO_ASM=ON \
-DOPENSSL_ASM=ON \
-DOPENSSL_NO_ASM=OFF \
-DOPENSSL_NO_CRYPTO_MDEBUG=ON \
-DOPENSSL_NO_DEVCRYPTOENG=ON \
-DOPENSSL_NO_EGD=ON \
Expand All @@ -54,6 +55,7 @@ DEFINES="-DOPENSSL_NO_DEPRECATED=OFF \
-DOPENSSL_STATIC_ENGINE=ON \
-DOPENSSL_THREADS=ON \
-DOPENSSL_RAND_SEED=os \
-DOPENSSL_BUILD_APPS=OFF \
-DBUILD_TESTING=OFF \
-DOPENSSL_NO_AFALGENG=ON \
-DOPENSSL_ZLIB=ON \
Expand Down Expand Up @@ -188,7 +190,7 @@ function build() {
-DOPENSSL_CMP=OFF \
"
if [[ "$TYPE" =~ ^(ios|tvos|xros|catos|watchos)$ ]]; then
DEFINES="${DEFINES} -DOPENSSL_BUILD_APPS=OFF -DHAVE_FORK=0"
DEFINES="${DEFINES} -DHAVE_FORK=0"
fi
rm -f CMakeCache.txt *.a *.o
cmake .. \
Expand Down Expand Up @@ -346,9 +348,8 @@ function build() {
ZLIB_LIBRARY="$LIBS_ROOT/zlib/lib/$TYPE/$PLATFORM/zlib.lib"

# Always disable ASM for VS static OF builds.
# OPENSSL_ASM=ON on x64 (previous) re-enabled asm after global OFF and
# fails without a complete NASM/MASM pipeline under openssl-cmake 4.x.
# Arm64/arm64ec already forced OFF; keep one path for all VS arches.
# The VS static build fails without a complete NASM/MASM pipeline under
# openssl-cmake 4.x; keep one ASM-disabled path for every VS architecture.
DEFINES="${DEFINES} -DOPENSSL_ASM=OFF -DOPENSSL_NO_ASM=ON"

mkdir -p "build_${TYPE}_${ARCH}"
Expand Down
Loading