Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bulk remove remaining vcpkg_fail_port_install calls. #22770

Merged
merged 5 commits into from
Jan 25, 2022
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 0 additions & 2 deletions ports/3fd/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
vcpkg_fail_port_install(ON_TARGET "osx" "linux")

# Check architecture:
if (VCPKG_TARGET_ARCHITECTURE STREQUAL "x86")
set(BUILD_ARCH "Win32")
Expand Down
2 changes: 1 addition & 1 deletion ports/3fd/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "3fd",
"version": "2.6.3",
"port-version": 1,
"port-version": 2,
"description": "C++ Framework For Fast Development",
"supports": "windows & !static & !arm64",
"dependencies": [
Expand Down
2 changes: 0 additions & 2 deletions ports/7zip/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
vcpkg_fail_port_install(ON_ARCH "arm" ON_TARGET "uwp" "linux" "osx")

set(7ZIP_VERSION 19.00)
vcpkg_download_distfile(ARCHIVE
URLS "https://www.7-zip.org/a/7z1900-src.7z"
Expand Down
2 changes: 1 addition & 1 deletion ports/7zip/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "7zip",
"version-string": "19.00",
"port-version": 3,
"port-version": 4,
"description": "Library for archiving file with a high compression ratio.",
"homepage": "https://www.7-zip.org",
"supports": "!(linux | osx | arm | uwp)"
Expand Down
2 changes: 0 additions & 2 deletions ports/akali/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
vcpkg_fail_port_install(ON_ARCH "arm" "arm64" ON_TARGET "UWP")

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO winsoft666/akali
Expand Down
2 changes: 1 addition & 1 deletion ports/akali/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "akali",
"version-string": "1.42",
"port-version": 2,
"port-version": 3,
"description": "C++ Common Library.",
"homepage": "https://github.com/winsoft666/akali",
"supports": "!(arm | arm64 | uwp)"
Expand Down
5 changes: 0 additions & 5 deletions ports/alembic/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
vcpkg_fail_port_install(ON_TARGET "UWP")
if(VCPKG_TARGET_IS_WINDOWS)
vcpkg_fail_port_install(ON_ARCH "x86") # see https://github.com/alembic/alembic/issues/372
endif()

vcpkg_buildpath_length_warning(37)

vcpkg_from_github(
Expand Down
1 change: 1 addition & 0 deletions ports/alembic/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "alembic",
"version": "1.8.3",
"port-version": 1,
"description": "Alembic is an open framework for storing and sharing scene data that includes a C++ library, a file format, and client plugins and applications.",
"homepage": "https://alembic.io/",
"supports": "!(windows & x86) & !uwp",
Expand Down
2 changes: 0 additions & 2 deletions ports/ampl-asl/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)

vcpkg_fail_port_install(ON_TARGET "UWP")

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO ampl/asl
Expand Down
2 changes: 1 addition & 1 deletion ports/ampl-asl/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "ampl-asl",
"version-string": "2020-11-11",
"port-version": 1,
"port-version": 2,
"description": "AMPL Solver Library",
"homepage": "https://github.com/ampl/asl",
"supports": "!uwp"
Expand Down
4 changes: 1 addition & 3 deletions ports/ampl-mp/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)

vcpkg_fail_port_install(ON_TARGET "UWP")

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO ampl/mp
Expand Down Expand Up @@ -49,4 +47,4 @@ file(REMOVE_RECURSE
${CURRENT_PACKAGES_DIR}/bin
)

configure_file(${SOURCE_PATH}/LICENSE.rst ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)
configure_file(${SOURCE_PATH}/LICENSE.rst ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)
2 changes: 1 addition & 1 deletion ports/ampl-mp/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "ampl-mp",
"version-string": "2020-11-11",
"port-version": 1,
"port-version": 2,
"description": "An open-source library for mathematical programming",
"homepage": "https://github.com/ampl/mp",
"supports": "!uwp",
Expand Down
2 changes: 0 additions & 2 deletions ports/amqpcpp/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
vcpkg_fail_port_install(ON_TARGET "UWP")

vcpkg_check_linkage(ONLY_STATIC_LIBRARY)

vcpkg_from_github(
Expand Down
1 change: 1 addition & 0 deletions ports/amqpcpp/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "amqpcpp",
"version": "4.3.15",
"port-version": 1,
"description": "AMQP-CPP is a C++ library for communicating with a RabbitMQ message broker",
"homepage": "https://github.com/CopernicaMarketingSoftware/AMQP-CPP",
"supports": "!uwp",
Expand Down
4 changes: 1 addition & 3 deletions ports/antlr4/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
vcpkg_fail_port_install(ON_TARGET "uwp")

set(VERSION 4.9.3)

vcpkg_download_distfile(ARCHIVE
Expand All @@ -20,7 +18,7 @@ vcpkg_extract_source_archive_ex(
ARCHIVE ${ARCHIVE}
NO_REMOVE_ONE_LEVEL
REF ${VERSION}
PATCHES
PATCHES
fixed_build.patch
uuid_discovery_fix.patch
export_guid.patch
Expand Down
1 change: 1 addition & 0 deletions ports/antlr4/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "antlr4",
"version": "4.9.3",
"port-version": 1,
"description": "ANother Tool for Language Recognition",
"homepage": "https://www.antlr.org",
"supports": "!uwp",
Expand Down
4 changes: 0 additions & 4 deletions ports/apsi/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)

if("hexl" IN_LIST FEATURES)
vcpkg_fail_port_install(ON_ARCH "x86" "arm" "arm64")
endif()

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO microsoft/APSI
Expand Down
1 change: 1 addition & 0 deletions ports/apsi/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "apsi",
"version-semver": "0.7.0",
"port-version": 1,
"description": "APSI is a research library for asymmetric private set intersection.",
"homepage": "https://github.com/microsoft/APSI",
"supports": "static",
Expand Down
4 changes: 1 addition & 3 deletions ports/arcus/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
vcpkg_fail_port_install(ON_TARGET "UWP")

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO Ultimaker/libArcus
Expand Down Expand Up @@ -28,4 +26,4 @@ vcpkg_cmake_config_fixup(PACKAGE_NAME Arcus CONFIG_PATH lib/cmake/Arcus)

file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")

configure_file("${SOURCE_PATH}/LICENSE" "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright" COPYONLY)
configure_file("${SOURCE_PATH}/LICENSE" "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright" COPYONLY)
2 changes: 1 addition & 1 deletion ports/arcus/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "arcus",
"version-semver": "4.10.0",
"port-version": 1,
"port-version": 2,
"description": "This library contains C++ bindings for creating a socket in a thread and using this socket to send and receive messages based on the Protocol Buffers library.",
"homepage": "https://github.com/Ultimaker/libArcus",
"supports": "!uwp",
Expand Down
4 changes: 1 addition & 3 deletions ports/ashes/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
vcpkg_fail_port_install(ON_TARGET "UWP" "iOS" "Android" ON_ARCH "x86" "arm")

vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY)

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO DragonJoker/Ashes
REF 0f4e6d0ea308eb60ae32274acc9a4d345a4977ff
SHA512 0ce74780786d018e7a447c4e49d3cd83ad53b238a79fc484025e2034cd49a64253363cd592d2da367befa7cd5443b90eb1c5dae54b22756f7b4a0cdecb93c588
PATCHES
PATCHES
fix-cast.patch
)
vcpkg_configure_cmake(
Expand Down
1 change: 1 addition & 0 deletions ports/ashes/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "ashes",
"version-date": "2021-06-18",
"port-version": 1,
"description": "Drop-in replacement to Vulkan's shared library, allowing the use of OpenGL or Direct3D11 in addition to Vulkan.",
"homepage": "https://github.com/DragonJoker/Ashes",
"supports": "!osx & !linux & !ios & !android & !uwp & !x86 & !arm & !static",
Expand Down
2 changes: 0 additions & 2 deletions ports/asiosdk/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
vcpkg_fail_port_install(ON_ARCH "arm" "arm64" ON_TARGET "Linux" "OSX" "uwp")

set(VERSION 2.3.3)

vcpkg_download_distfile(ARCHIVE
Expand Down
2 changes: 1 addition & 1 deletion ports/asiosdk/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "asiosdk",
"version": "2.3.3",
"port-version": 3,
"port-version": 4,
"description": "ASIO is a low latency audio API from Steinberg.",
"homepage": "https://www.steinberg.net/en/company/developers.html",
"supports": "windows & !(arm | uwp)"
Expand Down
2 changes: 0 additions & 2 deletions ports/asmjit/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
vcpkg_fail_port_install(ON_ARCH "arm")

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO asmjit/asmjit
Expand Down
1 change: 1 addition & 0 deletions ports/asmjit/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "asmjit",
"version-date": "2021-10-26",
"port-version": 1,
"description": "Complete x86/x64 JIT and Remote Assembler for C++",
"homepage": "https://github.com/asmjit/asmjit",
"supports": "!arm",
Expand Down
2 changes: 0 additions & 2 deletions ports/avisynthplus/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
vcpkg_fail_port_install(ON_ARCH "arm" "arm64" ON_TARGET "UWP")

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO AviSynth/AviSynthPlus
Expand Down
2 changes: 1 addition & 1 deletion ports/avisynthplus/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "avisynthplus",
"version-semver": "3.7.0",
"port-version": 2,
"port-version": 3,
"description": "An improved version of the AviSynth frameserver, with improved features and developer friendliness",
"homepage": "https://avs-plus.net/",
"supports": "!arm & !uwp"
Expand Down
3 changes: 1 addition & 2 deletions ports/avro-c/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
vcpkg_buildpath_length_warning(37)
vcpkg_fail_port_install(ON_TARGET "uwp")
if(VCPKG_TARGET_IS_WINDOWS)
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
endif()
Expand Down Expand Up @@ -40,4 +39,4 @@ if(VCPKG_LIBRARY_LINKAGE STREQUAL "static" AND NOT VCPKG_TARGET_IS_WINDOWS)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
endif()

file(INSTALL "${SOURCE_PATH}/lang/c/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
file(INSTALL "${SOURCE_PATH}/lang/c/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
2 changes: 1 addition & 1 deletion ports/avro-c/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "avro-c",
"version": "1.11.0",
"port-version": 1,
"port-version": 2,
"description": "Apache Avro is a data serialization system",
"homepage": "https://github.com/apache/avro",
"supports": "!uwp",
Expand Down
2 changes: 0 additions & 2 deletions ports/aws-lambda-cpp/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
vcpkg_fail_port_install(ON_TARGET "Windows" "OSX")

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO awslabs/aws-lambda-cpp
Expand Down
3 changes: 2 additions & 1 deletion ports/aws-lambda-cpp/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "aws-lambda-cpp",
"version-string": "0.2.7",
"version": "0.2.7",
"port-version": 1,
"description": "C++ Runtime for AWS Lambda.",
"supports": "linux",
"dependencies": [
Expand Down
2 changes: 0 additions & 2 deletions ports/azure-c-shared-utility/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
vcpkg_fail_port_install(ON_TARGET "UWP")

vcpkg_check_linkage(ONLY_STATIC_LIBRARY)

if("public-preview" IN_LIST FEATURES)
Expand Down
1 change: 1 addition & 0 deletions ports/azure-c-shared-utility/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "azure-c-shared-utility",
"version-date": "2021-09-09",
"port-version": 1,
"description": "Azure C SDKs common code",
"homepage": "https://github.com/Azure/azure-c-shared-utility",
"supports": "!uwp",
Expand Down
2 changes: 0 additions & 2 deletions ports/azure-storage-cpp/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
message(WARNING "azure-storage-cpp is no longer actively developed. Instead, users should migrate to the new sdk:azure-core-cpp")
vcpkg_fail_port_install(ON_TARGET "UWP")

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
Expand Down Expand Up @@ -31,4 +30,3 @@ file(REMOVE_RECURSE
${CURRENT_PACKAGES_DIR}/debug/include)

vcpkg_copy_pdbs()

2 changes: 1 addition & 1 deletion ports/azure-storage-cpp/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "azure-storage-cpp",
"version-string": "7.5.0",
"port-version": 2,
"port-version": 3,
"description": [
"[legacy] Microsoft Azure Storage Client SDK for C++",
"A client library for working with Microsoft Azure storage services including blobs, files, tables, and queues. This client library enables working with the Microsoft Azure storage services which include the blob service for storing binary and text data, the file service for storing binary and text data, the table service for storing structured non-relational data, and the queue service for storing messages that may be accessed by a client."
Expand Down
1 change: 0 additions & 1 deletion ports/bddisasm/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
vcpkg_fail_port_install(ON_ARCH "arm")
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)

vcpkg_from_github(
Expand Down
1 change: 1 addition & 0 deletions ports/bddisasm/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "bddisasm",
"version": "1.34.7",
"port-version": 1,
"maintainers": "Cristi Anichitei <[email protected]>",
"description": "bddisasm is a fast, lightweight, x86/x64 instruction decoder and emulator.",
"homepage": "https://github.com/bitdefender/bddisasm",
Expand Down
2 changes: 0 additions & 2 deletions ports/behaviortree-cpp/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
vcpkg_fail_port_install(ON_TARGET "UWP")

vcpkg_check_linkage(ONLY_STATIC_LIBRARY)

vcpkg_download_distfile(ARCHIVE
Expand Down
2 changes: 1 addition & 1 deletion ports/behaviortree-cpp/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "behaviortree-cpp",
"version": "3.5.6",
"port-version": 1,
"port-version": 2,
"description": "Behavior Trees Library in C++.",
"homepage": "https://www.behaviortree.dev",
"supports": "!uwp",
Expand Down
3 changes: 3 additions & 0 deletions ports/benchmark/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#https://github.com/google/benchmark/issues/661
vcpkg_fail_port_install(ON_TARGET "uwp")

vcpkg_check_linkage(ONLY_STATIC_LIBRARY)

vcpkg_from_github(
Expand Down
2 changes: 0 additions & 2 deletions ports/benchmark/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{
"$comment": "https://github.com/google/benchmark/issues/661 describes the missing UWP support upstream",
"name": "benchmark",
"version-semver": "1.6.0",
"port-version": 1,
"description": "A library to support the benchmarking of functions, similar to unit-tests.",
"homepage": "https://github.com/google/benchmark",
"supports": "!uwp",
Expand Down
2 changes: 0 additions & 2 deletions ports/berkeleydb/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
vcpkg_fail_port_install( ON_TARGET "uwp" "linux" "osx")

vcpkg_download_distfile(ARCHIVE
URLS "https://download.oracle.com/berkeley-db/db-4.8.30.NC.zip"
FILENAME "db-4.8.30.NC.zip"
Expand Down
2 changes: 1 addition & 1 deletion ports/berkeleydb/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "berkeleydb",
"version": "4.8.30",
"port-version": 7,
"port-version": 8,
"description": "BDB - A high-performance embedded database for key/value data.",
"homepage": "https://download.oracle.com/",
"supports": "!(uwp | linux | osx)"
Expand Down
4 changes: 1 addition & 3 deletions ports/blitz/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
vcpkg_fail_port_install(ON_ARCH "arm" "arm64" ON_TARGET "UWP")

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO blitzpp/blitz
Expand All @@ -16,7 +14,7 @@ vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DBUILD_DOC=OFF
-DBUILD_TESTING=OFF
-DBUILD_TESTING=OFF
)

vcpkg_cmake_install()
Expand Down
Loading