From 9c58903f6573af7ee1c2166b3eb48862db582a00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9=C3=A9n?= <43650869+17steen@users.noreply.github.com> Date: Tue, 5 Nov 2024 09:55:52 +0100 Subject: [PATCH] [open62541] Do not enable LTO by default. (#41947) Co-authored-by: Robin Oger --- ports/open62541/portfile.cmake | 3 +++ ports/open62541/vcpkg.json | 1 + versions/baseline.json | 2 +- versions/o-/open62541.json | 5 +++++ 4 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ports/open62541/portfile.cmake b/ports/open62541/portfile.cmake index c5a537c456..31692bc0cd 100644 --- a/ports/open62541/portfile.cmake +++ b/ports/open62541/portfile.cmake @@ -10,6 +10,9 @@ vcpkg_from_github( vcpkg_replace_string("${SOURCE_PATH}/CMakeLists.txt" "add_subdirectory(doc)" "") vcpkg_replace_string("${SOURCE_PATH}/CMakeLists.txt" "include(linting_target)" "") +# do not enable LTO by default +vcpkg_replace_string("${SOURCE_PATH}/CMakeLists.txt" "set(CMAKE_INTERPROCEDURAL_OPTIMIZATION ON)" "") + vcpkg_replace_string("${SOURCE_PATH}/tools/cmake/open62541Config.cmake.in" "find_dependency(PythonInterp REQUIRED)" "") vcpkg_check_features( diff --git a/ports/open62541/vcpkg.json b/ports/open62541/vcpkg.json index 3cd9cfe84e..ecc3d729d3 100644 --- a/ports/open62541/vcpkg.json +++ b/ports/open62541/vcpkg.json @@ -1,6 +1,7 @@ { "name": "open62541", "version": "1.3.14", + "port-version": 1, "description": "open62541 is an open source C (C99) implementation of OPC UA licensed under the Mozilla Public License v2.0.", "homepage": "https://open62541.org", "license": "MPL-2.0", diff --git a/versions/baseline.json b/versions/baseline.json index 442ff13262..301cf0fa68 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -6586,7 +6586,7 @@ }, "open62541": { "baseline": "1.3.14", - "port-version": 0 + "port-version": 1 }, "open62541pp": { "baseline": "0.15.0", diff --git a/versions/o-/open62541.json b/versions/o-/open62541.json index 2141f791d9..8e38861291 100644 --- a/versions/o-/open62541.json +++ b/versions/o-/open62541.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "59654f8355cc95fcb5bbce553890c918356495ab", + "version": "1.3.14", + "port-version": 1 + }, { "git-tree": "d4ec58974dd7eff8520638db5919283992c43cbe", "version": "1.3.14",