Skip to content

Commit

Permalink
[openssl] Update to 3.1.3, disable asm on arm32 neon (#33890)
Browse files Browse the repository at this point in the history
* [openssl] update version to 3.1.3

* [openssl] removed patches that are already applied in version 3.1.3 for windows

* [openssl] format vcpkg.json

* [openssl] update version information

* Revert armcap changes (WIP)

* WIP

* Revert "Revert armcap changes (WIP)"

This reverts commit a451e6e.

* Trace

* Revert "Trace"

This reverts commit 91e6428.

* [openssl] Disable asm also on arm32 neon

* Revert "WIP"

This reverts commit b7c3a6d.

---------

Co-authored-by: Carsten Grimm <carsten.grimm@ipolog.ai>
  • Loading branch information
dg0yt and carsten-grimm-at-ipolog committed Sep 24, 2023
1 parent 930bd39 commit 5a38b5e
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 63 deletions.
16 changes: 0 additions & 16 deletions ports/openssl/arm64-asm.patch

This file was deleted.

4 changes: 1 addition & 3 deletions ports/openssl/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,13 @@ vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO openssl/openssl
REF "openssl-${VERSION}"
SHA512 c48ad86265b0fee18b23863b645a286d131a863a3418c7d2ed6c819eebb822ad0f2985ba3ecbf4def32515442f0eb40aba08f3146d113247e86ec80fbddca1c1
SHA512 248353b000ef6b9a3434bf808b147eb4672c82f36968b2995c159373680f80208183bb70c02effa36ae4a1705fe5a5e315960075e8899352c4e84069d6c651c2
PATCHES
arm64-asm.patch
disable-apps.patch
disable-install-docs.patch
script-prefix.patch
windows/install-layout.patch
windows/install-pdbs.patch
windows/perlasm-scheme.patch
unix/android-cc.patch
unix/move-openssldir.patch
unix/no-empty-dirs.patch
Expand Down
3 changes: 2 additions & 1 deletion ports/openssl/unix/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ vcpkg_list(SET MAKEFILE_OPTIONS)
if(VCPKG_TARGET_IS_ANDROID)
set(ENV{ANDROID_NDK_ROOT} "${VCPKG_DETECTED_CMAKE_ANDROID_NDK}")
set(OPENSSL_ARCH "android-${VCPKG_DETECTED_CMAKE_ANDROID_ARCH}")
if(VCPKG_DETECTED_CMAKE_ANDROID_ARCH STREQUAL "arm" AND NOT VCPKG_DETECTED_CMAKE_ANDROID_ARM_NEON)
# asm on arm32 NEON is broken, https://github.com/openssl/openssl/pull/21583#issuecomment-1727057735
if(VCPKG_DETECTED_CMAKE_ANDROID_ARCH STREQUAL "arm" #[[AND NOT VCPKG_DETECTED_CMAKE_ANDROID_ARM_NEON]])
vcpkg_list(APPEND CONFIGURE_OPTIONS no-asm)
endif()
elseif(VCPKG_TARGET_IS_LINUX)
Expand Down
3 changes: 1 addition & 2 deletions ports/openssl/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "openssl",
"version": "3.1.2",
"port-version": 3,
"version": "3.1.3",
"description": "OpenSSL is an open source project that provides a robust, commercial-grade, and full-featured toolkit for the Transport Layer Security (TLS) and Secure Sockets Layer (SSL) protocols. It is also a general-purpose cryptography library.",
"homepage": "https://www.openssl.org",
"license": "Apache-2.0",
Expand Down
39 changes: 0 additions & 39 deletions ports/openssl/windows/perlasm-scheme.patch

This file was deleted.

4 changes: 2 additions & 2 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -6161,8 +6161,8 @@
"port-version": 3
},
"openssl": {
"baseline": "3.1.2",
"port-version": 3
"baseline": "3.1.3",
"port-version": 0
},
"openssl-unix": {
"baseline": "deprecated",
Expand Down
5 changes: 5 additions & 0 deletions versions/o-/openssl.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "e57c0f392fd8486892a91ca82b7bf2e34c59e374",
"version": "3.1.3",
"port-version": 0
},
{
"git-tree": "11cbc05950decb26474353fb9c0bfed3be3008c4",
"version": "3.1.2",
Expand Down

0 comments on commit 5a38b5e

Please sign in to comment.