aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorBilly O'Neal <bion@microsoft.com>2021-07-14 12:46:05 -0700
committerGitHub <noreply@github.com>2021-07-14 12:46:05 -0700
commit957d2024b8d6ef44164559645dd898c306066964 (patch)
tree7efb14324d139bc22556cdf9d3896469a5846399 /ports
parentd369df7ecf194005eaca46f07368779cd486badd (diff)
downloadvcpkg-957d2024b8d6ef44164559645dd898c306066964.tar.gz
vcpkg-957d2024b8d6ef44164559645dd898c306066964.zip
Update to Ubuntu 20.04. (#18892)
* Update Ubuntu to 20.04. * [tfhe] Disable -Wall -Werror * [sophus] Disable -Werror. * Fix typo in deployment of CUDA. * Add libxxf86vm-dev for opensubdiv. * [opensubdiv] Fix OpenCL search on Ubuntu 20.04, and document libxxf86vm-dev dependency * [msgpack11] Disable -Werror. * [qtwayland, qt5wayland] Add system library notice. * Add python-is-python3 to unbreak tensorflow, v8, and others * [graphqlparser] Remove directive rejected by Bison 3.5.1 * [ogdf] Mark as failing in ci.baseline.txt. Issue filed https://github.com/microsoft/vcpkg/issues/18936 * [bde] Mark failing in ci.baseline.txt, issue filed https://github.com/microsoft/vcpkg/issues/18937 * [soem] Patch out -Werror * Update pool.
Diffstat (limited to 'ports')
-rw-r--r--ports/graphqlparser/CONTROL3
-rw-r--r--ports/graphqlparser/portfile.cmake1
-rw-r--r--ports/graphqlparser/remove-invalid-bison-directive.patch13
-rw-r--r--ports/graphqlparser/vcpkg.json6
-rw-r--r--ports/msgpack11/CONTROL6
-rw-r--r--ports/msgpack11/disable-werror.patch14
-rw-r--r--ports/msgpack11/portfile.cmake9
-rw-r--r--ports/msgpack11/vcpkg.json10
-rw-r--r--ports/opensubdiv/fix-version-search.patch13
-rw-r--r--ports/opensubdiv/portfile.cmake5
-rw-r--r--ports/opensubdiv/vcpkg.json2
-rw-r--r--ports/qt5-wayland/CONTROL4
-rw-r--r--ports/qt5-wayland/portfile.cmake8
-rw-r--r--ports/qt5-wayland/vcpkg.json13
-rw-r--r--ports/qtwayland/portfile.cmake4
-rw-r--r--ports/qtwayland/vcpkg.json1
-rw-r--r--ports/soem/CONTROL5
-rw-r--r--ports/soem/disable-werror.patch42
-rw-r--r--ports/soem/portfile.cmake3
-rw-r--r--ports/soem/vcpkg.json14
-rw-r--r--ports/sophus/CONTROL5
-rw-r--r--ports/sophus/disable-werror.patch18
-rw-r--r--ports/sophus/portfile.cmake3
-rw-r--r--ports/sophus/vcpkg.json12
-rw-r--r--ports/tfhe/CONTROL4
-rw-r--r--ports/tfhe/portfile.cmake5
-rw-r--r--ports/tfhe/vcpkg.json8
27 files changed, 191 insertions, 40 deletions
diff --git a/ports/graphqlparser/CONTROL b/ports/graphqlparser/CONTROL
deleted file mode 100644
index 128c49498..000000000
--- a/ports/graphqlparser/CONTROL
+++ /dev/null
@@ -1,3 +0,0 @@
-Source: graphqlparser
-Version: 0.7.0-1
-Description: A GraphQL query parser in C++ with C and C++ APIs
diff --git a/ports/graphqlparser/portfile.cmake b/ports/graphqlparser/portfile.cmake
index 67b8a2231..92e369110 100644
--- a/ports/graphqlparser/portfile.cmake
+++ b/ports/graphqlparser/portfile.cmake
@@ -7,6 +7,7 @@ vcpkg_from_github(
PATCHES
win-cmake.patch
static-compile-fix.patch
+ remove-invalid-bison-directive.patch
)
if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "Linux" OR VCPKG_CMAKE_SYSTEM_NAME STREQUAL "Darwin")
diff --git a/ports/graphqlparser/remove-invalid-bison-directive.patch b/ports/graphqlparser/remove-invalid-bison-directive.patch
new file mode 100644
index 000000000..0e0b896dc
--- /dev/null
+++ b/ports/graphqlparser/remove-invalid-bison-directive.patch
@@ -0,0 +1,13 @@
+diff --git a/parser.ypp b/parser.ypp
+index 2afbcac..baa9cab 100644
+--- a/parser.ypp
++++ b/parser.ypp
+@@ -7,8 +7,6 @@
+ * of patent rights can be found in the PATENTS file in the same directory.
+ */
+
+-%require "3"
+-
+ %skeleton "lalr1.cc"
+
+ %defines
diff --git a/ports/graphqlparser/vcpkg.json b/ports/graphqlparser/vcpkg.json
new file mode 100644
index 000000000..d859a1f19
--- /dev/null
+++ b/ports/graphqlparser/vcpkg.json
@@ -0,0 +1,6 @@
+{
+ "name": "graphqlparser",
+ "version-string": "0.7.0",
+ "port-version": 2,
+ "description": "A GraphQL query parser in C++ with C and C++ APIs"
+}
diff --git a/ports/msgpack11/CONTROL b/ports/msgpack11/CONTROL
deleted file mode 100644
index 3fde8f39c..000000000
--- a/ports/msgpack11/CONTROL
+++ /dev/null
@@ -1,6 +0,0 @@
-Source: msgpack11
-Version: 0.0.10-1
-Homepage: https://msgpack.org
-Build-Depends: gtest
-Description: msgpack11 is a tiny MsgPack library for C++11, providing MsgPack parsing and serialization.This library is inspired by json11.The API of msgpack11 is designed to be similar with json11.
-
diff --git a/ports/msgpack11/disable-werror.patch b/ports/msgpack11/disable-werror.patch
new file mode 100644
index 000000000..eb4a17e08
--- /dev/null
+++ b/ports/msgpack11/disable-werror.patch
@@ -0,0 +1,14 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 080cefa..b73072a 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -9,9 +9,6 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
+ add_library(msgpack11 STATIC msgpack11.cpp)
+ target_include_directories(msgpack11 PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
+ target_compile_options(msgpack11 PRIVATE -fno-rtti)
+-if(NOT MSVC)
+- target_compile_options(msgpack11 PRIVATE -Wall -Wextra -Werror)
+-endif()
+ configure_file("msgpack11.pc.in" "msgpack11.pc" @ONLY)
+
+ if (MSGPACK11_BUILD_TESTS)
diff --git a/ports/msgpack11/portfile.cmake b/ports/msgpack11/portfile.cmake
index cf828f6b1..f4dc73c63 100644
--- a/ports/msgpack11/portfile.cmake
+++ b/ports/msgpack11/portfile.cmake
@@ -8,19 +8,20 @@ vcpkg_from_github(
PATCHES
msvc.patch
fix-additerator.patch
+ disable-werror.patch
)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS
- -DMSGPACK11_BUILD_TESTS=OFF
- -DMSGPACK11_BUILD_EXAMPLES=OFF
+ -DMSGPACK11_BUILD_TESTS=OFF
+ -DMSGPACK11_BUILD_EXAMPLES=OFF
)
vcpkg_install_cmake()
vcpkg_copy_pdbs()
-file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
-file(INSTALL ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
+file(INSTALL "${SOURCE_PATH}/LICENSE.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
diff --git a/ports/msgpack11/vcpkg.json b/ports/msgpack11/vcpkg.json
new file mode 100644
index 000000000..0072e7dfd
--- /dev/null
+++ b/ports/msgpack11/vcpkg.json
@@ -0,0 +1,10 @@
+{
+ "name": "msgpack11",
+ "version": "0.0.10",
+ "port-version": 2,
+ "description": "msgpack11 is a tiny MsgPack library for C++11, providing MsgPack parsing and serialization.This library is inspired by json11.The API of msgpack11 is designed to be similar with json11.",
+ "homepage": "https://msgpack.org",
+ "dependencies": [
+ "gtest"
+ ]
+}
diff --git a/ports/opensubdiv/fix-version-search.patch b/ports/opensubdiv/fix-version-search.patch
new file mode 100644
index 000000000..797347285
--- /dev/null
+++ b/ports/opensubdiv/fix-version-search.patch
@@ -0,0 +1,13 @@
+diff --git a/cmake/FindOpenCL.cmake b/cmake/FindOpenCL.cmake
+index 485e55e..1c98b91 100644
+--- a/cmake/FindOpenCL.cmake
++++ b/cmake/FindOpenCL.cmake
+@@ -177,7 +177,7 @@ if(_OPENCL_CPP_INCLUDE_DIRS)
+
+ if(EXISTS "${OPENCL_INCLUDE_DIRS}/CL/cl.h")
+
+- file(STRINGS "${OPENCL_INCLUDE_DIRS}/CL/cl.h" LINES REGEX "^#define CL_VERSION_.*$")
++ file(STRINGS "${OPENCL_INCLUDE_DIRS}/CL/cl.h" LINES REGEX "^#define CL_VERSION_[0-9]+_[0-9]+.*$")
+
+ foreach(LINE ${LINES})
+
diff --git a/ports/opensubdiv/portfile.cmake b/ports/opensubdiv/portfile.cmake
index defd00a5a..03ec368c2 100644
--- a/ports/opensubdiv/portfile.cmake
+++ b/ports/opensubdiv/portfile.cmake
@@ -8,14 +8,15 @@ vcpkg_from_github(
HEAD_REF master
PATCHES
fix_compile-option.patch
+ fix-version-search.patch
)
if(VCPKG_TARGET_IS_LINUX)
message(
"OpenSubdiv currently requires the following libraries from the system package manager:
- xinerama
+ xinerama xxf86vm
-These can be installed on Ubuntu systems via sudo apt install libxinerama-dev")
+These can be installed on Ubuntu systems via sudo apt install libxinerama-dev libxxf86vm-dev")
endif()
vcpkg_find_acquire_program(PYTHON2)
diff --git a/ports/opensubdiv/vcpkg.json b/ports/opensubdiv/vcpkg.json
index 42a86d483..dc6b41f65 100644
--- a/ports/opensubdiv/vcpkg.json
+++ b/ports/opensubdiv/vcpkg.json
@@ -1,7 +1,7 @@
{
"name": "opensubdiv",
"version-semver": "3.4.3",
- "port-version": 1,
+ "port-version": 2,
"description": "An Open-Source subdivision surface library.",
"homepage": "https://github.com/PixarAnimationStudios/OpenSubdiv",
"supports": "!arm & !uwp"
diff --git a/ports/qt5-wayland/CONTROL b/ports/qt5-wayland/CONTROL
deleted file mode 100644
index 84f8cd621..000000000
--- a/ports/qt5-wayland/CONTROL
+++ /dev/null
@@ -1,4 +0,0 @@
-Source: qt5-wayland
-Version: 5.15.2
-Description: Qt5 wayland Module;
-Build-Depends: qt5-base[core]
diff --git a/ports/qt5-wayland/portfile.cmake b/ports/qt5-wayland/portfile.cmake
index a9d16989e..42560f179 100644
--- a/ports/qt5-wayland/portfile.cmake
+++ b/ports/qt5-wayland/portfile.cmake
@@ -1,6 +1,8 @@
-#Will not build on Windows!
+#Will not build on Windows!
message(WARNING "This port is just a placeholder until the required wayland libraries have been added into VCPKG! \
As such the build will most likely fail until your system has the required wayland libraries installed (untested)")
-
+message(WARNING "qtwayland requires libwayland-dev from your system package manager. You can install it with
+sudo apt install libwayland-dev
+on Ubuntu systems.")
include(${CURRENT_INSTALLED_DIR}/share/qt5/qt_port_functions.cmake)
-qt_submodule_installation() \ No newline at end of file
+qt_submodule_installation()
diff --git a/ports/qt5-wayland/vcpkg.json b/ports/qt5-wayland/vcpkg.json
new file mode 100644
index 000000000..7ccb51624
--- /dev/null
+++ b/ports/qt5-wayland/vcpkg.json
@@ -0,0 +1,13 @@
+{
+ "name": "qt5-wayland",
+ "version-string": "5.15.2",
+ "port-version": 2,
+ "description": "Qt5 wayland Module;",
+ "supports": "linux",
+ "dependencies": [
+ {
+ "name": "qt5-base",
+ "default-features": false
+ }
+ ]
+}
diff --git a/ports/qtwayland/portfile.cmake b/ports/qtwayland/portfile.cmake
index 787758cbb..cac3fa73e 100644
--- a/ports/qtwayland/portfile.cmake
+++ b/ports/qtwayland/portfile.cmake
@@ -1,6 +1,10 @@
set(SCRIPT_PATH "${CURRENT_INSTALLED_DIR}/share/qtbase")
include("${SCRIPT_PATH}/qt_install_submodule.cmake")
+message(WARNING "qtwayland requires libwayland-dev from your system package manager. You can install it with
+sudo apt install libwayland-dev
+on Ubuntu systems.")
+
set(${PORT}_PATCHES)
set(TOOL_NAMES qtwaylandscanner)
diff --git a/ports/qtwayland/vcpkg.json b/ports/qtwayland/vcpkg.json
index 9799150e1..ae2d9d17b 100644
--- a/ports/qtwayland/vcpkg.json
+++ b/ports/qtwayland/vcpkg.json
@@ -1,6 +1,7 @@
{
"name": "qtwayland",
"version-semver": "6.1.2",
+ "port-version": 2,
"description": "A toolbox for making Qt based Wayland compositors",
"homepage": "https://www.qt.io/",
"supports": "!windows",
diff --git a/ports/soem/CONTROL b/ports/soem/CONTROL
deleted file mode 100644
index f3194a53b..000000000
--- a/ports/soem/CONTROL
+++ /dev/null
@@ -1,5 +0,0 @@
-Source: soem
-Version: 1.4.0
-Homepage: https://github.com/OpenEtherCATsociety/SOEM
-Description: Simple Open Source EtherCAT Master
-Build-Depends: winpcap (windows)
diff --git a/ports/soem/disable-werror.patch b/ports/soem/disable-werror.patch
new file mode 100644
index 000000000..7c1fd9685
--- /dev/null
+++ b/ports/soem/disable-werror.patch
@@ -0,0 +1,42 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 1778965..4c481b7 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -13,21 +13,18 @@ set(BUILD_TESTS TRUE)
+
+ if(WIN32)
+ set(OS "win32")
+- find_path(winpcap_INCLUDE_DIRS NAMES pcap.h)
+- find_library(winpcap_LIBRARY NAMES wpcap)
+- find_library(packet_LIBRARY NAMES packet)
+- include_directories(${winpcap_INCLUDE_DIRS})
++ find_path(winpcap_INCLUDE_DIRS NAMES pcap.h)
++ find_library(winpcap_LIBRARY NAMES wpcap)
++ find_library(packet_LIBRARY NAMES packet)
++ include_directories(${winpcap_INCLUDE_DIRS})
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /D _CRT_SECURE_NO_WARNINGS")
+- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /WX")
+- set(OS_LIBS ${winpcap_LIBRARY} ${packet_LIBRARY} Ws2_32.lib Winmm.lib)
++ set(OS_LIBS ${winpcap_LIBRARY} ${packet_LIBRARY} Ws2_32.lib Winmm.lib)
+ elseif(UNIX AND NOT APPLE)
+ set(OS "linux")
+- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Werror")
+ set(OS_LIBS pthread rt)
+ elseif(APPLE)
+ # This must come *before* linux or MacOSX will identify as Unix.
+ set(OS "macosx")
+- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Werror")
+ set(OS_LIBS pthread pcap)
+ elseif(${CMAKE_SYSTEM_NAME} MATCHES "rt-kernel")
+ set(OS "rtk")
+@@ -36,10 +33,6 @@ elseif(${CMAKE_SYSTEM_NAME} MATCHES "rt-kernel")
+ include_directories(oshw/${OS}/${ARCH})
+ file(GLOB OSHW_EXTRA_SOURCES oshw/${OS}/${ARCH}/*.c)
+ set(OSHW_SOURCES "${OS_HW_SOURCES} ${OSHW_ARCHSOURCES}")
+- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Werror")
+- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-unused-but-set-variable")
+- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-unused-function")
+- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-format")
+ set(OS_LIBS "-Wl,--start-group -l${BSP} -l${ARCH} -lkern -ldev -lsio -lblock -lfs -lusb -llwip -leth -li2c -lrtc -lcan -lnand -lspi -lnor -lpwm -ladc -ltrace -lc -lm -Wl,--end-group")
+ elseif(${CMAKE_SYSTEM_NAME} MATCHES "rtems")
+ message("Building for RTEMS")
diff --git a/ports/soem/portfile.cmake b/ports/soem/portfile.cmake
index 3eccfeb3a..e80e64a3e 100644
--- a/ports/soem/portfile.cmake
+++ b/ports/soem/portfile.cmake
@@ -8,8 +8,9 @@ vcpkg_from_github(
REF abbf0d42e38d6cfbaa4c1e9e8e07ace651c386fd #v1.4.0
SHA512 2967775c6746bb63becea5eb12f136c184bbf874e1e5e8753374bfc212ec9cefbf1159350e79627b978af3562d261b61c50f38936a425c4d9c70598a1d136817
HEAD_REF master
- PATCHES
+ PATCHES
winpcap.patch
+ disable-werror.patch
)
vcpkg_configure_cmake(
diff --git a/ports/soem/vcpkg.json b/ports/soem/vcpkg.json
new file mode 100644
index 000000000..ffa002687
--- /dev/null
+++ b/ports/soem/vcpkg.json
@@ -0,0 +1,14 @@
+{
+ "name": "soem",
+ "version-string": "1.4.0",
+ "port-version": 2,
+ "description": "Simple Open Source EtherCAT Master",
+ "homepage": "https://github.com/OpenEtherCATsociety/SOEM",
+ "supports": "!uwp",
+ "dependencies": [
+ {
+ "name": "winpcap",
+ "platform": "windows"
+ }
+ ]
+}
diff --git a/ports/sophus/CONTROL b/ports/sophus/CONTROL
deleted file mode 100644
index d3c81de77..000000000
--- a/ports/sophus/CONTROL
+++ /dev/null
@@ -1,5 +0,0 @@
-Source: sophus
-Version: 1.0.0-6
-Build-Depends: eigen3, ceres, suitesparse
-Homepage: https://github.com/strasdat/Sophus
-Description: Lie group library for C++
diff --git a/ports/sophus/disable-werror.patch b/ports/sophus/disable-werror.patch
new file mode 100644
index 000000000..60bfa7d5b
--- /dev/null
+++ b/ports/sophus/disable-werror.patch
@@ -0,0 +1,18 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 844f304..952915b 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -16,11 +16,11 @@ set(CMAKE_CXX_STANDARD 14)
+ IF("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
+ SET(CMAKE_CXX_FLAGS_DEBUG "-O0 -g")
+ SET(CMAKE_CXX_FLAGS_RELEASE "-O3")
+- SET(CMAKE_CXX_FLAGS "-Wall -Werror -Wextra -Wno-deprecated-register -std=c++14 -stdlib=libc++ -Wno-deprecated-register")
++ SET(CMAKE_CXX_FLAGS "-std=c++14 -stdlib=libc++")
+ ELSEIF("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
+ SET(CMAKE_CXX_FLAGS_DEBUG "-O0 -g")
+ SET(CMAKE_CXX_FLAGS_RELEASE "-O3")
+- SET(CMAKE_CXX_FLAGS "-Wall -Werror -Wextra -std=c++14 -Wno-deprecated-declarations -ftemplate-backtrace-limit=0")
++ SET(CMAKE_CXX_FLAGS "-std=c++14 -ftemplate-backtrace-limit=0")
+ SET(CMAKE_CXX_FLAGS_COVERAGE "${CMAKE_CXX_FLAGS_DEBUG} --coverage -fno-inline -fno-inline-small-functions -fno-default-inline")
+ SET(CMAKE_EXE_LINKER_FLAGS_COVERAGE "${CMAKE_EXE_LINKER_FLAGS_DEBUG} --coverage")
+ SET(CMAKE_SHARED_LINKER_FLAGS_COVERAGE "${CMAKE_SHARED_LINKER_FLAGS_DEBUG} --coverage")
diff --git a/ports/sophus/portfile.cmake b/ports/sophus/portfile.cmake
index ee7a6d576..a90640126 100644
--- a/ports/sophus/portfile.cmake
+++ b/ports/sophus/portfile.cmake
@@ -6,6 +6,7 @@ vcpkg_from_github(
HEAD_REF master
PATCHES
fix_cmakelists.patch
+ disable-werror.patch
)
vcpkg_configure_cmake(
@@ -20,4 +21,4 @@ vcpkg_copy_pdbs()
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/lib)
-file(INSTALL ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT}/ RENAME copyright)
+file(INSTALL "${SOURCE_PATH}/LICENSE.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
diff --git a/ports/sophus/vcpkg.json b/ports/sophus/vcpkg.json
new file mode 100644
index 000000000..ef8001d5e
--- /dev/null
+++ b/ports/sophus/vcpkg.json
@@ -0,0 +1,12 @@
+{
+ "name": "sophus",
+ "version": "1.0.0",
+ "port-version": 7,
+ "description": "Lie group library for C++",
+ "homepage": "https://github.com/strasdat/Sophus",
+ "dependencies": [
+ "ceres",
+ "eigen3",
+ "suitesparse"
+ ]
+}
diff --git a/ports/tfhe/CONTROL b/ports/tfhe/CONTROL
deleted file mode 100644
index 514e5fbee..000000000
--- a/ports/tfhe/CONTROL
+++ /dev/null
@@ -1,4 +0,0 @@
-Source: tfhe
-Version: 1.0.1-1
-Homepage: https://github.com/tfhe/tfhe
-Description: TFHE is open-source software distributed under the terms of the Apache 2.0 license.
diff --git a/ports/tfhe/portfile.cmake b/ports/tfhe/portfile.cmake
index aa98703eb..fc06a54a6 100644
--- a/ports/tfhe/portfile.cmake
+++ b/ports/tfhe/portfile.cmake
@@ -10,6 +10,9 @@ vcpkg_from_github(
mac-fix.patch
)
+# Workaround for https://github.com/tfhe/tfhe/issues/246
+vcpkg_replace_string("${SOURCE_PATH}/src/CMakeLists.txt" "-Wall -Werror" "")
+
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}/src
PREFER_NINJA
@@ -20,4 +23,4 @@ vcpkg_install_cmake()
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
# Handle copyright
-file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) \ No newline at end of file
+file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
diff --git a/ports/tfhe/vcpkg.json b/ports/tfhe/vcpkg.json
new file mode 100644
index 000000000..73898248b
--- /dev/null
+++ b/ports/tfhe/vcpkg.json
@@ -0,0 +1,8 @@
+{
+ "name": "tfhe",
+ "version-semver": "1.0.1",
+ "port-version": 2,
+ "description": "TFHE is open-source software distributed under the terms of the Apache 2.0 license.",
+ "homepage": "https://github.com/tfhe/tfhe",
+ "supports": "!windows"
+}