Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions ports/pbc/CONTROL
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Source: pbc
Version: 0.5.14-1
Build-Depends: mpir
Version: 0.5.14-2
Build-Depends: mpir (windows)
Homepage: https://crypto.stanford.edu/pbc
Description: Pairing-Based Crypto library provides low-level routines for pairing-based cryptosystems.
15 changes: 3 additions & 12 deletions ports/pbc/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,14 +1,4 @@
include(vcpkg_common_functions)

vcpkg_check_linkage(ONLY_STATIC_LIBRARY)

if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
message(FATAL_ERROR "PBC currently can only be built for desktop")
endif()

if(VCPKG_CRT_LINKAGE STREQUAL "static" AND VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic")
message(FATAL_ERROR "PBC currently can only be built using the dynamic CRT when building DLLs")
endif()
vcpkg_fail_port_install(ON_ARCH "arm" "arm64" ON_TARGET "UWP")

set(PBC_VERSION 0.5.14)

Expand Down Expand Up @@ -78,8 +68,9 @@ if(VCPKG_CMAKE_SYSTEM_NAME)
)

file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include ${CURRENT_PACKAGES_DIR}/debug/share ${CURRENT_PACKAGES_DIR}/share/info)
configure_file(${SOURCE_PATH}/COPYING ${CURRENT_PACKAGES_DIR}/share/pbc/copyright COPYONLY)
file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
else()
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO blynn/pbc
Expand Down
2 changes: 2 additions & 0 deletions scripts/ci.baseline.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1297,6 +1297,8 @@ pangomm:x64-windows=ignore
pangomm:x86-windows=ignore
parmetis:x64-linux=fail
parmetis:x64-osx=fail
pbc:arm-uwp=fail
pbc:x64-uwp=fail
pcre2:arm-uwp=fail
pdal:x64-linux=fail
pdal:x64-osx=fail
Expand Down