Skip to content

Commit

Permalink
[open62541] Do not enable LTO by default. (#41947)
Browse files Browse the repository at this point in the history
Co-authored-by: Robin Oger <[email protected]>
  • Loading branch information
17steen and rogerqcify authored Nov 5, 2024
1 parent 9935247 commit 9c58903
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
3 changes: 3 additions & 0 deletions ports/open62541/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
1 change: 1 addition & 0 deletions ports/open62541/vcpkg.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -6586,7 +6586,7 @@
},
"open62541": {
"baseline": "1.3.14",
"port-version": 0
"port-version": 1
},
"open62541pp": {
"baseline": "0.15.0",
Expand Down
5 changes: 5 additions & 0 deletions versions/o-/open62541.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "59654f8355cc95fcb5bbce553890c918356495ab",
"version": "1.3.14",
"port-version": 1
},
{
"git-tree": "d4ec58974dd7eff8520638db5919283992c43cbe",
"version": "1.3.14",
Expand Down

0 comments on commit 9c58903

Please sign in to comment.