Commit Graph

22 Commits

Author SHA1 Message Date
Nicola Ferruzzi ab3f2bc5e6
Add support for XROS (aka visionOS) (#53)
Co-authored-by: Davide De Rosa <keeshux@gmail.com>
2024-01-11 08:33:46 +01:00
Davide De Rosa 31c401bdf5
Mix OpenSSL patch and script version (#60)
SwiftPM only allows major.minor.patch version syntax, but we
need to avoid collisions.

E.g. OpenSSL 3.2.5 and script version 34 (0-99)

normalized_patch = (patch + 1) * 100 + script

-> 3.2.634

The +1 is necessary because e.g. 3.2.0 with script 34 would
translate to 3.2.34, which collides with OpenSSL versioning.

In this scheme, the repo tag will be of the form:

- .1xx (for 3.2.0)
- .2xx (for 3.2.1)
- ...

which is reversible to infer the OpenSSL patch.

E.g. 3.2.434

- Patch is 434
- OpenSSL patch is 434 / 100 - 1 = 3
- Script version is 434 % 100 = 34 (precondition is 0-99)

So 3.2.434 is OpenSSL 3.2.3 with script version 34
2023-12-16 13:56:52 +01:00
Davide De Rosa ccae2a7ebc
Fix script version not considered for tagging 2023-12-16 12:24:51 +01:00
Davide De Rosa 7d9804a8ac
Add arm64 target for Apple TV Simulator (#58) 2023-12-16 12:13:35 +01:00
hoppjan 12ad7b9efc
Fix OpenSSL 3 build issues (#52)
* OpenSSL 1.1.1x is EOL, this should make it work for 3.x.x versions.
See https://www.openssl.org/blog/blog/2023/03/28/1.1.1-EOL/

* Removed asm inheritance from config

* Make 3.x the standard parsing logic

* Drop all references to Bitcode

* Use newer -platform_version

* Default to 3.2.0

---------

Co-authored-by: Davide De Rosa <keeshux@gmail.com>
2023-12-12 11:41:50 +01:00
Davide De Rosa ac0d6f6d42
Reuse version normalizer (#44)
* Reuse get_openssl_version() from external script

* Improve variables usage in workflow

* Fix release notes generation

* Rename main job
2021-12-01 12:43:11 +01:00
Davide De Rosa b436a24d22 Fix min iOS SDK overridden globally
Some targets enforce iOS 13.0 as minimum SDK, whereas current
script was overriding IOS_MIN_SDK_VERSION at a global scope.

Override min SDK 13.0 in those targets specifically.

See 1cf972d36f

Fixes #30
2020-11-19 17:58:19 +01:00
Davide De Rosa 1cf972d36f Override min SDK for Apple Silicon
- iPhoneSimulator ARM64 = 13.0
- macOS ARM64 = 11.0

Would cause compiler warnings otherwise.
2020-11-12 19:00:09 +01:00
Davide De Rosa 2be1214e3b Strip and reorder targets
- Adjust target min SDKs to build script
- Split opensslconf suffix by platform
- Drop old i386 targets
2020-11-12 18:59:46 +01:00
Davide De Rosa 506c071196 Add macOS Catalyst support
Backported from fork:

- https://github.com/balthisar/openssl-xcframeworks
2020-11-07 13:21:31 +01:00
Davide De Rosa 184673f650 Drop support for OpenSSL 1.0.x 2020-11-07 00:21:11 +01:00
Andreas Verhoeven 1f6e54a774 Removed debug echo 2020-10-14 17:09:26 +02:00
Andreas Verhoeven a8745f135e Adds support for WatchOS Simulator on Xcode 12 (x86_64) 2020-10-14 16:49:39 +02:00
Davide De Rosa 78a70f645d Add WatchOS targets to build script
Squash commits by ezathashim <ezathashim@mac.com>
2019-09-26 09:39:59 +02:00
Davide De Rosa fbef7e0dca Prefix iOS archs for consistency 2018-02-08 16:45:10 +01:00
Davide De Rosa e455f1a1ae Add macOS archs/targets 2018-02-08 16:45:10 +01:00
Felix Schulze f28e63c656 Merge branch 'master' into master 2017-03-15 10:38:43 +01:00
g4bor k0vacs db8e598554 Allow to disable embedding Bitcode for OpenSSL 1.1.0+ too 2017-03-13 02:20:27 +01:00
g4bor k0vacs fd0b497792 Disable embedding Bitcode: --disable-bitcode option added (for OpenSSL 1.0.2 and lower ONLY) 2017-03-07 14:14:39 +01:00
Andrew Herbert addf784317 No need for --async build option 2017-03-06 09:31:01 +11:00
Andrew Herbert ee1cea7cd4 openssl 1.1.x's default configuration results in app store rejection: The app references non-public symbols in <app name>: _getcontext, _makecontext, _setcontext 2017-03-03 14:42:09 +11:00
Anton Tieleman 8a0cc68f6e Move 1.0 (archs) build loop to separate file and add 1.1 (targets) build loop 2016-11-06 12:20:48 +01:00