[tfhe] Add new port (#8386)

* [tfhe] Add new port

* Add the message for not support OSX

* Update message and ci.baseline.txt
This commit is contained in:
NancyLi1013 2020-01-06 14:58:27 -08:00 committed by dan-shaw
parent 71fd395f1a
commit ec2ceeba40
3 changed files with 31 additions and 0 deletions

4
ports/tfhe/CONTROL Normal file
View File

@ -0,0 +1,4 @@
Source: tfhe
Version: 1.0.1
Homepage: https://github.com/tfhe/tfhe
Description: TFHE is open-source software distributed under the terms of the Apache 2.0 license.

21
ports/tfhe/portfile.cmake Normal file
View File

@ -0,0 +1,21 @@
vcpkg_fail_port_install(MESSAGE "${PORT} currently only supports Linux" ON_TARGET "Windows" "osx")
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO tfhe/tfhe
REF v1.0.1
SHA512 1d625eb00bf6a36fd86cfad8e1763d7030dd73d68f2422d1678f51352708e9275f0ce69c23fb0d9fec30fba00e1ca4a3df29fb4fc6dfe3b7f16e0d350aa7f170
HEAD_REF master
)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}/src
PREFER_NINJA
)
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)

View File

@ -1604,6 +1604,12 @@ tensorflow-cc:x86-windows=fail
tesseract:x64-windows=ignore
tesseract:x64-windows-static=ignore
tesseract:x86-windows=ignore
tfhe:x86-windows=fail
tfhe:x64-windows=fail
tfhe:x64-windows-static=fail
tfhe:x64-uwp=fail
tfhe:arm64-windows=fail
tfhe:arm-uwp=fail
theia:arm64-windows = skip
theia:arm-uwp = skip
theia:x64-uwp = skip