Commit Graph

953 Commits

Author SHA1 Message Date
NancyLi1013
eab8812ac5 [libb2] Add new port (#8518)
* [libb2] Add new port

* Update

* Update ci.baseline.txt
2020-01-06 14:59:18 -08:00
NancyLi1013
ec2ceeba40 [tfhe] Add new port (#8386)
* [tfhe] Add new port

* Add the message for not support OSX

* Update message and ci.baseline.txt
2020-01-06 14:58:27 -08:00
NancyLi1013
e13ed9547a [libmagic] Add new port (#8650)
* [libmagic] Add new port

* Update

* Add debug build

* Rebuild

* Update source address

* Update ci.baseline.txt
2020-01-06 14:29:12 -08:00
dan-shaw
86c947bcbb update baseline 2020-01-06 14:21:41 -08:00
Tanner Gooding
fb2006edf9 [nethost] Adding a port for nethost (#8701)
* Adding a port for nethost

* Fixing ref, removing unneeded include, and marking unsupported architectures for nethost

* Fixing the expected sha512 for nethost

* Setting nethost to fail on static and uwp

* Removing an unecessary file(REMOVE_RECURSE) from nethost

* update baseline

* [nethost] Update to latest from dotnet/runtime

* [vcpkg-baseline] Update baseline for nethost

* [vcpkg-baseline] Update baseline for nethost

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-01-06 13:14:20 -08:00
Jack·Boos·Yu
95d989c4a4 [pdal] fix static build (#9308)
* [pdal] fix static build

* update baseline

* [pdal] Re-fix find dependency geos

* [padl] Find library geos_c/libgeos_c instead of library geos/libgeos

* [pdal] Fix dependency boost

* update baseline
2020-01-06 12:44:46 -08:00
Alexander Neumann
f8165f7270 [qt5-base] Fix Qt5 linux build and be a bit less flaky in CI (#9260)
* Fix static qt5 builds and ignore system qmake
closes #9234 and #9239

* fix angle conflict and icu dependency

* add egl-registry as a dependency

* remove space

* adding spaces resolved the problem

* move files only if they exist

* Update the Wrapper to use the Postgres target

fixes some observed linkage issues

* update baseline

* add fontconfig on linux so CI is less flaky in a full rebuild

* fix linkage dependent qt5-imageformats libs

* Fix Wrapper for Linux and add other platform libs to Qt5::Core

* fix plugin properties in cmake files

* fix cmake files.

* fix missing plugin qminimal deployment into tools dir

* change wrapper slightly

* UNIX also means APPLE so it needs to be excluded

* fix the static windows build

* mark the parts of fixcmake which require further work to work with single configuration builds

* Update ci.baseline.txt

make qt5-tools pass for CI testing

* fix last regression

* break auto fontconfig in configure script to fix qt5-tools

* update baseline

* enable verbose to debug ci

* try to help it instead of breaking it

* completly link icu

* try to fix fontconfig configure

* fix configure call. cannot be called with a list!

* remove invalid line from patch

* force icu and reduce the required icu libs according to the configure script

* fix icu linkage

* add more icu dependencies and names for windows

* add more icu libs. Seems like all are needed

* fix typo

* print icu libs in debug

* check releasenames

* try again

* change link order

* add icu to wrapper

* fix typo

* patch icu configure for static windows builds

* add other icu libraries to the icu patch

* fix icu in x64-windows-static

* update baseline. VTK builds in local WSL so it should work in CI

* update VTK control to force rebuild

* remove qt5-tools=pass from baseline

* remove qcustomplot:x64-linux=fail from baseline

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-01-06 12:36:51 -08:00
Tatsuro Shibamura
a17d8cbf95 [sdl1] Add build support for ARM64 Windows 10 (#9301)
* [sdl1] Add build support for ARM64 Windows 10

* update baseline

* [sdl1] update version info

* update baseline

* Revert 5f71592f54

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
2020-01-06 12:32:55 -08:00
winsoft666
96bfe1b594 [akali] Add new port (#9499)
* Add: set(VCPKG_PLATFORM_TOOLSET v140)

* add ppxbase and ppxnet.

* nice, ppxbase and ppxnet can install successful.

* update to v1.7

* + add duilib2
- update ppxbase, ppxnet.

* set VCPKG_PLATFORM_TOOLSET to vc141.
duilib2/ppxbase/ppxnet port.

* library version.

* duilib2, ppxbase version.

* duilib2 version

* update duilib2/ppxbase version.

* update duilib2 code version.

* update ppxbase version.
update duilib2 version.

* update ppxbase/duilib2 cmake config.

* duilib2 version.

* ppxbase version.

* + add akali library.

* update ports script.

* ports update.

* add akali

* remove duilib2/ppxnet

* revert

* update akali version.

* update akali version.

* Update portfile.cmake

* Update portfile.cmake
2020-01-06 11:13:17 -08:00
Thad House
9bd91cbebe [wpilib] update to 2020.1.1 (#9513) 2020-01-06 11:08:52 -08:00
Phoebe
140ddf37cd [box2d] Update to 2019-12-31 (#9529)
* [box2d] Update to 2019-12-31

* Udpate ci baseline file

* Update ci baseline file
2020-01-06 11:00:01 -08:00
Alvin
97485dc036 [uvatlas] Upgrade to dec2019 (#9379)
* [uvatlas] Upgrade to dec2019

* [uvatlas] Delete and update deprecated functions

* [uvatlas] x64-uwp passing, remove from ci.baseline.txt

* [uvatlas] Don't test x86-windows-static by default, remove it
2020-01-02 13:56:14 -08:00
Victor Derks
8b07958e8b [charls] upgrade to 2.1.0 (#9494)
* [charls] upgrade to 2.1.0

Upgrade to the latest released version of CharLS. The patch file has become obsolete.

* Remove charls=fail triplets from ci.baseline.txt

Both arm-uwp and x64-uwp can be build.
2020-01-02 13:30:27 -08:00
NancyLi1013
8cab87ed93 Update baseline (#9435)
* Remove freerdp:x64-linux=fail from ci.baseline.txt

* Update

* Add azure-kinect-sensor-sdk:x64-windows-static=fail
2020-01-02 10:58:25 -08:00
Jack·Boos·Yu
1c4a1d1cef [protobuf-c]Add new port. (#8624)
* [protobuf-c]Add new port.

* [protobuf-c]Add homepage.

* [protobuf-c] Remove useless code.

* update baseline

* update baseline
2019-12-23 12:40:21 -08:00
Jack·Boos·Yu
f3c11016ef [hiredis] Support building static (#9388)
* [hiredis] Support building static

* update baseline

* update baseline
2019-12-23 12:18:50 -08:00
Robert Schumacher
c0d22c88ea
[vcpkg_install_qmake] Add vcpkg_install_qmake (#9412)
* [vcpkg_install_qmake] Add vcpkg_install_qmake and convert existing ports to use it.
[vcpkg_configure_qmake] Add 'staticlib' to CONFIG in static builds

* [vcpkg_configure_qmake] Don't specify DESTDIR

* [libqglviewer][vcpkg_configure_qmake] Add staticlib CONFIG only for libqglviewer

* [qt5-base] Increment version to track changes in vcpkg_configure_qmake()
2019-12-23 06:10:12 -08:00
Robert Schumacher
59b28867dc
[vcpkg-baseline] Fixes for vtk, libarchive, xalan-c, and openvpn3 on Linux (#9411)
* [libarchive] Fix cpu_set_t missing

* [xalan-c] Fix flakiness in presense of ICU

* [openvpn3] Add missing bits/endian.h include

* [vcpkg-baseline] Mark vtk as no longer failing
2019-12-21 11:34:24 -08:00
Tatsuro Shibamura
a732ecda63 [directxtk] Update to dec2019 release (#9381)
* [directxtk] Update to dec2019 release

* [directxtk] Replace UWP detection with VCPKG_TARGET_IS_UWP
2019-12-20 16:21:10 -08:00
Tatsuro Shibamura
b5657848d4 [directxmesh] Update to dec2019 release (#9384)
* [directxmesh] Update to dec2019 release

* [directxmesh] Replace UWP detection with VCPKG_TARGET_IS_UWP
2019-12-20 16:20:50 -08:00
Tatsuro Shibamura
1258ac0a10 [directxtex] Update to dec2019 release (#9383)
* [directxtex] Update to dec2019 release

* [directxtex] Replace UWP detection with VCPKG_TARGET_IS_UWP
2019-12-20 16:20:28 -08:00
Tatsuro Shibamura
024350d0e1 [directxtk12] Update to dec2019 release (#9382)
* [directxtk12] Update to dec2019 release

* [directxtk12] Replace UWP detection with VCPKG_TARGET_IS_UWP
2019-12-20 16:19:51 -08:00
Alexander Neumann
f8cfe6c164 Fix CMAKE_TRY_COMPILE_PLATFORM_VARIABLES (#8533)
* Fix CMAKE_TRY_COMPILE_PLATFORM_VARIABLES

to respect already set values
closes #8506

* ws change to trigger full rebuild
2019-12-20 12:20:31 -08:00
Lily
0d5fc4c6ef [rttr] Add dependency rapidjson (#9252)
* [rttr] Add dependency rapidjson

* [rttr] Modify ci.baseline.txt

* [rttr] Handle copyright
2019-12-20 12:15:14 -08:00
Adam Jorgensen
14b0cf90e8 [opendnp3] Add new port (#9313)
* Added port for OpenDNP3 library

* Added usage note

* Handle library linkage setting

* Removed deprecated vcpkg_common_functions include

* Indicated that OpenDNP3 will fail to build on UWP targets

* [opendnp3] Export cmake files and force to build static in Windows

* [opendnp3] Fix include export-cmake name

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
2019-12-20 12:00:29 -08:00
Alvin
52d7109219 [simpleini] Fix build failure on travis CI (#9330)
* [simpleini] Fix build failure on travis CI

* [simpleini] x64-linux passing, remove from ci.baseline.txt

* [simpleini] x64-osx passing, remove from ci.baseline.txt
2019-12-20 11:57:49 -08:00
IronsDu
df4db7117b [brynet] Update to 1.0.5 (#9277)
* Update portfile.cmake

update brynet to tag 1.0.5 .(after now, brynet changed to header only)

* Update portfile.cmake

* Update CONTROL

* Update ci.baseline.txt

remove brynet's setting
2019-12-20 11:55:20 -08:00
NancyLi1013
af5f57c248 Update baseline with 'leptonica:arm-uwp=fail' (#9349) 2019-12-19 11:48:28 -08:00
Jack·Boos·Yu
e308474b85 Update baseline to skip ogre conflicts (#9331)
* update baseline

* Replace ogre with ogre-next in baseline results
2019-12-16 10:18:47 -08:00
Jack·Boos·Yu
cf7f244bc8 Removed umock-c:64-windows-static result in baseline because it can now build successfully (#9279) 2019-12-11 11:56:53 -08:00
Robert Schumacher
ffed695062
[libxslt] Fix writing to locations outside vcpkg in Windows builds (#9242)
* [libxslt] Fix writing to locations outside vcpkg in Windows builds

* [libxslt] Add passing arm64-windows to baseline
2019-12-07 05:50:24 -08:00
Laurent Rineau
767909ad14 [vcpkg_find_acquire_program] Give hints for yasm with brew and apt (#9191) 2019-12-06 16:01:12 -08:00
Robert Schumacher
92dc30ff52
[vcpkg] Check in baseline results for CI builds (#9203)
* [vcpkg] Check in initial baseline

* [vcpkg] Baseline update

* [vcpkg] Further baseline updates

* [vcpkg] Update baseline

* [vcpkg] Update baseline

* [vcpkg] Update baseline

* [vcpkg] Update baseline

* [xalan-c] Fix flaky build for non-Windows hosts
2019-12-06 02:18:47 -08:00
Tatsuro Shibamura
227d055359 [ffmpeg] Fixed build error ARM64 Windows 10 (#9160)
* [ffmpeg] Fixed build error ARM64 Windows 10

* [ffmpeg] Avoid gas-preprocessor caching
2019-12-03 11:17:08 -08:00
Robert Schumacher
cda348b6a3
Merge pull request #9080 from dan-shaw/telemetry-update
[vcpkg] update telemetry
2019-11-22 16:08:34 -08:00
Robert Schumacher
ae74e0bfd3
Merge pull request #5719 from donny-dont/github-url
[vcpkg_from_github] Allow targeting Github Enterprise instances
2019-11-22 15:13:08 -08:00
dan-shaw
0a0440c1a8 update telemetry 2019-11-22 15:07:00 -08:00
Robert Schumacher
45bc9e9848 [vcpkg_from_github] Rename GITHUB_URL -> GITHUB_HOST
Rename TOKEN -> AUTHORIZATION_TOKEN
2019-11-22 10:05:39 -08:00
Robert Schumacher
8831e8f25f
Merge pull request #7598 from Neumann-A/path_separator
[vcpkg] QoL: add host specific path separator to common definitions
2019-11-22 09:45:33 -08:00
Phoebe
9d1048e612 [libusb] upgrade and support arm64 (#8976) 2019-11-19 11:02:13 -08:00
dan-shaw
552296a741 [vcpkg] update telemetry 2019-11-14 13:12:36 -08:00
JackBoosY
934275b712 [libxslt]Using vcpkg_install_nmake in Windows, support unix. (#8589)
* [libxslt]Using vcpkg_install_nmake in Windows, support unix.

* support PRERUN_SHELL/PRERUN_SHELL_DEBUG/PRERUN_SHELL_RELEASE

* Re-trigger CI.
2019-10-29 23:23:36 -07:00
Wolfgang Stöggl
af55822ea1 mesonbuild - Update to 0.52.0 (#8639)
* mesonbuild - Update to 0.52.0

* [tool-meson] Add package to represent dependency on Meson build-system
2019-10-28 15:47:40 -07:00
JackBoosY
1bdb6bfec1 Fix separate make and install execution error issue. (#8540)
* Fix separate make and install execution error issue.

* trigger CI system.

* Fix multiple copy files under debug, fix separator between make and install in linux.
2019-10-21 22:49:23 -07:00
JackBoosY
988b1c9897 support SKIP_CONFIGURE in vcpkg_configure_make. (#8647) 2019-10-21 16:23:52 -07:00
JackBoosY
b99d073412 Add AUTOCONF support with vcpkg_configure_make. (#8610) 2019-10-21 16:23:23 -07:00
Wolfgang Stöggl
6e30ee1ae8 vcpkg_configure_meson - Remove compiler flag /Oi (#8667)
Removing the compiler flag /Oi (Generate Intrinsic Functions) allows
meson to detect functions like memmove, memset correctly. This is
relevant to meson configure for fribidi (see fribidi/meson.build).

This fixes the following "issues" (from fribidi meson-log.txt):
  testfile.c(17): error C2168: 'memmove': too few actual parameters for
  intrinsic function
  Checking for function "memmove" : NO
  testfile.c(17): error C2168: 'memset': too few actual parameters for
  intrinsic function
  Checking for function "memset" : NO

And enables detection of the functions:
  Checking for function "memmove" : YES
  Checking for function "memset" : YES
2019-10-21 15:25:58 -07:00
Ehsan
6f37346354 [vcpkg_download_distfile.cmake] Fix Examples (#8669) 2019-10-21 15:25:25 -07:00
Joel Pelaez Jorge
db3e74fa9c Fix CMake checks for Apple Clang 11.0 on macOS 10.15 (#8580)
* Fix CMake checks for Apple Clang 11.0 on macOS 10.15

* Use clang++ instance clang if allowAppleClang is enabled
2019-10-14 16:04:05 -07:00
Victor Romero
a595ff6322
Merge pull request #8488 from JackBoosY/dev/jack/update_template
update templates.
2019-10-09 11:27:21 -07:00
JackBoosY
37be706f56 Fix option -j (#8489)
* Remove unusable parameters -j

* trigger CI system.

* Add option -j to make.

* Re-trigger CI system.

* Fix -j in make, fix NO_DEBUG in nmake.

* Re-trigger CI system.
2019-10-09 05:54:19 -07:00
JackBoosY
bc80d3c00e use macros VCPKG_TARGET_IS_ instead of VCPKG_CMAKE_SYSTEM_NAME 2019-10-07 20:11:35 -07:00
JackBoosY
c784f08ee0 update templates. 2019-10-07 20:07:43 -07:00
Stefano Sinigardi
726c111481 [vcpkg] fatal_error when patch fails to apply (#8087)
vcpkg will now fail on failure to apply patches except when using `--head`.
2019-10-07 10:35:13 -07:00
Vinny
e86ff2cc54 Update vcpkg create template (#8427)
* Began updating

* Added 'Homepage:' to CONTROL, added vcpkg_check_features to vcpkg_create template

* Update portfile.in.cmake

Added documentation link for vcpkg_check_features
2019-10-07 10:31:38 -07:00
JackBoosY
ad493fd860 Add function vcpkg_configure_make/vcpkg_build_make/vcpkg_install_make/vcpkg_build_nmake/vcpkg_install_nmake (#8267)
* Add function vcpkg_configure_make/vcpkg_build_make.

* Fix autoreconf command and add log.

* Add vcpkg_install_make.

* Fix call function name.

* support non-debug mode.

* Add nmake support.

* [tcl]Add new port for testing.

* [vcpkg_configure_make]Fix prefix in linux.

* restart CI systen.

* Separate vcpkg_build_nmake/vcpkg_install_nmake. Add arg PROJECT_NAME.

* fix copy source file. add samples.

* Remove uncommon options.
Add force install para to autoreconf.

* fix build error.

* fix options judgment.

* enable nmake in windows.

* fix some envs and macros. Disable NMAKE in vcpkg_configure_make currently.

* update docs.

* fix environments.

* Modify libosip2 to use vcpkg_configure_make/vcpkg_install_make.

* [tcl]Tcl separates PR.

* trigger PR-EAGER.

* [freexl]Fix options name and remove option NMAKE.

* use tool-chain instead of set environments manually.

* fix autoreconf para.

* use vcpkg_execute_build_process instead.
2019-10-05 07:51:07 -07:00
Alexej Harm
da233c38ec Add go to vcpkg_find_acquire_program (#8440) 2019-10-04 11:14:35 -07:00
Vinny
5ebf65665d [Documentation] Added documentation page for vcpkg_fixup_cmake_targets.cmake (#8365)
* Added documentation page for vcpkg_fixup_cmake_targets.cmake, added example usage comment to .cmake file

* Update cmake_fixup_cmake_targets.md

* Update cmake_fixup_cmake_targets.md
2019-10-01 08:21:04 -07:00
Robert Schumacher
9433136b22 [boost] Update to 1.71.0 (#7959)
* [boost] Update to 1.71.0

* [openmvs] Fixes for boost 1.71

* [telnetpp] DISABLE_PARALLEL_CONFIGURE

* [execute_process] Fix output variables (like error_code) not getting populated

* [telnetpp] Add missing boost-exception dependency

* [boost] Refactor generate-ports.ps1 into scripts dir. Enable boost-thread on uwp.

* [boost-iostreams] Revert removal of zstd dependency

* [openmvs] Fix tools deployment
2019-09-27 10:41:02 -07:00
Tetsuya Hayashi
726b7a6618 [ports.cmake] Fixup capitalization inconsistencies of Windows drive letter. (#8304)
CMAKE_CURRENT_LIST_DIR reflect current directory. Thus It can be lowercase drive letter.
The lowercase drive letter cause #8237 issue.
Fixup drive letter to uppercase by using get_filename_component().
2019-09-24 15:58:10 -07:00
Leonid Pospelov
6c7f1c7673 [vcpkg] Avoid RENAME usage to prevent cross-device link problems (#4245) (#8032) 2019-09-23 14:03:59 -07:00
Don
c7542de3f3 Use CMAKE_TRY_COMPILE_PLATFORM_VARIABLES to propogate values (#5180)
CMAKE_TRY_COMPILE_PLATFORM_VARIABLES is used when CMake 3.6.0 or higher
is encountered. For older versions the previous behavior emulating this
functionality is used.
2019-09-23 13:43:52 -07:00
Alexander Neumann
86a5b6fd7b [Qt] Fix static builds of qt5-imageformats (#8222)
* forward extra arguments to vcpkg_configure_qmake from submodules
* make image format dependent on tiff and libwebp
* make tools dependent on imageformat
* build options must be passed a bit different then normal qmake options
* add the required dependencies
* a new dependency discovered in qt5-declarative
* need webpdemux also
* qt5-declarative is dependent on imageformats so we can drop it here
* remove empty qt.conf if it exists. closes #8180
* add all recommended dependencies as dependencies in control.
2019-09-20 14:06:43 -07:00
Alexander Neumann
e2be4512a0 fixed leaking variable in vcpkg_build_qmake 2019-09-20 12:57:29 +02:00
Alexander Neumann
119e9b5729 update vcpkg_configure_cmake 2019-09-20 12:52:33 +02:00
Alexander Neumann
0c7bf66527 removed escaped version. added correct usage description 2019-09-20 12:52:14 +02:00
Alexander Neumann
5b1e426929 Merge remote-tracking branch 'upstream/master' into path_separator
# Conflicts:
#	scripts/cmake/vcpkg_common_definitions.cmake
2019-09-20 12:24:23 +02:00
Alexander Neumann
279e25aecf revert changes to vcpkg_build_qmake file 2019-09-20 12:20:21 +02:00
Alexander Neumann
8a44d47f76 [vcpkg] add missing implib definitions, fix shared lib extension on mac (#8131)
* [vcpkg] add missing implib definitions, fix shared lib extension on mac

(cherry picked from commit 2cddef9541)

* Better find_library suffixes and prefixes.

* moved additional suffix into a comment and reverted back to what is expected on windows

* updated documentation for add variables.
2019-09-16 09:06:06 -07:00
martin-s
191c864927 Fix bug in .vcpkg-root detection that breaks --overlay-triplets (#7954)
* - Added scripts variable to ports file.
- Added check if triplet file is not available (NPE).

* - Fixed line endings.

* Provide location of .vcpkg-root to ports.cmake

* vcpkg sets VCPKG_ROOT_PATH in ports.cmake

* [vcpkg] Fail if VCPKG_ROOT_PATH is not passed from vcpkg.exe

* [vcpkg] Fix vcpkg rooth path

* [vcpkg] Make --x-scripts-root an experimental command
2019-09-12 23:52:52 -07:00
Alexander Neumann
96f4487c77 [Qt] Update to 5.12.4 (#7667)
* update to 5.12.4
* removed port qt5-modularscripts and split it functionality into more functions into qt5-base
* added qt_port_hashes.cmake for simpler upgrade.
* added optional VCPKG_QT_HOST_MKSPEC and VCPKG_QT_TARGET_MKSPEC to select QTs build mkspecs from a triplet
* qt_<config>.conf are now copied from the build dir instead from the port dir
* fixed freetype dependencies.
* cleanup of vcpkg_qmake scripts. No strange/unclear replacements anymore.
* introduced vcpkg_buildpath_length_warning
* changed directory layout of the qt5 installation executables and mkspecs a bit.
2019-09-12 10:07:21 -07:00
TheGoddessInari
0872eebe34 (#8013) [vcpkg] Compatibility with pwsh >= 6.2
In Powershell 6.2/7.0, `Get-ChildItem`'s paths are now printed as
absolute paths instead of relative paths; this breaks the code we have
that assumes that they're printed as relative paths.

Thus, change the code to request the `Name` property specifically, which
is what we actually wanted.
2019-09-06 16:16:15 -07:00
Victor Romero
9e68729bb6
Use macro instead of function to override execute_process() (#7980) 2019-08-29 19:40:43 -07:00
Victor Romero
f5c732b40d
Download Mode (#7950)
* [portfile functions] Override execute_process() to accept ALLOW_IN_DOWNLOAD_MODE option

* [vcpkg install] Set VCPKG_DOWNLOAD_MODE when using --only-downloads option

* [vcpkg_find_acquire_program] Allow in Download Mode

* Don't stop when build fails for a package

* Download sources for all packages in dependency graph

* Improve output messages

* Enable acquiring MSYS packages in download mode

* Documentation

* Update documentation

* execute_process() always fails on Download Mode

* Regenerate docs and fix formatting

* Run clang-format

* Use _execute_process on vcpkg_from_<source> helpers

* Fix calls to _execute_process() when not in Download Mode
2019-08-28 13:49:29 -07:00
Victor Romero
4b404e8cfb
Revert "[vcpkg install] Enable Download Mode (#7797)" (#7949)
This reverts commit 65d4bc146b.
2019-08-28 11:59:30 -07:00
Victor Romero
65d4bc146b
[vcpkg install] Enable Download Mode (#7797)
* [portfile functions] Override execute_process() to accept ALLOW_IN_DOWNLOAD_MODE option

* [vcpkg install] Set VCPKG_DOWNLOAD_MODE when using --only-downloads option

* [vcpkg_find_acquire_program] Allow in Download Mode

* Don't stop when build fails for a package

* Download sources for all packages in dependency graph

* Improve output messages

* Enable acquiring MSYS packages in download mode

* Documentation

* Update documentation

* execute_process() always fails on Download Mode

* Regenerate docs and fix formatting

* Run clang-format

* Use _execute_process on vcpkg_from_<source> helpers
2019-08-28 11:47:17 -07:00
Alexander Neumann
d93b940b18
Merge branch 'master' into path_separator 2019-08-23 08:54:20 +02:00
Alexander Neumann
78abf650e7 [vcpkg] QoL: add host/target dependent variables for executable suffixes (#7599)
* improve documentation

* add executable suffixes for host/target into common definitions
2019-08-22 15:57:24 -07:00
martin-s
95f9df7134 - Fixed ports script. (#7793) 2019-08-22 14:55:50 -07:00
Alexander Neumann
18d61a3fb1
Merge branch 'master' into path_separator 2019-08-21 12:00:35 +02:00
dan-shaw
0433989bad
[tensorflow] add new port for linux (#7568)
* [+] Add tensorflow-cc port (Linux only)

* [~] Refactor installation of tensorflow/external

  1. Install tensorflow/external to tensorflow-etc/external;
  2. Fix TensorflowCCConfig.cmake accordingly.

* [tensorflow] Work in progress

* fix tensorflow linux config

* [tensorflow] partial support for windows

* fix config paths

* use environmental variables instead

* remove files

* add python_path

* add verbose error messages

* review fixes

* [tensorflow] refactor config file

* minor changes

* set arch for CI
2019-08-20 12:13:26 -07:00
Curtis J Bezault
4da95d667c
[vcpkg]Port toolchains (#7687)
* checkpoint commit

* Only set VCPKG_ENV_OVERRIDES_FILE if it exists

* First pass at working port-toolchain

* Update VERSION.txt

* Return rvalue

* Fix compilation error

* Some fixes are requested by @ubsan

* Fix another compilation error
2019-08-20 08:47:26 -07:00
Alexander Neumann
743bec775a make find_library useable without errors to console. (#7773) 2019-08-20 08:34:18 -07:00
Alexander Neumann
70f4aabbe8
Merge branch 'master' into path_separator 2019-08-19 21:40:43 +02:00
Alexander Neumann
9c879883f6 add variables for target specific library suffix and prefix. (#7600)
also set the according cmakevariables in script mode
enabling find_library calls in portfiles
2019-08-19 11:13:30 -07:00
Nicole Mazzuca
300e21d59e [vcpkg] Major tool CMakeLists.txt updates
- Add the "VCPKG_DEVELOPMENT_WARNINGS" flag
	- setting "WERROR" will also set this flag
	- This flag is set by default
	- on GCC/clang, this will pass '-Wall -Wextra -Wpedantic -Werror'
	- on GCC, this will additionally pass '-Wmissing-declarations'
	- on clang, this will additionally pass '-Wmissing-prototypes'
	- on MSVC, this will pass '-W4 -WX'
- On Visual Studio 2017 and later, pass '-permissive-'
- Change the source for fallout of these changes
- add `format` subcommand
	- formats all C++ source and header files using clang-format
- move `include/vcpkg-test/catch.h` to `include/catch2/catch.hpp`
- pass CONFIGURE_DEPENDS to file(GLOB)
2019-08-16 19:40:53 -07:00
Curtis J Bezault
b47ca1b012
Merge pull request #7305 from cbezault/external_file_abi
[vcpkg] Public ABI override option
2019-08-16 13:51:22 -07:00
Victor Romero
a3a6530631
[vcpkg_check_features] Set output variable explicitly and allow reverse-logic check (#7558)
* [vcpkg_check_features] Set OUT_EXPAND_OPTIONS explicitly

* [vcpkg_check_features] Allow reverse logic for features

* [vcpkg_check_features] Document new parameters

* [vcpkg_check_features] Remove unnecessary logging

* Do not create variables for each feature only set OUT_FEATURE_OPTIONS

* Improve documentation

* Update ports that use vcpkg_check_features()

* Missing documentation updates

* [pcl] Fix tools feature

* [opencv,opencv4] Fix usage of vcpkg_check_features()

* [opencv4] Fix typo
2019-08-13 20:13:55 -07:00
dan-shaw
0f3b6fc163 vs 2019 integration bug (#7623) 2019-08-12 14:41:53 -07:00
Alexander Neumann
173642528e use vcpkg add to path in build scripts 2019-08-12 10:04:50 +02:00
Alexander Neumann
01e342d016 use VCPKG_HOST_PATH_SEPARATOR in scripts 2019-08-12 09:49:24 +02:00
Alexander Neumann
c4231c51e4 Merge remote-tracking branch 'upstream/master' into path_separator 2019-08-12 09:28:24 +02:00
Alexander Neumann
cabbe16525 [vcpkg/cmake] Added a function to fail from portfiles in a default way (#7601)
* added function vcpkg_fail_port_install to fail the portfile under requested circumstances and display a standarized failure message

* added always option.

* fix linux regressions

* bump control for ci tu rerun
2019-08-11 23:24:20 -07:00
Curtis.Bezault
f9561a08db remove unnecessary include, fix variable extraction 2019-08-09 14:47:58 -07:00
Curtis.Bezault
ad82c38cc1 Actually only override the PUBLIC ABI, not the private one 2019-08-09 14:40:09 -07:00
Curtis J Bezault
c4f1a91ef2
Merge branch 'master' into external_file_abi 2019-08-09 11:59:32 -04:00
Alexander Neumann
5899cd1d25 improve documentation 2019-08-08 14:40:47 +02:00
Alexander Neumann
b72fa4561f use it in vcpkg_add_to_path. 2019-08-08 14:22:53 +02:00
Alexander Neumann
6eaf7f0f97 add definition for host specific path separators 2019-08-08 14:18:47 +02:00
nicole mazzuca
165907550c
Update tests, and add documentation! (#7506)
This PR does the following:

* fix tests -- now, they're always built in the CMake scripts, and they work on VS2015
  *add a new flag, BUILD_TESTING, which allows one to turn off testing builds
* Add documentation for running tests
2019-08-02 09:52:39 -07:00