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

[vcpkg] Use triplet file results in dependency logic expressions #8601

Merged
merged 94 commits into from
Feb 3, 2020
Merged
Show file tree
Hide file tree
Changes from 92 commits
Commits
Show all changes
94 commits
Select commit Hold shift + click to select a range
7cfd48b
remove unfinished "supports" tag
Rastaban Oct 7, 2019
9cd2a4f
extract "supports" from control files
Rastaban Oct 9, 2019
40bd2a5
Start `Supports` documentation
Rastaban Oct 9, 2019
2aec94d
Use Supports in a bunch of control files
Rastaban Oct 9, 2019
d3c83c8
Cmake var provider (#8)
cbezault Oct 10, 2019
8282161
Cmake var provider (#9)
cbezault Oct 10, 2019
8e65f00
fix windows build (#10)
cbezault Oct 11, 2019
d132950
Add missing files to build
Rastaban Oct 11, 2019
5776607
Merge branch 'master' into cleanup_supports
Rastaban Oct 11, 2019
066b21f
Fix test (#11)
cbezault Oct 11, 2019
d042b51
adding hooks for cmake variables in expressions
Rastaban Oct 11, 2019
f24c6e2
Adding hooks for 'supports' in CI test
Rastaban Oct 14, 2019
f041229
Fix test (#12)
cbezault Oct 14, 2019
bb9fa61
Merge branch 'master' into cleanup_supports
Rastaban Oct 14, 2019
fd78dde
Add overrides to evaluation environment
Rastaban Oct 14, 2019
471dc9e
use "supported" tag in CI testing
Rastaban Oct 14, 2019
b560a59
cleanup comment
Rastaban Oct 14, 2019
71f515e
Fix issues with PR
vicroms Oct 16, 2019
fa8c87a
Merge branch 'cleanup_supports' of https://github.com/Rastaban/vcpkg …
vicroms Oct 16, 2019
b49747a
Merge branch 'master' into cleanup_supports
cbezault Oct 24, 2019
67ec4cd
Merge branch 'master' into cleanup_supports
cbezault Nov 1, 2019
0146140
[var_provider] Get library linkage variables from triplet
vicroms Nov 1, 2019
e261b83
Merge branch 'cleanup_supports' of https://github.com/Rastaban/vcpkg …
vicroms Nov 1, 2019
544d1ab
Fix compilation errors in tests
vicroms Nov 4, 2019
9ab2eca
Add unimplemented functions
vicroms Nov 4, 2019
e6b38d3
Fix unit tests part 1
vicroms Nov 5, 2019
2ddc70a
Fix issue when buildtrees dir does not exist
vicroms Nov 5, 2019
6dfadbc
Change binary output hash
vicroms Nov 5, 2019
66c35d1
Merge branch 'master' of https://github.com/Microsoft/vcpkg into clea…
vicroms Nov 22, 2019
ce26abb
Merge branch 'master' into cleanup_supports
cbezault Dec 2, 2019
e24f112
Merge branch 'master' of https://github.com/Microsoft/vcpkg into clea…
vicroms Dec 4, 2019
8d1ec6d
Fix handling of * feature
vicroms Dec 4, 2019
dfb8f74
Add core feature when using *
vicroms Dec 5, 2019
496e485
Do not add Default-Features when installing 'core'
vicroms Dec 5, 2019
7e0a95f
Merge branch 'master' into cleanup_supports
ras0219-msft Dec 23, 2019
804a6e2
Merge branch 'master' into cleanup_supports
cbezault Jan 9, 2020
49232b0
Merge remote-tracking branch 'origin/master' into HEAD
ras0219-msft Jan 13, 2020
28b2942
Merge branch 'master' into cleanup_supports
cbezault Jan 14, 2020
12efc9f
[vcpkg] WIP. 6 failing tests.
ras0219-msft Jan 15, 2020
1dac329
[vcpkg] WIP. 1 failing tests.
ras0219-msft Jan 15, 2020
f3986de
[vcpkg] WIP. 0 failing tests.
ras0219-msft Jan 15, 2020
e491420
[vcpkg] Removed 'remove_graph'. 0 failing tests.
ras0219-msft Jan 15, 2020
38e5a84
[vcpkg] Removed 'install_graph'. 0 failing tests.
ras0219-msft Jan 15, 2020
8299858
[vcpkg] Remove AnyAction; replace with ActionPlan
ras0219-msft Jan 16, 2020
35f7bd4
Merge branch 'cleanup_supports' of https://github.com/Rastaban/vcpkg …
ras0219-msft Jan 16, 2020
ac4789a
[vcpkg] Minor cleanup.
ras0219-msft Jan 16, 2020
b66ba42
[vcpkg][z3][qt5-connectivity][qt5-purchasing] Improve error messages …
ras0219-msft Jan 16, 2020
8c5a50c
[vcpkg] Work around ICE with MSVC v140
ras0219-msft Jan 16, 2020
9d44bd9
[vcpkg] Add purge on fail to decompress for CI
ras0219-msft Jan 16, 2020
f7ef524
[vcpkg] Fix parsing of nested parentheses in qualifiers
ras0219-msft Jan 17, 2020
eaeb0a4
[vcpkg] Fix Linux builds (explicit qualification in declaration)
ras0219-msft Jan 17, 2020
52df594
Merge branch 'master' into cleanup_supports
ras0219-msft Jan 17, 2020
968771d
[vcpkg] Fix Build-Depends implying default features. Fix qualified de…
ras0219-msft Jan 18, 2020
3399025
Merge remote-tracking branch 'origin/master' into HEAD
ras0219-msft Jan 22, 2020
2818ea8
[mmx] Add to skip list and full rebuild -- mmx causes problems by ins…
ras0219-msft Jan 23, 2020
d7797d6
Merge remote-tracking branch 'origin/master' into HEAD
ras0219-msft Jan 23, 2020
e11d184
[libpqxx][mqtt-cpp] Prevent installing include/CMakeLists.txt
ras0219-msft Jan 23, 2020
cae7ab2
[cppitertools] Fix installed include namespace (should be include/cpp…
ras0219-msft Jan 23, 2020
7e3db76
[libsoundio] Move headers into soundio/ subdirectory as per original …
ras0219-msft Jan 25, 2020
ee5310f
[ci.baseline] Temporarily skip charls due to conflict with dcmtk
ras0219-msft Jan 25, 2020
413f987
[vcpkg] Add restricted include files post build check -- bump global …
ras0219-msft Jan 25, 2020
e6e0969
[libsoundio] Hotfix stray line in portfile
ras0219-msft Jan 25, 2020
ff77ac0
[vcpkg] Fix regression: CMake information was not being displayed for…
ras0219-msft Jan 25, 2020
2389237
[jsonnet] Fix installation of internal headers; use system nlohmann-json
ras0219-msft Jan 25, 2020
67fba1f
[grpc][upb] Teach grpc to use packaged upb. Add find_package(upb). Re…
ras0219-msft Jan 26, 2020
61aaf3d
[zfp] Move problematic 'include/bitstream.h' to 'include/zfp/bitstrea…
ras0219-msft Jan 26, 2020
eb63bed
[x265] Bump control version to trigger rebuild after zfp conflict
ras0219-msft Jan 26, 2020
fe76547
[akali] Disable parallel configure
ras0219-msft Jan 26, 2020
d107c49
[dirent][dlfcn-win32][getopt-win32][pthreads] Grandfather into VCPKG_…
ras0219-msft Jan 26, 2020
57a1fff
[ci.baseline] Update baseline for improved upb support
ras0219-msft Jan 26, 2020
925e705
[tgui] Disable parallel configure
ras0219-msft Jan 26, 2020
bd7f94d
[libiconv] Enable VCPKG_POLICY_ALLOW_RESTRICTED_HEADERS
ras0219-msft Jan 26, 2020
4b35c17
[aws-sdk-cpp] Disable parallel configure
ras0219-msft Jan 26, 2020
998a7c3
[vcpkg] Implement policy VCPKG_POLICY_ALLOW_RESTRICTED_HEADERS
ras0219-msft Jan 27, 2020
32a0ca4
[aws-sdk-cpp] Fix amount of escaping semicolons -- Note: I do not kno…
ras0219-msft Jan 27, 2020
527cf4c
[libodb-sqlite] Fix configuring into source directory
ras0219-msft Jan 27, 2020
3c48a0d
[gettext] Grandfather into VCPKG_POLICY_ALLOW_RESTRICTED_HEADERS
ras0219-msft Jan 27, 2020
91f5038
[libodb] DISABLE_PARALLEL_CONFIGURE
ras0219-msft Jan 29, 2020
a0c5f6a
[vcpkg] Add 'config.h' and 'local.h' to restricted header list
ras0219-msft Jan 29, 2020
5b785e3
Merge remote-tracking branch 'origin/master' into HEAD
ras0219-msft Jan 30, 2020
782508f
[mcpp] Remove unused and problematic include 'config.h' from installe…
ras0219-msft Jan 30, 2020
a475f5d
[teemo] Move installed headers into subdirectory to prevent conflicts…
ras0219-msft Jan 30, 2020
bf523a6
[ci.baseline] Update current OSX. Skip libmesh on all platforms due t…
ras0219-msft Jan 30, 2020
c21f3ef
[vcpkg] Add 'slice.h' as a restricted header
ras0219-msft Jan 30, 2020
efba085
[osg] Improve accuracy of dependencies (disable some, add some to Dep…
ras0219-msft Jan 30, 2020
c5ac33e
[vcpkg] Skip invoking a subprocess for 0 specs in load_tag_vars
ras0219-msft Jan 30, 2020
51ab694
[ci.baseline] Skip mongo-c-driver on osx due to flakiness
ras0219-msft Jan 30, 2020
62531eb
[teemo] Fix incorrect include file read
ras0219-msft Jan 30, 2020
e7c3dc6
[osg] Fix dependency typo: glut -> freeglut
ras0219-msft Jan 30, 2020
c147c86
Merge remote-tracking branch 'origin/master' into HEAD
ras0219-msft Jan 31, 2020
d662365
[vcpkg] Recover some lost performance with the addition of vcpkg_get_…
ras0219-msft Jan 31, 2020
6a5202e
[vcpkg] Change Supports atom 'windows' to include UWP. Improve Suppor…
ras0219-msft Jan 31, 2020
719d9b9
[vcpkg] Add docs for VCPKG_ENV_PASSTHROUGH and VCPKG_DEP_INFO_OVERRID…
ras0219-msft Feb 1, 2020
188b437
Fix typo
vicroms Feb 3, 2020
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
47 changes: 37 additions & 10 deletions docs/maintainers/control-files.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ For example, given:

Then if you update the source version today, you should give it version `2019-06-01`. If you need to make a change which doesn't adjust the source version, you should give it version `2019-02-14-2`.

Example:
##### Examples:
```no-highlight
Version: 1.0.5-2
```
Expand All @@ -71,7 +71,7 @@ A description of the library.

By convention the first line of the description is a summary of the library. An optional detailed description follows. The detailed description can be multiple lines, all starting with whitespace.

Example:
##### Examples:
```no-highlight
Description: C++ header-only JSON library
```
Expand All @@ -96,28 +96,55 @@ Vcpkg does not distinguish between build-only dependencies and runtime dependenc

*For example: websocketpp is a header only library, and thus does not require any dependencies at install time. However, downstream users need boost and openssl to make use of the library. Therefore, websocketpp lists boost and openssl as dependencies*

Example:
```no-highlight
Build-Depends: zlib, libpng, libjpeg-turbo, tiff
```
If the port is dependent on optional features of another library those can be specified using the `portname[featurelist]` syntax.
If the port is dependent on optional features of another library those can be specified using the `portname[featurelist]` syntax. If the port does not require any features from the dependency, this should be specifed as `portname[core]`.

Dependencies can be filtered based on the target triplet to support different requirements on Windows Desktop versus the Universal Windows Platform. Currently, the string inside parentheses is substring-compared against the triplet name. There must be a space between the name of the port and the filter. __This will change in a future version to not depend on the triplet name.__
Dependencies can be filtered based on the target triplet to support differing requirements. These filters use the same syntax as the Supports field below and are surrounded in parentheses following the portname and feature list.

Example:
##### Example:
```no-highlight
Build-Depends: curl[openssl] (!windows&!osx), curl[winssl] (windows), curl[darwinssl] (osx)
Build-Depends: rapidjson, curl[core,openssl] (!windows), curl[core,winssl] (windows)
```

#### Default-Features
Comma separated list of optional port features to install by default.

This field is optional.

##### Example:
```no-highlight
Default-Features: dynamodb, s3, kinesis
```

#### Supports
Expression that evalutates to true when the port is expected to build successfully for a triplet.

Currently, this field is only used in the CI testing to skip ports. In the future, this mechanism is intended to warn users in advance that a given install tree is not expected to succeed. Therefore, this field should be used optimistically; in cases where a port is expected to succeed 10% of the time, it should still be marked "supported".

The grammar for the supports expression uses standard operators:
- `!expr` - negation
- `expr|expr` - or (`||` is also supported)
- `expr&expr` - and (`&&` is also supported)
- `(expr)` - grouping/precedence

The predefined expressions are computed from standard triplet settings:
- `x64` - `VCPKG_TARGET_ARCHITECTURE` == `"x64"`
- `x86` - `VCPKG_TARGET_ARCHITECTURE` == `"x86"`
- `arm` - `VCPKG_TARGET_ARCHITECTURE` == `"arm"` or `VCPKG_TARGET_ARCHITECTURE` == `"arm64"`
- `arm64` - `VCPKG_TARGET_ARCHITECTURE` == `"arm64"`
- `windows` - `VCPKG_CMAKE_SYSTEM_NAME` == `""` || `VCPKG_CMAKE_SYSTEM_NAME` == `"WindowsStore"`
- `uwp` - `VCPKG_CMAKE_SYSTEM_NAME` == `"WindowsStore"`
- `linux` - `VCPKG_CMAKE_SYSTEM_NAME` == `"Linux"`
- `osx` - `VCPKG_CMAKE_SYSTEM_NAME` == `"Darwin"`
- `android` - `VCPKG_CMAKE_SYSTEM_NAME` == `"Android"`
- `static` - `VCPKG_LIBRARY_LINKAGE` == `"static"`

This field is optional and defaults to true.

##### Example:
```no-highlight
Supports: !(uwp|arm)
```

## Feature Paragraphs

Multiple optional features can be specified in the `CONTROL` files. It must have a `Feature` and `Description` field. It can optionally have a `Build-Depends` field. It must be separated from other paragraphs by one or more empty lines.
Expand Down
1 change: 1 addition & 0 deletions ports/abseil/CONTROL
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ Description: an open-source collection designed to augment the C++ standard libr
Abseil is an open-source collection of C++ library code designed to augment the C++ standard library. The Abseil library code is collected from Google's own C++ code base, has been extensively tested and used in production, and is the same code we depend on in our daily coding lives.
In some cases, Abseil provides pieces missing from the C++ standard; in others, Abseil provides alternatives to the standard for special needs we've found through usage in the Google code base. We denote those cases clearly within the library code we provide you.
Abseil is not meant to be a competitor to the standard library; we've just found that many of these utilities serve a purpose within our code base, and we now want to provide those resources to the C++ community as a whole.
Supports: !uwp
1 change: 1 addition & 0 deletions ports/ace/CONTROL
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ Source: ace
Version: 6.5.7-1
Homepage: https://www.dre.vanderbilt.edu/~schmidt/ACE.html
Description: The ADAPTIVE Communication Environment
Supports: !uwp

Feature: wchar
Description: Enable extra wide char functions in ACE
Expand Down
1 change: 1 addition & 0 deletions ports/activemq-cpp/CONTROL
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ Source: activemq-cpp
Version: 3.9.5-1
Build-Depends: apr
Description: Apache ActiveMQ is the most popular and powerful open source messaging and Integration Patterns server.
Supports: !uwp
3 changes: 2 additions & 1 deletion ports/akali/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" AKALI_STATIC)

vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
DISABLE_PARALLEL_CONFIGURE
PREFER_NINJA
OPTIONS
-DAKALI_STATIC:BOOL=${AKALI_STATIC}
-DBUILD_TESTS:BOOL=OFF
Expand Down
1 change: 1 addition & 0 deletions ports/alac/CONTROL
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ Source: alac
Version: 2017-11-03-c38887c5-1
Homepage: https://github.com/macosforge/alac
Description: The Apple Lossless Audio Codec (ALAC) is a lossless audio codec developed by Apple and deployed on all of its platforms and devices.
Supports: !uwp
1 change: 1 addition & 0 deletions ports/aliyun-oss-c-sdk/CONTROL
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ Source: aliyun-oss-c-sdk
Version: 3.7.1-1
Description: Alibaba Cloud Object Storage Service (OSS) is a cloud storage service provided by Alibaba Cloud, featuring massive capacity, security, a low cost, and high reliability.
Build-Depends: curl, apr-util
Supports: !uwp
1 change: 1 addition & 0 deletions ports/ampl-mp/CONTROL
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
Source: ampl-mp
Version: 2019-03-21-1
Description: An open-source library for mathematical programming
Supports: !uwp
1 change: 1 addition & 0 deletions ports/apr/CONTROL
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ Source: apr
Version: 1.6.5-3
Homepage: https://apr.apache.org/
Description: The Apache Portable Runtime (APR) is a C library that forms a system portability layer that covers many operating systems.
Supports: !uwp

Feature: private-headers
Description: Install non-standard files required for building Apache httpd
1 change: 1 addition & 0 deletions ports/arrow/CONTROL
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ Version: 0.15.1
Build-Depends: boost-system, boost-filesystem, boost-multiprecision, boost-algorithm, flatbuffers, rapidjson, zlib, lz4, brotli, zstd, snappy, gflags, thrift, double-conversion, glog, uriparser
Homepage: https://github.com/apache/arrow
Description: Apache Arrow is a columnar in-memory analytics layer designed to accelerate big data. It houses a set of canonical in-memory representations of flat and hierarchical data along with multiple language-bindings for structure manipulation. It also provides IPC and common algorithm implementations.
Supports: x64
2 changes: 1 addition & 1 deletion ports/aws-sdk-cpp/CONTROL
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Source: aws-sdk-cpp
Version: 1.7.214
Version: 1.7.214-1
Homepage: https://github.com/aws/aws-sdk-cpp
Description: AWS SDK for C++
Build-Depends: openssl (!uwp&!windows), curl (!uwp&!windows), aws-c-event-stream
Expand Down
9 changes: 3 additions & 6 deletions ports/aws-sdk-cpp/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ vcpkg_buildpath_length_warning(37)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO aws/aws-sdk-cpp
REF e8a7e7263e900983921e95363026efaa494622ab # 1.7.214
REF e8a7e7263e900983921e95363026efaa494622ab # 1.7.214
SHA512 dc4e003ffaebf21410d8d360f8a4602dda99d3ee0c0ab7fb61c97fe8b5f0b38438ed5315fb85d3a435cd5a99724e43c5cf569a7cb365ed8137caeac32c619a86
HEAD_REF master
)
Expand All @@ -14,14 +14,11 @@ set(BUILD_ONLY core)

include(${CMAKE_CURRENT_LIST_DIR}/compute_build_only.cmake)

if(CMAKE_HOST_WIN32)
string(REPLACE ";" "\\\\\\;" BUILD_ONLY "${BUILD_ONLY}")
else()
string(REPLACE ";" "\\\\\\\\\\\;" BUILD_ONLY "${BUILD_ONLY}")
endif()
string(REPLACE ";" "\\\\\\\\\\\;" BUILD_ONLY "${BUILD_ONLY}")

vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
DISABLE_PARALLEL_CONFIGURE
PREFER_NINJA
OPTIONS
-DENABLE_UNITY_BUILD=ON
Expand Down
1 change: 1 addition & 0 deletions ports/azure-storage-cpp/CONTROL
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ Build-Depends: cpprestsdk[core], atlmfc (windows), boost-log (!windows&!uwp), bo
Description: 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.
Homepage: https://blogs.msdn.com/b/windowsazurestorage/
Supports: !uwp
1 change: 1 addition & 0 deletions ports/benchmark/CONTROL
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ Source: benchmark
Version: 1.5
Homepage: https://github.com/google/benchmark
Description: A library to support the benchmarking of functions, similar to unit-tests.
Supports: !uwp
1 change: 1 addition & 0 deletions ports/berkeleydb/CONTROL
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ Source: berkeleydb
Version: 4.8.30-3
Homepage: https://download.oracle.com/
Description: BDB - A high-performance embedded database for key/value data.
Supports: !uwp
1 change: 1 addition & 0 deletions ports/c-ares/CONTROL
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ Source: c-ares
Version: 2019-5-2-1
Homepage: https://github.com/c-ares/c-ares
Description: A C library for asynchronous DNS requests
Supports: !uwp
1 change: 1 addition & 0 deletions ports/caffe2/CONTROL
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ Version: 0.8.1-3
Build-Depends: lmdb, gflags, glog, eigen3, protobuf
Homepage: https://github.com/caffe2/caffe2
Description: Caffe2 is a lightweight, modular, and scalable deep learning framework.
Supports: !x86
1 change: 1 addition & 0 deletions ports/capnproto/CONTROL
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ Version: 0.7.0-3
Description: Data interchange format and capability-based RPC system
Homepage: https://capnproto.org/
Build-Depends: zlib
Supports: !uwp
1 change: 1 addition & 0 deletions ports/civetweb/CONTROL
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
Source: civetweb
Version: 2019-07-05
Description: Easy to use, powerful, C/C++ embeddable web server.
Supports: !uwp
1 change: 1 addition & 0 deletions ports/coroutine/CONTROL
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ Source: coroutine
Version: 2020-01-13
Build-Depends: ms-gsl
Description: C++ coroutine helper/example library
Supports: !x86
1 change: 1 addition & 0 deletions ports/cpp-netlib/CONTROL
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ Version: 0.13.0-3
Homepage: https://cpp-netlib.org/
Build-Depends: boost
Description: A collection of network-related routines/implementations geared towards providing a robust cross-platform networking library
Supports: !uwp
1 change: 1 addition & 0 deletions ports/cppfs/CONTROL
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
Source: cppfs
Version: 1.2.0-1
Description: Cross-platform C++ file system library supporting multiple backends
Supports: !uwp

Feature: ssh
Description: SSH backend for cppfs
Expand Down
2 changes: 1 addition & 1 deletion ports/cppitertools/CONTROL
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Source: cppitertools
Version: 2019-04-14-2
Version: 2019-04-14-3
Description: Range-based for loop add-ons inspired by the Python builtins and itertools library
Build-Depends: boost-optional
8 changes: 2 additions & 6 deletions ports/cppitertools/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
# header-only library

include(vcpkg_common_functions)

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO ryanhaining/cppitertools
Expand All @@ -13,8 +9,8 @@ vcpkg_from_github(
file(GLOB INCLUDE_FILES ${SOURCE_PATH}/*.hpp)
file(GLOB INCLUDE_INTERNAL_FILES ${SOURCE_PATH}/internal/*.hpp)

file(COPY ${INCLUDE_FILES} DESTINATION ${CURRENT_PACKAGES_DIR}/include)
file(COPY ${INCLUDE_INTERNAL_FILES} DESTINATION ${CURRENT_PACKAGES_DIR}/include/internal)
file(COPY ${INCLUDE_FILES} DESTINATION ${CURRENT_PACKAGES_DIR}/include/cppitertools)
file(COPY ${INCLUDE_INTERNAL_FILES} DESTINATION ${CURRENT_PACKAGES_DIR}/include/cppitertools/internal)

# Handle copyright
configure_file(${SOURCE_PATH}/LICENSE.md ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)
1 change: 1 addition & 0 deletions ports/cudnn/CONTROL
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ Source: cudnn
Version: 7.6
Description: NVIDIA's cuDNN deep neural network acceleration library
Build-Depends: cuda
Supports: (windows|linux)&x64
1 change: 1 addition & 0 deletions ports/darknet/CONTROL
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ Source: darknet
Version: 0.2.5.1-1
Description: Darknet is an open source neural network framework written in C and CUDA. You only look once (YOLO) is a state-of-the-art, real-time object detection system, best example of darknet functionalities.
Build-Depends: pthreads (windows), stb
Supports: !(arm|uwp)

Feature: cuda
Build-Depends: cuda
Expand Down
3 changes: 2 additions & 1 deletion ports/dirent/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ if(VCPKG_CMAKE_SYSTEM_NAME AND NOT VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStor
return()
endif()

include(vcpkg_common_functions)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO tronkko/dirent
Expand All @@ -14,3 +13,5 @@ vcpkg_from_github(
file(INSTALL ${SOURCE_PATH}/include/ DESTINATION ${CURRENT_PACKAGES_DIR}/include)
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/dirent RENAME copyright)
vcpkg_copy_pdbs()

set(VCPKG_POLICY_ALLOW_RESTRICTED_HEADERS enabled)
3 changes: 2 additions & 1 deletion ports/dlfcn-win32/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
include(vcpkg_common_functions)
set(SOURCE_VERSION 1.1.1)

vcpkg_from_github(
Expand Down Expand Up @@ -27,3 +26,5 @@ vcpkg_copy_pdbs()

file(COPY ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT})
file(RENAME ${CURRENT_PACKAGES_DIR}/share/${PORT}/COPYING ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright)

set(VCPKG_POLICY_ALLOW_RESTRICTED_HEADERS enabled)
1 change: 1 addition & 0 deletions ports/dmlc/CONTROL
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Version: 2019-08-12-1
Homepage: https://github.com/dmlc/dmlc-core
Description: DMLC-Core is the backbone library to support all DMLC projects, offers the bricks to build efficient and scalable distributed machine learning libraries.
Default-Features: openmp
Supports: !uwp

Feature: openmp
Description: Build with openmp
2 changes: 1 addition & 1 deletion ports/dpdk/CONTROL
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Source: dpdk
Version: 19.02
Description: A set of libraries and drivers for fast packet processing

Supports: linux
3 changes: 2 additions & 1 deletion ports/easyhook/CONTROL
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Source: easyhook
Version: 2.7.6789.0
Homepage: https://github.com/EasyHook/EasyHook
Description: This project supports extending (hooking) unmanaged code (APIs) with pure managed ones, from within a fully managed environment on 32- or 64-bit Windows Vista x64, Windows Server 2008 x64, Windows 7, Windows 8.1, and Windows 10.
Description: This project supports extending (hooking) unmanaged code (APIs) with pure managed ones, from within a fully managed environment on 32- or 64-bit Windows Vista x64, Windows Server 2008 x64, Windows 7, Windows 8.1, and Windows 10.
Supports: windows
1 change: 1 addition & 0 deletions ports/ebml/CONTROL
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ Source: ebml
Version: 1.3.9
Homepage: https://github.com/Matroska-Org/libebml
Description: a C++ libary to parse EBML files
Supports: !uwp
1 change: 1 addition & 0 deletions ports/expat/CONTROL
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ Source: expat
Version: 2.2.7
Homepage: https://github.com/libexpat/libexpat
Description: XML parser library written in C
Supports: !uwp
1 change: 1 addition & 0 deletions ports/field3d/CONTROL
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ Version: 1.7.2
Homepage: https://github.com/imageworks/Field3D
Description: An open source library for storing voxel data. It provides C++ classes that handle in-memory storage and a file format based on HDF5 that allows the C++ objects to be written to and read from disk.
Build-Depends: hdf5, boost-regex, boost-thread, boost-program-options, boost-system, openexr, boost-foreach, boost-test, boost-timer, boost-format
Supports: !(windows|arm|uwp)
1 change: 1 addition & 0 deletions ports/folly/CONTROL
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Homepage: https://github.com/facebook/folly
Description: An open-source C++ library developed and used at Facebook. The library is UNSTABLE on Windows
Build-Depends: openssl, libevent, double-conversion, glog, gflags, boost-chrono, boost-context, boost-conversion, boost-crc, boost-date-time, boost-filesystem, boost-multi-index, boost-program-options, boost-regex, boost-system, boost-thread, boost-smart-ptr
Default-Features: zlib
Supports: x64

Feature: zlib
Build-Depends: zlib
Expand Down
1 change: 1 addition & 0 deletions ports/forge/CONTROL
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ Source: forge
Version: 1.0.4-2
Description: Helps with high performance visualizations involving OpenGL-CUDA/OpenCL interop.
Build-Depends: glfw3, glm, glbinding, freetype, boost-functional, freeimage, fontconfig (!windows)
Supports: x64
1 change: 1 addition & 0 deletions ports/getopt-win32/CONTROL
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ Source: getopt-win32
Version: 0.1
Description: An implementation of getopt.
Homepage: https://github.com/libimobiledevice-win32
Supports: windows
4 changes: 2 additions & 2 deletions ports/getopt-win32/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
include(vcpkg_common_functions)

if(VCPKG_CMAKE_SYSTEM_NAME)
message(FATAL_ERROR "getopt-win32 only supports building on Windows Desktop")
endif()
Expand All @@ -22,3 +20,5 @@ vcpkg_install_msbuild(

# Copy header
file(COPY ${SOURCE_PATH}/getopt.h DESTINATION ${CURRENT_PACKAGES_DIR}/include/)

set(VCPKG_POLICY_ALLOW_RESTRICTED_HEADERS enabled)
1 change: 1 addition & 0 deletions ports/getopt/CONTROL
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ Source: getopt
Version: 0
Description: The getopt and getopt_long functions automate some of the chore involved in parsing typical unix command line options.
Build-Depends: getopt-win32 (windows)
Supports: !uwp
Loading