Commit Graph

796 Commits

Author SHA1 Message Date
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
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
crusader-mike
126812d18b Resolves "project is never up-to-date" problem (issue 6179) (#7322) 2019-07-22 10:47:57 -07:00
Curtis J Bezault
618fa203c1
[vcpkg] Portfile Settings (#7292) 2019-07-19 08:01:38 -07:00
Curtis J Bezault
bb3a9ddb6e
[vcpkg] Environment Variable Passthrough (#7290)
* use additional env param

* remove partials

* remove change to linux triplet

* Fix some issues that vicroms pointed out

* whitespace change
2019-07-18 09:02:21 -07:00
Igor Kostenko
f97f92785f Added nasm mirror as nasm.us is down again (#7175) 2019-07-09 23:17:17 -07:00
YenForYang
e7aafb7742 Cleanup vcpkg_configure_cmake.cmake (#6792) 2019-07-09 14:53:48 -07:00
myd7349
1053d5b386 [vcpkg] Fix incorrect setting of FEATURE_OPTIONS (#7158)
Setting a variable in PARENT_SCOPE will not make the variable also visible in
current scope, which, as a result, causes FEATURE_OPTIONS to be set incorrectly.
2019-07-07 00:33:46 -07:00
Robert Schumacher
2b8e225b2e
[vcpkg] Fix powershell font corruption bug (#7094)
* [vcpkg] Fix font corruption bug on Windows by downloading Powershell Core

* [vcpkg] Rename subtool to powershell-core

* [vcpkg] Add missing includes to project files
2019-07-06 13:29:46 -07:00
Phil Christensen
24b1618b29
revert ninja update (#7135)
Causing failures on Linux, revert until investigation is complete.
2019-07-02 15:12:47 -07:00
cskrisz
4642a4fc6c Fix Python3 tool on Windows (#7051)
* Delete python37._pth from python3-embed

* Add version number to SUBDIR

* [open62541] Use Python in version subdir
2019-07-02 13:47:50 -07:00
Phil Christensen
d2b3ef9e88
Fix vcpkg_from_git (#7082)
* [vcpkg_from_git/fdlibm] Fix flaky sha256 issues
* [doc] regenerate docs
2019-07-01 22:39:51 -07:00
YenForYang
12587b1b88 Update python2, python3, perl, aria2, ninja, ruby, 7z (#6791) 2019-07-01 13:31:17 -07:00
Leonid Pospelov
b26cb1a041 [vcpkg] Use spaces instead of semicolons in the output (#7080)
* Use spaces instead of semicolons in the output

* Add prettify_command macro

* Move pretty_command macro to a separate file
2019-07-01 13:30:24 -07:00
Victor Romero
e2049cb975
[vcpkg_configure_cmake] Add NO_CHARSET_FLAG option (#7074)
* [vcpkg_configure_cmake] Add NO_CHARSET_FLAG option

* [vcpkg_configure_cmake] Add documentation for new NO_CHARSET_FLAG option

* [vcpkg_configure_cmake, windows toolchain] Handle NO_CHARSET_FLAG in toolchain

* [build.cpp] Add Windows toolchain to package hash

* [duilib,msix,thrift,tidy-html5] Use NO_CHARSET_FLAG to fix regressions
2019-06-30 09:31:22 -07:00
myd7349
a7bbee3152 [vcpkg] Update vcpkg_check_features document (#7091)
* [oniguruma] Fix misusage of vcpkg_check_features

* [xsimd] Use vcpkg_check_features
2019-06-29 08:29:13 -07:00
myd7349
b4675fd65a [vcpkg] Add vcpkg_check_features (#6958)
* [vcpkg] Add vcpkg_check_feature, vcpkg_check_features

* [vcpkg] Remove vcpkg_check_feature

* [oniguruma,xtensor] Use vcpkg_check_features
2019-06-28 10:17:39 -07:00
Victor Romero
35e985d3cc
Triplets Overlay Implementation (#7053)
* Triplets Overlay Implementation

* Use cache for get_triplet_file_path()

* Code cleanup
2019-06-27 12:20:12 -07:00
Alexander Neumann
fd87a081bb Introduce an easier way to identify target systems... (#6846)
* Introduce an easier way to identify target systems...

* fix missing ()

* move the include around.
also added vcpkg_common_functions to be automatically included

* remove warning message

* added remaining VCPKG_CMAKE_SYSTEM_NAMEs found only in vcpkg_configure_cmake to load a toolchain.

* remove warning again from messed up merge
2019-06-26 15:00:48 -07:00
John Zhu
32ee6c96ce #5248 make vcpkg buildable as 'system' user (#7038)
If we keep TMP, when run as 'system' user it is using Windows\Temp folder.
2019-06-25 21:45:02 -07:00
Phil Christensen
1ce24dd0db
[docs]Update cmake docs (#7039) 2019-06-25 16:08:18 -07:00
tarcila
54b3be6b60 [scripts] Fix vcpkg_fixup_cmake on non Windows platforms (#5630)
* [scripts] Fix vcpkg_fixup_cmake on non Windows platforms

Script was only handling tools executables ending with .exe.
Changed it so anything under /bin/ in transformed.

This fixes for instance FlatcTargets-release.cmake from flatbuffers
port on osx.
2019-06-24 23:21:30 -07:00
Norbert Nemec
11506d1426 set cmake_prefix_path correctly within vcpkg_configure_meson 2019-06-20 16:37:45 +02:00
Norbert Nemec
989d049702 mesonbuild - Update to 0.51.0 2019-06-20 16:37:45 +02:00
past-due
4b0b0c5731 bootstrap.sh: Retry up to 3 times for transient download errors (#6952) 2019-06-19 12:08:42 -07:00
Igor Kostenko
943aed271f Use correct path separators for each platform (#6960) 2019-06-19 12:08:02 -07:00
Phil Christensen
df0b8d9e55
[vcpkg] update python3 to 3.7.3 on windows (#6383)
* [vcpkg] update python3 to 3.7.3 on windows
* Update scripts/cmake/vcpkg_find_acquire_program.cmake
Co-Authored-By: Bradley Austin Davis <bdavis@saintandreas.org>
2019-06-19 10:47:09 -07:00
Phil Christensen
e4acc60b3c
address qhull flaky build with msvc linker (#6943) 2019-06-18 00:01:32 -07:00
TheGoddessInari
8cd2d17460 [vcpkg] Bootstrap should use Get-CimInstance instead of Get-WmiObject. (#6788)
* [vcpkg] Bootstrap should use Get-CimInstance instead of Get-WmiObject.

This lets it work with Powershell Core 6.0.
2019-06-16 23:09:07 -07:00
dan-shaw
9cc9978c5b set CMAKE_SYSTEM_PROCESSOR in Linux (#6872)
* add vcpkg_target_architecture to vcpkg_configure_cmake

* modify shogun and thrift

* update glbinding
2019-06-14 13:09:38 -07:00
Phil Christensen
7b41dc688a
retry on flaky linker (#6880)
* retry on flaky linker
2019-06-13 14:12:21 -07:00
shadowxiali
555b760c67 Update applocal.ps1 (#4942)
* Update applocal.ps1

* Update applocal.ps1

Fix Microsoft#2801,
prev modify mistake UTF8 to UTF

* Update applocal.ps1

in win7 chinese path, must utf8 to avoid copy dll fail
2019-06-12 17:41:28 -07:00
Curtis J Bezault
b7d6160b80
[icu] Enable parallel builds (#6695)
* Add VCPKG_NUM_LOGICAL_CORES

* break out logic that retries running a command several times into its own function

* Parallelize icu
2019-06-12 14:18:43 -07:00
driver1998
a85359f7d3 ffmpeg: enable arm/arm64 windows support (#6590)
* ffmpeg: enable arm/arm64 windows support

* ffmpeg: fix x64-uwp

* ffmpeg: remove outdated patch

* ffmpeg: remove outdated patch
2019-06-06 16:04:27 -07:00
huangqinjin
8ad8f08836 [vcpkg] Fix install from head when no-downloads (#6653) 2019-06-05 14:23:09 -07:00
Griffin Downs
3385b2caf7
Merge pull request #6716 from ThadHouse/wpilibport2
[wpilib] Add New Port
2019-06-04 18:46:50 -07:00
emptyVoid
c76cc635dc Move gpg-agent termination to vcpkg_acquire_msys. 2019-06-02 22:26:04 +07:00
JackBoosY
c62dfa26cc [DOXYGEN]Upgrade doxygen to 1.8.15. (#6704) 2019-05-31 23:19:32 -07:00
Thad House
94cf18d119 Fix vcpkg things 2019-05-31 13:50:30 -07:00
Thad House
788af2a75c Merge master 2019-05-31 13:49:13 -07:00
Charlie Barto
7340d6ac55 make meson not download things (#6667) 2019-05-31 02:50:05 -07:00
Alexander Neumann
bdb77a361c make regex case insensitive (#6402) 2019-05-24 16:35:40 -07:00
Robert Schumacher
33af90d42a
[many ports] Updates 2019.05.19 (#6524) 2019-05-21 21:00:24 -07:00
ccorn
b0b895bff6 Bootstrap: Refining PreferredToolArchitecture (#6398)
* Patch to enable bootstrap on Win32

* [bootstrap-vcpkg] Test OS version to set PreferredToolArchitecture
2019-05-20 15:48:59 -07:00
Sean Warren
84e19f1ce2 [vcpkg.cmake] Remove use of IN_LIST (#6521)
Fixes regression introduced by #5681 in CMake projects with minimum version <3.3 where CMP0057 is not set to NEW
Fixes #6484
2019-05-18 23:33:16 -07:00
Sean Warren
031e494970 Add mac applocal for bundling dependencies (#5681) 2019-05-16 13:24:02 -07:00
Robert Schumacher
8a6c7f375b
[vcpkg-bootstrap.sh] Enable finding gcc 9 (#6417) 2019-05-13 11:43:24 -07:00
lukka
f2f31240a0 fix parens in cmake variable name (#6420) 2019-05-13 00:11:07 -07:00
Alexander Neumann
884bf46bf4 also ignore x86 openssl paths (#6416) 2019-05-12 18:37:02 -07:00
Victor Romero
050e71d01d
Remove references to CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS (#5937)
* [various ports] remove references to CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS

* [alac,benchmark,capnproto] Fix  check_linkage call

* [fastlz] Fix SHA512

* [coroutine] Fix dynamic build

* [folly] Find double-conversion

* [gamma] Use vcpkg_from_github

* [librsync] Enable static builds

* [netcdf-cxx4] Fix SHA512

* [octomap] Fix static build

* [tidy-html5] Fix static build

* [various ports] remove custom messages for shared/static builds, modernize some scripts in the meantime

* [folly] Use ras0219's fix for link paths

* [octomap] Fix exported targets

* [uvatlas] Set tool download SHA512

* [duktape+python2] fix portfile to call configure with correct python version, manage python2 also outside win32

* [suitesparse] osx fix

* [gtkmm] Call vcpkg_check_linkage after including vcpkg functions

* [duktape] Resolve conflicts

* [duktape] FIxed typo in Python paths

* [wangle] Find zlib

* [openssl-uwp] Fix SHA512

* [glib] Allow static builds on non-Windows

* [suitesparse] Fix build on Windows

* [multiple ports] Bump CONTROL version

* [multiple ports] Fix description indent

* [directxtk] Fix CONTROL file

* [bde,duktape,qpid-proton] Build packages with python2 installed

* [binn] remove CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS

* [gdal,live555,uriparser] Fix regressions

* [live555] Update to 2019.04.24
2019-05-02 22:57:43 -07:00