Commit Graph

794 Commits

Author SHA1 Message Date
Francois Budin
540a32c841 Require the version of g++ to be at least 6
On Ubuntu 16.04, old versions of g++ such as 4.9 are available. Other
Linux distributions may also ship with g++ versions older than 5. With
the previous test, the bootstrap script was not failing fast and instead
was starting to compile vcpkg before it encountered the unsupported flag
-std=c++1z. The error message was not very explicit and that was making
it difficult to the developer to understand what the problem was. However,
when using g++ 5, an clear error message was printed to help the user.
This commit shows the helpful error message anytime g++ is older than
version 6.
2018-04-27 13:00:41 -04:00
Alexander Karatarakis
ef59460782 [bootstrap.sh] Minor refactoring for clarity 2018-04-25 22:23:45 -07:00
Alexander Karatarakis
aa423c999b
Merge pull request #3329 from rudilee/master
Checking for sha512sum on OS which doesn't have shasum
2018-04-25 21:26:24 -07:00
Alexander Karatarakis
c78a609dab [sh] Tweak so only the sh forwarder needs to be +x 2018-04-26 02:11:04 +00:00
Rudi Lee
6a3c1db30b Checking for sha512sum on OS which doesn't have shasum 2018-04-26 07:38:45 +07:00
Alexander Karatarakis
b5e4c4c7cf [find_acquire.cmake] Fix ninja path for mac 2018-04-24 16:05:02 -07:00
Alexander Karatarakis
f12ded7fd0 [sh] Fix permission 2018-04-24 22:44:46 +00:00
Alexander Karatarakis
a11086e3b9 Introduce bootstrap.sh 2018-04-23 19:00:56 -07:00
Alexander Karatarakis
d84e86a910 Fix grpc lookup (case-insensitive) 2018-04-23 18:43:05 -07:00
Alexander Karatarakis
d2f69445b6 Retry the wsl workaround up to 10 times 2018-04-23 18:43:05 -07:00
Jonathan Hale
3a3fa5cd8f [magnum] Properly deploy plugins (#3191)
* [magnum] Properly deploy magnum plugins

Signed-off-by: Squareys <squareys@googlemail.com>

* [magnum-plugins] Add tinygltfimporter feature

Signed-off-by: Squareys <squareys@googlemail.com>

* [magnum][magnum-plugins] Add features: trade and any*

Prepares upcoming move of those sublibraries and allows building --head
immediately.
For current release this only adds some unused cmake flags that will be
ignored.

Signed-off-by: Squareys <squareys@googlemail.com>

* [magnum] Add gl feature, cleanup dependencies, mark upcoming features

And sort features alphabetically.

Signed-off-by: Squareys <squareys@googlemail.com>

* [magnum-plugins] Prepare renaming of static flag for --head installs

Signed-off-by: Squareys <squareys@googlemail.com>

* [magnum] Add two missing feature dependencies

Signed-off-by: Squareys <squareys@googlemail.com>

* [magnum] Enable magnum[any*] features by default

Signed-off-by: Squareys <squareys@googlemail.com>
2018-04-18 19:33:12 -07:00
John Farrier
a4b35f14ba Upgrade Celero to v2.2.0 (#3259)
* Upgrade Celero to v2.2.0

* [celero] Fix installed cmake targets
2018-04-17 16:11:18 -07:00
Alexander Karatarakis
dc207a2c89 Restore powershell extracting because shell may not be available (see #3252) 2018-04-12 18:15:38 -07:00
Alexander Karatarakis
401e7a0e7c [vcpkg_build_cmake] Add workaround for WSL filesystem issues 2018-04-10 15:38:58 -07:00
Robert Schumacher
58be848276 [vcpkg] Always use -c65001 for the resource compiler on windows. Fixes #3221. 2018-04-10 10:52:19 -07:00
Robert Schumacher
bb054e645d [vcpkg] Don't pass /utf-8 to VS 2013 2018-04-10 10:34:05 -07:00
Alexander Karatarakis
908e714980 Fix typo 2018-04-09 22:14:47 -07:00
Alexander Karatarakis
1e1899c3a2 [ps1] Handle "downloading" local files
Fixes #3230
2018-04-08 15:14:21 -07:00
Alexander Karatarakis
3403204873 Update vswhere.exe to 2.4.1 2018-04-06 20:36:07 -07:00
Alexander Karatarakis
f63994db6c Update nuget.exe to 4.6.2 2018-04-06 20:34:06 -07:00
Alexander Karatarakis
d5a1e10541 [ps1] Verify hash for already present files. Dont check for path twice 2018-04-06 19:31:19 -07:00
Alexander Karatarakis
7d5c33cf1b [vcpkgTools.xml] Bump version to "2" 2018-04-06 17:26:58 -07:00
Alexander Karatarakis
3f6f9f3f4d [metrics] Use new string-hash functions instead of ps1 script 2018-04-06 17:24:46 -07:00
Alexander Karatarakis
3a9be92f7e [fetchTool.ps1] Move downloaded file in place after hash check 2018-04-06 17:24:46 -07:00
Alexander Karatarakis
5b78dfaf68 [fetchTool] Extract aria2 with shell 2018-04-06 17:24:46 -07:00
Alexander Karatarakis
e6ed2f8902 [find_acquire] Fix ninja path 2018-04-06 17:24:46 -07:00
Alexander Karatarakis
ab9dd6e6eb [find_acquire] Extract variable 2018-04-06 17:24:46 -07:00
Alexander Karatarakis
408cd5ccb8 [vcpkgTools.xml] requiredVersion -> version 2018-04-06 17:24:46 -07:00
Alexander Karatarakis
2fa16cda18 [vcpkgTools.xml] Change sha256 to sha512 2018-04-06 17:24:46 -07:00
Alexander Karatarakis
863a8f3329 [vcpkgTools.xml] Rename archiveRelativePath to archiveName 2018-04-06 17:24:46 -07:00
Alexander Karatarakis
23c2b82535 [vcpkgTools.xml] Add os="windows" to relevant entries 2018-04-06 17:24:46 -07:00
Alexander Karatarakis
e3099b458b Use 7zip920 instead of 7zr 2018-04-06 17:24:46 -07:00
Alexander Karatarakis
54c68da907 Use aria2 to do downloads (other than aria2 itself, 7za and 7zr) 2018-04-06 17:24:45 -07:00
Alexander Karatarakis
31377dee20 Use 7z for extracting. Extract tools in downloads/tools 2018-04-06 17:24:45 -07:00
Robert Schumacher
35f5a0de53 [vcpkg-cmake-toolchain] Remove some hardcoded find_package helpers and guard all remaining ones 2018-04-05 21:39:47 -07:00
Jacob Zhong
8754105991 [vcpkg] Remove log files when downloading succeeds. 2018-04-02 18:48:14 -07:00
Jacob Zhong
892f7052f9 [vcpkg] Add support of external downloader aria2 2018-04-02 18:48:14 -07:00
Alexander Karatarakis
800f8b0e1d Specify ninja exe 2018-03-30 17:46:13 -07:00
Alexander Karatarakis
f9d4692749 [vcpkg.cmake] Remove Windows SDK detection. Let cmake detect it 2018-03-29 21:14:06 -07:00
Alexander Karatarakis
3e1104465e Add ninja to vcpkgTools.xml 2018-03-28 18:51:14 -07:00
Alexander Karatarakis
12d862ab2b [ps1] Revert function removal 2018-03-27 18:08:05 -07:00
Alexander Karatarakis
c814c9b8ac [vcpkgTools.xml] Restructre os-specific info 2018-03-27 17:54:16 -07:00
Alexander Karatarakis
45d31162c2 [ps1] Remove extraneous function 2018-03-27 17:48:33 -07:00
Robert Schumacher
cfd0d9c0e2 [vcpkg-find-acquire-program] Update version of YASM 2018-03-27 08:41:23 -07:00
Alexander Karatarakis
72194ae8a0 [ps1] More fixes/tweaks 2018-03-27 04:08:57 -07:00
Alexander Karatarakis
7275877332 [ps1] Fixes/tweaks 2018-03-27 03:04:05 -07:00
Robert Schumacher
e8d1666d9c [aws-sdk-cpp] Update and fix cmake files 2018-03-24 14:29:30 -07:00
Robert Schumacher
6c690a2283 [vcpkg-configure-cmake] Set CMAKE_INSTALL_LIBDIR as type string to avoid CMake forming an absolute path 2018-03-23 16:23:37 -07:00
Alexander Karatarakis
c7664d1538 Merge remote-tracking branch 'origin/master' 2018-03-22 16:47:03 -07:00
Alexander Karatarakis
bc4fd2653b Improve warning message about Powershell 5.1 2018-03-22 16:46:52 -07:00
Michał Janiszewski
637c9bc0f0 [vcpkg] Fix setting exePath in fetchTool (#3114) 2018-03-22 14:28:17 -07:00
Robert Schumacher
c3fb0b1697 [vcpkg] Download cmake on osx and linux 2018-03-22 06:52:55 -07:00
Robert Schumacher
38c9c97b6b [double-conversion] Fix on non-windows 2018-03-21 23:33:41 -07:00
Robert Schumacher
d5e433f03b [vcpkg-build-msbuild] Add option to use vcpkg's integration. Fixes #891. Fixes #828. 2018-03-20 21:49:53 -07:00
Robert Schumacher
9e54b3792d [mpg123] Disable LTCG for static libs to avoid ABI incompatibility 2018-03-20 21:45:11 -07:00
Alexander Karatarakis
fdf8d471ed [TLS 1.2] Add message for Powershell 5.1+ 2018-03-20 12:39:53 -07:00
Robert Schumacher
49a719b78a [libmysql] Use system dependencies to avoid ODR violations 2018-03-19 13:06:57 -07:00
Robert Schumacher
c5f93055a0 [vcpkg-cmake-toolchain] Only wrap find_package(Boost) if a boost library is installed. 2018-03-14 09:58:23 -07:00
Robert Schumacher
94360c2c65 [vcpkg-find-acquire-program] Handle PERL and NASM on non-windows 2018-03-13 11:35:19 -07:00
Robert Schumacher
7142a09344 [vcpkg] Improve non-Windows default triplet detection 2018-03-13 05:56:02 -07:00
Robert Schumacher
ece289b9a6 [vcpkg] Don't set CMAKE_CROSSCOMPILING when targetting Linux-on-Linux 2018-03-11 23:42:54 -07:00
Robert Schumacher
6d74825741 [vcpkg-fixup-cmake-targets] Remove stray absolute references inside top-level cmake files. 2018-03-11 23:42:53 -07:00
Robert Schumacher
4338ae25a1 [vcpkg] Enable packages to provide cmake wrapper scripts. 2018-03-11 23:42:53 -07:00
Robert Schumacher
7aaa59fc9d [vcpkg] Fix extracting on Windows Server Core. Related to #2518. 2018-03-11 23:42:53 -07:00
Robert Schumacher
f56a5e4e94 [vcpkg] Improve defaults for other platforms 2018-03-11 23:42:53 -07:00
Robert Schumacher
ad7fa55bb0 [vcpkg] Improve handling of external toolchains. Extract MSVC settings to a separate toolchain file. 2018-03-11 23:42:53 -07:00
Robert Schumacher
8d70abd134 [libxml2] Fix vcpkg toolchain helper 2018-03-09 13:38:58 -08:00
Robert Schumacher
a759caf15e [gsl] Fix finding release libs in debug configurations. Fixes #2982. 2018-03-07 11:56:21 -08:00
Bruce Jones
ae1ce5aaa7 applocal-deps applied to MODULE_LIBRARY target too (#2972)
* Fix for issue #2786

* [vcpkg-cmake-toolchain] Only applocal dependencies for shared libraries

* applocal-deps applied to MODULE_LIBRARY target too
2018-03-07 10:17:52 -08:00
Viktor Gal
59795e2a8e add shogun 6.1.3 (#2977)
* add shogun 6.1.3

* [shogun] Add additional dependencies, force static linking
2018-03-07 09:56:59 -08:00
Michał Janiszewski
6f5573e889 [vcpkg] Allow ninja-based parallel configuration for UWP targets (#2929)
Allow using ninja as parallel configuration runner even if it is not
used as generator.

This significantly improves throughput for usecases like CI with
timeouts and more than one CPU (e.g. AppVeyor).
2018-03-03 13:09:55 -08:00
Robert Schumacher
a084120ab4 [vcpkg-acquire-msys] Restore sourceforge as a fallback mirror 2018-03-03 10:46:07 -08:00
ucker
41db37fc3d update the address of msys2 (#2941) 2018-03-03 05:40:32 -08:00
Robert Schumacher
bad51b0462 [vcpkg] Improve handling of external toolchain files 2018-03-02 09:25:32 -08:00
Robert Schumacher
a0eece81c6 [vcpkg-download-distfile] Add proxy usage information to download failed message 2018-03-01 11:10:19 -08:00
Robert Schumacher
e70250ca19 [vcpkg] Improve handling of HDF5 targets 2018-03-01 10:36:13 -08:00
Stefano Sinigardi
045c80a7f4 configure debug before release (#2911) 2018-03-01 08:31:14 -08:00
Alexander Karatarakis
1fb3785bee [findMSBuild.ps1] Set-StrictMode to Latest 2018-02-28 18:59:51 -08:00
Alexander Karatarakis
bbe0aa9230 [fetchTool.ps1] Set-StrictMode to Latest 2018-02-28 18:51:25 -08:00
Alexander Karatarakis
2d2ff28c77 [bootstrap] Set-StrictMode to latest 2018-02-28 18:45:33 -08:00
Alexander Karatarakis
90cf4371c3 [getWindowsSDK.ps1] Fix error when registry key was not found 2018-02-28 18:45:33 -08:00
Alexander Karatarakis
6e0b74c784 [vcpkgHasProperty] Return false if property doesn't exist 2018-02-28 18:45:33 -08:00
Alexander Karatarakis
d979d9b491 Fix issue when isPrerelease is not available 2018-02-28 18:45:33 -08:00
Alexander Karatarakis
f3463c4867 [bootstrap] Fix reference to xml file 2018-02-28 18:45:33 -08:00
Robert Schumacher
4642191a09 [vcpkg-scripts] The shell zip extractor requires full paths 2018-02-28 03:40:10 -08:00
Robert Schumacher
e2980c8f91 [vcpkg] Add 7zip internal tool 2018-02-26 18:18:43 -08:00
Jacob Zhong
63901137f6 Add doxygen and add packages option to vcpkg_require_msys (#2869)
* Add doxygen to acquired programs

* Add packages option to msys function

* Add documentation for PACKAGES in vcpkg_require_msys

* [ffmpeg][x264] Update to use `PACKAGES` parameter. Tweak docs.
2018-02-24 00:00:51 -08:00
Alexander Karatarakis
4077678583 Rename "depenencies" to tools. Rework xml file to reduce fields. 2018-02-23 18:19:04 -08:00
Alexander Karatarakis
f0cee21f7a [vcpkgDependencies.xml] Reuse in bootstrap 2018-02-23 18:19:04 -08:00
Alexander Karatarakis
31b27eaa1b Introduce vcpkgDependency.xml instead of hardcoding 2018-02-23 18:19:04 -08:00
Robert Schumacher
0334365f51 [vcpkg-cmake-integration] Warn if no packages are installed for the current triplet. 2018-02-23 16:50:32 -08:00
Alexander Karatarakis
ce53ea0011 TLS fix 2018-02-22 17:56:55 -08:00
Jim McGrath
b0f2b75a2b use TLS 1.2 for downloads 2018-02-22 15:19:14 -06:00
Robert Schumacher
59dca1d481 [vcpkg] Handle feature packages in CI 2018-02-21 20:08:25 -08:00
Robert Schumacher
099759de63 [vcpkg-download-distfile] Create target directory on download 2018-02-21 17:45:57 -08:00
Robert Schumacher
6b48216b8c [vcpkg-configure-cmake] Improvements to allow list parameters 2018-02-21 17:45:52 -08:00
Alexander Karatarakis
97531c32d4 [configure_qmake] Do not pass -d (too much output) 2018-02-21 14:50:36 -08:00
Alexander Karatarakis
8a4afe1619 Update git to 2.16.2 2018-02-20 18:09:51 -08:00
Alexander Karatarakis
2f6cf768e5 Improve vcpkgRemoveItem 2018-02-20 16:58:19 -08:00
Guillaume Lachance
995ab09409 libmupdf version bump (#2730)
* Add libgta

Libgta is a portable library that implements the Generic Tagged Array (GTA)
file format.

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* [libgta] turn off document build and doxygen dependency

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* [libgta] add build-dependency

- bzip2, zlib and liblzma

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* [libgta] remove dlls when static build

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* Fix typo

* [libgta] update CONTROL

add lf at end of file.

* libmupdf version bump

* [qt5-base] Use system freetype.

* [opencv] Fix UWP and ARM

* [hdf5] Always use config mode for HDF5

* [opencv] Fixup -- apply patch added in previous commit

* [abseil] Add *.inc files. Fixes #2718

* [abseil] Update to 2018-2-5

* Fix for Issue #2729

Allows PowerShell to change the name of the downloaded directory correctly.

* vcpkgRemoveItem: nullcheck

* [cpprestsdk] Update to 2.10.2

* Adding Torch's TH library (#2737)

Adding Torch's TH library

* [flatbuffers] Fixes #2735

* sobjectizer updated to v.5.5.21

* [nghttp2] Enable static builds

* [nghttp2]: update to 1.30.0 (#2739)

* [nghttp2]: update to 1.30.0

* [nghttp2] Enable static builds

* Add epsilon library port

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* [vcpkg-configure-cmake] Use ninja to configure in parallel (#2712)

* [curl] Add nghttp2.lib to dependencies of curl

* [vtk] Fix breaking change in find_package(HDF5)

* Merge findFileRecursivelyUp into VcpkgPowershellUtils

* [vcpkgInvokeCommandClean] Don't use -encodedCommand.

Instead, use -Command with the appropriate number of escaped quotes
(which ended up being 3)

* [blosc] Update to 1.13.5

static-install-fix.patch no longer required (upstream contains the patched version).
Resolves build error with VS 15.6 in static builds

* [cgal] Avoid using absolute paths in cmake config file

* Update CHANGELOG and bump version to v0.0.104

* [qt5-base][qtdeploy] Deploy plugin dependencies to the executable's folder.

* Add libgeotiff port

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* [libgeotiff] fix install directory for cmake configurations

Signed-off-by: Hiroshi Miura <miurahr@linux.com>

* fix tiff detection error when static build

* [libgeotiff] remove installed dlls when static build

* [libgeotiff] update description

* [chipmunk] 7.0.2 initial.

* [recast] 1.5.1 initial.

* [tinydir] 1.2.3 initial.

* [mman] git-f5ff813 initial.

* Update Catch to 2.1.2 (#2763)

* [vcpkg-ci] Delete intermediate build folders even on unsuccesful builds

* [folly] Workaround bug for VS 15.6

* [pcre] fix space issue and add mirror (fix #2751)

* [realsense2] Update to v2.10.0

Update realsense2 port to librealsense v2.10.0.

* [libevent] Fix generated libevent targets files

* fixed typo in warning message (#2773)

* [blaze] update to Blaze 3.3

* [lmdb] Fix possible whitespace problem

* Fix date issue

* add qt5-quickcontrols2

* add qt5-quickcontrols port

* add qt5-graphicaleffects

* change compile order to debug first, fix #2767 (#2785)

* [liblzma] Add usage information

* [ffmpeg] Allow static builds of ffmpeg (#2783)

ffmpeg creates static .a libraries, so change the suffix to .lib

* [ffmpeg] Bump version for PR #2783

* [aubio] Update to handle static FFMPEG

* Copy local dependencies for library targets (#2787)

* Fix for issue #2786

* [vcpkg-cmake-toolchain] Only applocal dependencies for shared libraries

* [uriparser] Update to 0.8.5

* [vcpkg] Implement Default-Features (#2697)

* [vcpkg] Add Default-Feature to make_status_pgh utility function

Signed-off-by: Squareys <squareys@googlemail.com>

* [vcpkg] Parse "Default-Features" as dependencies and add test for parsing

Signed-off-by: Squareys <squareys@googlemail.com>

* [vcpkg] Document some methods and structures

Signed-off-by: Squareys <squareys@googlemail.com>

* [vcpkg] Add install_default_features_test

Signed-off-by: Squareys <squareys@googlemail.com>

* [vcpkg] Change install_default_features_test to not have preinstalled package

* [vcpkg] Test install behaviour of default features

Signed-off-by: Squareys <squareys@googlemail.com>

* [vcpkg] Implement default features

Signed-off-by: Squareys <squareys@googlemail.com>

* [vcpkg] Test default features upgrade behavior

Signed-off-by: Squareys <squareys@googlemail.com>

* [vcpkg] Implement upgrade with default features

Signed-off-by: Squareys <squareys@googlemail.com>

* [vcpkg] Test behaviour of upgrade with default features in dependencies

Signed-off-by: Squareys <squareys@googlemail.com>

* [vcpkg] Make upgrade install new default features

Signed-off-by: Squareys <squareys@googlemail.com>

* [vcpkg] Move collecting of packages for which to prevent defaults

Further down the line to create_feature_install_plan.

Signed-off-by: Squareys <squareys@googlemail.com>

* [vcpkg] Fix core missing from default features and potential inf loop

Signed-off-by: Squareys <squareys@googlemail.com>

* [vcpkg] Rename, fix and move some tests

Signed-off-by: Squareys <squareys@googlemail.com>

* Updated boost license to 1.66.0 (#2795)

I was a bit confused to see a reference to "1.65.1" while I was installing 1.66.0, but it turns out this URL is just not updated. This updates it.

* [vcpkg-find-acquire-program] Add mirror for NASM. Fixes #2777.

* update cuda requirement to 9.0, fixes #2791 (#2802)

* update cuda requirement to 9.0, fixes #2791

* [cuda] Restore sample version blob

* [vcpkg] http_proxy and https_proxy should be lowercase (#2815)

Pacman of Msys understands only lowercase environment variables
http_proxy and https_proxy.

* [vcpkg] Add find/find_installed/is_installed for FeatureSpec

Signed-off-by: Squareys <squareys@googlemail.com>

* [vcpkg] Fix build command for packages that depend of features

Signed-off-by: Squareys <squareys@googlemail.com>

* [liblo] Initial port (#2821)

* [portaudio] Added ASIO support to build

* Update libpng to 1.6.34

* [liblo] Initial port

* Revert "Update libpng to 1.6.34"

This reverts commit ede0bb947b.

* Revert "[liblo] Initial port"

This reverts commit bb819eb218.

* [liblo] Initial port

* [liblo] Use vcpkg_from_github() and vcpkg_fixup_cmake_targets()

* [liblo] Fix SHA512

* [openvr] update to 1.0.13 (#2809)

* [ebml] Initial port. (#2812)

* [vcpkg] Fix bug with missing dependencies introduced in #2697 (#2819)

When a package dependency was not found (has no source control file),
install would exit with "Value was null" when trying to install its default
features, as the dependency would be marked erroneously as found in this
case.

Signed-off-by: Squareys <squareys@googlemail.com>

* [vcpkg] Avoid using s::status_known() -- it does not do what you think it does

* [jansson] Update to 2.11 (#2820)

* [aws-sdk-cpp] update to 1.3.58 (#2810)

* [mkl] Add port MKL (#2806)

* [corrade,magnum,-plugins,-extras,-integration] Update to latest and support feature packages (#2687)

[corrade,magnum,-plugins,-extras,-integration] Update to latest and support feature packages

* [jbig2dec][libmupdf] Extract jbig2dec, remove remaining vendored 3rdparty
2018-02-17 02:31:49 -08:00
Robert Schumacher
f279e9f5e3 [vcpkg-find-acquire-program] Add mirror for NASM. Fixes #2777. 2018-02-14 18:04:16 -08:00
Bruce Jones
78b1396b88 Copy local dependencies for library targets (#2787)
* Fix for issue #2786

* [vcpkg-cmake-toolchain] Only applocal dependencies for shared libraries
2018-02-13 16:13:27 -08:00
Jason Juang
d8f3fffd5e change compile order to debug first, fix #2767 (#2785) 2018-02-13 00:00:27 -08:00
Robert Schumacher
73e45b0ce2 [qt5-base][qtdeploy] Deploy plugin dependencies to the executable's folder. 2018-02-08 13:25:45 -08:00
Robert Schumacher
1e3435e32b Merge branch 'master' of https://github.com/Microsoft/vcpkg 2018-02-07 17:47:53 -08:00
Alexander Karatarakis
3aac3957ae [vcpkgInvokeCommandClean] Don't use -encodedCommand.
Instead, use -Command with the appropriate number of escaped quotes
(which ended up being 3)
2018-02-07 17:31:30 -08:00
Alexander Karatarakis
815e3caf55 Merge findFileRecursivelyUp into VcpkgPowershellUtils 2018-02-07 17:31:30 -08:00
Robert Schumacher
116914e110 [vtk] Fix breaking change in find_package(HDF5) 2018-02-07 17:10:43 -08:00
Robert Schumacher
676c861ae6 [curl] Add nghttp2.lib to dependencies of curl 2018-02-07 17:03:14 -08:00
Robert Schumacher
71025694e9
[vcpkg-configure-cmake] Use ninja to configure in parallel (#2712) 2018-02-07 16:57:47 -08:00
Alexander Karatarakis
c9d434dfbc vcpkgRemoveItem: nullcheck 2018-02-06 15:36:16 -08:00
Neil McNeight
f136732dcd
Fix for Issue #2729
Allows PowerShell to change the name of the downloaded directory correctly.
2018-02-06 15:26:06 -06:00
Robert Schumacher
d385e296a6 [hdf5] Always use config mode for HDF5 2018-02-05 17:50:16 -08:00
Robert Schumacher
1f6f27a548 [vcpkg-from-bitbucket] Fix HEAD builds. Fixes #2696. 2018-01-31 11:50:50 -08:00
Alexander Karatarakis
2bc105cd95 Add vcpkgFormatElapsedTime in powershell side 2018-01-30 14:42:33 -08:00
Alexander Karatarakis
6c0f3a8859 [ClearEnvironment] Fix registry comments 2018-01-27 22:08:07 -08:00
Alexander Karatarakis
e9b0de9d68 Add -NoProfile and -ExecutionPolicy Bypass in powershell call 2018-01-25 17:27:43 -08:00
Alexander Karatarakis
186a2cf88b [bootstrap] Fix whitespace issue 2018-01-25 17:03:37 -08:00
Alexander Karatarakis
6e07cbeff4 [bootstrap] Specify full path for dirs.proj 2018-01-25 16:48:32 -08:00
Alexander Karatarakis
edcc8e2c36 [bootstrap] Exit fast(er) if msbuild fails 2018-01-25 14:57:53 -08:00
Alexander Karatarakis
89addaa7a5 VcpkgInvokeCommand: return the error code 2018-01-25 14:57:26 -08:00
Alexander Karatarakis
a8a20f1a13 VcpkgInvokeCommand: remove paramter $wait 2018-01-25 14:46:00 -08:00
Alexander Karatarakis
fd2f9816cc Don't expand variable 2018-01-24 15:22:41 -08:00
Alexander Karatarakis
e5b0de35d3 [vswhere] Update to 2.3.2 2018-01-23 15:08:52 -08:00
Alexander Karatarakis
0df743d625 [bootstrap] Build vcpkg in a clean environment 2018-01-23 14:16:06 -08:00
Alexander Karatarakis
a5fe308ea3 $script:MyInvocation.MyCommand.Definition
It works also in cases where scripts/functions are calling each other.
Without the $script prefix, it would instead give you the calling function OR the path if there was no parent function.
With the prefix, it always yields the directory of the script
2018-01-23 14:16:06 -08:00
Alexander Karatarakis
62c8626f4d vcpkgInvokeCommand(): Add -NoNewWindows flag 2018-01-23 14:16:06 -08:00
Alexander Karatarakis
ae582e0d4f [bootstrap] Extract arguments in variable 2018-01-23 14:16:05 -08:00
Alexander Karatarakis
3332326c65 Update CMake to 3.10.2 2018-01-23 14:16:05 -08:00
Alexander Karatarakis
2890ffa31c Don't print "downloading..." if file is already downloaded 2018-01-23 14:16:05 -08:00
Tsukasa Sugiura
64203615a6 Fix OpenNI2 deploy (#2627)
* Fix OpenNI2 deploy

Fix to deploy initialization file and drivers.

* [openni2] Adjusting deployopenni2.ps1 paths

* Fix Create Directory of OpenNI2 Drivers

Fix create directory of OpenNI2 drivers.

* Fix Deploy Script Path

Fix deploy script path.
2018-01-23 08:45:23 -08:00
Robert Schumacher
353d635b97 [freetype][harfbuzz] Fix static freetype dependency. 2018-01-18 10:57:30 -08:00
Robert Schumacher
d35866018a
Merge pull request #1993 from Barath-Kannan/qt5_modular
Qt5 modular
2018-01-18 10:51:18 -08:00
Robert Schumacher
b47b4346f8 [vcpkg-build-qmake][vcpkg-configure-qmake] Collapse config-specific versions. 2018-01-18 07:36:54 -08:00
Sean Warren
c1ba4eacc3 Generalise vcpkg_fixup_cmake_targets.cmake file to correctly detect dlib debug files (#2574) 2018-01-18 01:28:56 -08:00
Alexander Karatarakis
c7296cf1f2 [FetchDependency] Print out text when downloading/extracting 2018-01-17 17:34:41 -08:00
Alexander Karatarakis
81ab439b48 [VcpkgPowershelUtils] Inline variable 2018-01-17 17:34:41 -08:00
Alexander Karatarakis
3390007020 [powershell] Remove usages of BitsTransfer 2018-01-17 17:34:40 -08:00
Barath Kannan
c30363d07b Merge branch 'master' into qt5_modular 2018-01-17 19:00:43 +11:00
Cdec
3b3bff1824 [vcpkg_download_distfile] Change to refer _VCPKG_INTERNAL_NO_HASH_CHECK in parameter check 2018-01-14 12:49:04 +09:00
Stefano Sinigardi
bc70053ab7 use proper symbol to build correct configuration 2018-01-06 18:54:59 +01:00
Robert Schumacher
2b30280c22 [vcpkg-download-distfile] Regenerate docs and enable SKIP_SHA512 only in unstable (head) mode 2018-01-05 16:16:08 -08:00
Mikhail Paulyshka
42c0cfc870 [vcpkg] fix --head flag for github-based ports 2018-01-05 15:47:17 -08:00
Robert Schumacher
cf802347a4
Merge pull request #2218 from jasjuang/llvm
[llvm] add in clang and enable tools
2018-01-05 15:37:14 -08:00
Robert Schumacher
0cf5bd657e [vcpkg-fixup-cmake-targets] Add TARGET_PATH option 2018-01-03 20:11:35 -08:00
Jacek Blaszczynski
a28138eb9e Add preliminary support for arm-windows and arm64-windows triplets (#2371)
* Add preliminary support for arm-windows and arm64-windows triplets

Visual Studio 15.4 shipped with new VC tools targeting arm and arm64
for desktop. This change allows for recognition and usage of new
triplets supporting arm and arm64 Windows desktop and server targets.

* Remove unnecessary changes

* Part 2

* Part 3

* Make detection of Arm64 _VCPKG_TARGET_ARCHITECTURE precise

* Enforce usage of Visual Studio CMake generatorfor arm and temporarily arm64 targets

* Address code review feedback, clean libjpeg-turbo port.cmake

* [libjpeg-turbo][tiff] Reduce changes to existing libraries.

* [vcpkg-cmake] Simplify toolchain selection logic and improve comments
2018-01-03 17:19:52 -06:00
Robert Schumacher
7f9ca12c4c [vcpkg-download-distfile] Fix #2426 2018-01-03 14:30:30 -08:00
Albert Ziegenhagel
43aec468a1 Remove workaround for a bug in FindMPI.cmake that was introduced in cmake 3.10.0 and fixed in 3.10.1 2018-01-03 10:58:59 +01:00
Albert Ziegenhagel
be5e529bb3 Update cmake to 3.10.1 2018-01-03 10:57:46 +01:00
Barath Kannan
d8f0ea9999 resolve merge conflicts 2017-12-27 16:57:43 +11:00
Robert Schumacher
a24ccdfc01 [vcpkg-build-cmake] Build at IDLE priority. Try to detect out-of-memory issues in the linker, and restart the build once. 2017-12-21 12:13:25 -08:00
Robert Schumacher
5e5506e68a [vcpkg-download-distfile] Add input sanitization 2017-12-21 03:47:02 -08:00
Tsukasa Sugiura
6cb6a61aaf Fix find Boost when can not be found Boost that installed with Vcpkg (#2395)
* Fix find Boost when can not be found Boost that installed with Vcpkg

Fix find Boost when can not be found Boost that installed with Vcpkg.
Re-find package Boost uisng user specified options.

* Fix regex of generators

Fix regex of generators.
Add ending position.

* Fix Save and Resore Boost_COMPILER

* [vcpkg-cmake-integration] Expand saved boost variables
2017-12-19 16:18:13 -08:00
Robert Schumacher
7e1a737ba4 [vcpkg-integrate-powershell] Fix $false bug. Fixes #2397. 2017-12-19 16:11:34 -08:00
Alexander Karatarakis
1656cf7fa7 [powershell] Use \ instead of / for paths. Resolves #2358. Resolves #2361 2017-12-12 17:53:29 -08:00
Robert Schumacher
4567fa5709 [vcpkg-cmake-toolchain] Mark _VCPKG_ROOT_DIR as INTERNAL 2017-12-09 17:25:12 -08:00
cDc
19860a0933 [tinyexif] add TinyEXIF library (#2221) 2017-12-09 00:24:19 -08:00
Robert Schumacher
3c2b2cc607 [vcpkg-cmake-toolchain]
Use list(APPEND) instead of set(). Fixes #2336.
Fix MPI issue introduced in cmake 3.10. Fixes #2317.
Add _VCPKG_ROOT_DIR to persisted variables to reduce disk access during cmake reconfigure.
2017-12-08 22:08:19 -08:00
Alexander Karatarakis
1f3013bea3 Improve vcpkgExtractFile. Also merge vcpkgRemoveDirectory/File 2017-12-08 15:16:35 -08:00
Ilya Finkelshteyn
e7cbb50f3d Fix path to powershell.exe
https://github.com/Microsoft/vcpkg/issues/2299
2017-12-05 15:22:21 -08:00
Robert Schumacher
a4f8515c9e [vcpkg-msbuild-integration] Address #2299 by using full path to powershell. 2017-12-05 15:22:21 -08:00
Alexander Karatarakis
d26a6b067c Add vcpkg integrate powershell for tab completion 2017-12-04 15:37:06 -08:00
Alexander Karatarakis
fdf7c65aa4 Exit early if no VS is found 2017-11-30 16:43:59 -08:00
Robert Schumacher
d38d4a7540 [vcpkg] Add --x-xunit internal command to print installation results in a VSTS friendly format. 2017-11-30 08:09:09 -08:00
Robert Schumacher
b4668e664a [vcpkg] Only default target triplet to windows if on windows 2017-11-28 13:17:10 -08:00
Alexander Karatarakis
b7c9ef5553 Don't return $destinationDir 2017-11-27 00:45:00 -08:00
Alexander Karatarakis
2c914ff05a Rework vcpkgExtractFile (powershell) 2017-11-27 00:42:39 -08:00
Alexander Karatarakis
c4c079f86e [VcpkgPowershellUtils] Minor tweaks 2017-11-27 00:42:39 -08:00
Mikhail Paulyshka
e009618ba0 [cmake] update to 3.10.0 (#2236) 2017-11-26 03:18:35 -08:00
Alexander Karatarakis
92872439b9 [fetchDependency[ Make parameter mandatory 2017-11-26 01:32:09 -08:00
Alexander Karatarakis
8883e40aaa vcpkgCreateDirectory->vcpkgCreateDirectoryIfNotExists 2017-11-26 01:31:58 -08:00
Robert Schumacher
14cbe496bc [vcpkg] Allow compilation inside WSL 2017-11-25 16:21:54 -08:00
Robert Schumacher
5335d17f53 [vcpkg] Initial experimental support for VCPKG_BUILD_TYPE release 2017-11-25 15:25:18 -08:00
Robert Schumacher
a3ea74b9ed
Merge pull request #2250 from AndyM84/master
Adding UnitTest++ Port
2017-11-25 12:48:07 -08:00
Robert Schumacher
89983fe102 [vcpkg-from-github] Improve argument handling 2017-11-25 12:47:49 -08:00
Robert Schumacher
141f10801c [vcpkg] Improve external toolchain handling. 2017-11-25 11:50:31 -08:00
Robert Schumacher
f7c10858f7
Merge pull request #1752 from martin-s/patch-vs2013
Added support for VS2013 build chain tools.
2017-11-21 21:47:51 -08:00
Robert Schumacher
eec26f68fc [qt5] Reduce duplication in modular build by extracting qt5modularscripts 2017-11-20 17:07:03 -08:00
Frank Quinn
7fc2d7dbdf Added SCONS to vcpkg_find_acquire_program
See: http://scons.org

I have a port I would like to submit which uses scons (which in
turn uses the python interpreter already provided). This change
makes SCONS usable for vcpkg_execute_required_process.
2017-11-19 11:42:52 +00:00
Alexander Karatarakis
6290155eaa [vcpkgExtractFile] Fix partial dir name. Special case 1-item zips
- If the zip contains a single item, pull that up a directory
- If the zip contains multiple items, place that in a directory on of the same name as the zip
2017-11-17 01:23:14 -08:00
Robert Schumacher
875bb9a661 Merge branch 'qt5_modular' of https://github.com/Barath-Kannan/vcpkg into Barath-Kannan-qt5_modular 2017-11-17 00:22:15 -08:00
Alexander Karatarakis
b2e1dc3e5a Use temp-and-rename pattern for extracting 2017-11-16 02:02:00 -08:00
Alexander Karatarakis
2abdcc1eec Introduce VcpkgPowershellUtils 2017-11-15 22:37:24 -08:00
Robert Schumacher
7e3dcc4f09 [tesseract] Fix static linking. [icu][tiff] Add patches in toolchain to fix static linking. 2017-11-15 21:58:26 -08:00
Robert Schumacher
4228e1e389 [llvm] Install debug targets for cmake 2017-11-15 21:15:37 -08:00
Robert Schumacher
24283ec1ee [leptonica][tiff] Add LZMA to tiff's dependent libraries. Leptonica should use TIFF_LIBRARIES. 2017-11-15 18:57:05 -08:00
Robert Schumacher
415789b42e [vcpkg-metrics] Replace SQM with MAC hash. 2017-11-13 21:49:11 -08:00
Robert Schumacher
50f6bc4e8f [vcpkg-toolchain] Fix find_package detection of Boost. Fixes #2130. 2017-11-10 17:34:00 -08:00
Alexander Karatarakis
cd41cfe468 Use Push-Location/Pop-Location instead of pushd/popd 2017-11-09 21:42:36 -08:00
Alexander Karatarakis
7eb0095094 Rename $explicitlyRequestedVSPath to $withVSPath 2017-11-09 21:41:16 -08:00
Alexander Karatarakis
615f7e112f [bootstrap.ps1] Add option to specify VS path 2017-11-09 20:09:22 -08:00
Alexander Karatarakis
eabacf0d14 Make parameter mandatory 2017-11-09 20:09:22 -08:00
Alexander Karatarakis
138bce34f2 Fix SHA-256 name 2017-11-09 20:09:22 -08:00
Robert Schumacher
2ece3186ff [vcpkg-build-msbuild] Update examples. 2017-11-08 10:41:03 -08:00
Robert Schumacher
d43676658a [vcpkg_from_github] Handle '/' in REFs. Fixes #2141. 2017-11-07 09:10:19 -08:00
Robert Schumacher
5743b68bc2
Merge pull request #2139 from UnaNancyOwen/fix_buildsystems
Reset settings to find boost libraries
2017-11-06 09:49:13 -08:00
Alexander Karatarakis
4bd9ad6969 [Get-(File)Hash] Use namespaces and add Pscx check 2017-11-05 18:10:48 -08:00
Alexander Karatarakis
524adf93aa [Expand-Archive] Use namespaces to distringuish Powershell 5's and PSCX's 2017-11-05 17:58:47 -08:00
Tsukasa Sugiura
07e4e674f0 Reset settings to find boost libraries
Reset the settings to find the boost libraries that installed by vcpkg.
vcpkg will always rename to Boost libraries name that able to be find
with default settings of FindBoost.cmake.
2017-11-06 04:33:35 +09:00
martin-s
d5a7da6bcb Merge branch 'master' of https://github.com/Microsoft/vcpkg into patch-vs2013
# Conflicts:
#	scripts/cmake/vcpkg_configure_cmake.cmake
#	toolsrc/src/vcpkg/vcpkgpaths.cpp
2017-11-05 19:13:16 +01:00
Barath Kannan
b959f70a99 merge from master 2017-11-06 00:33:04 +11:00
Barath Kannan
3a5b383bbe resolve conflict on non-existant vcpkg_acquire_depot_tools 2017-11-06 00:31:24 +11:00
Barath Kannan
9bb4817e32 use install target in Makefiles; make all portfile uniform 2017-11-06 00:24:29 +11:00
Robert Schumacher
330b8d8bab [vcpkg-msbuild-integration] Output warning when configuration is not determinable. Add special cases for RelWithDebInfo and MinSizeRel. 2017-11-04 20:48:06 -07:00
Alexander Karatarakis
3b90bc07ce [cmake] Update to 3.9.5 (was 3.9.4) 2017-11-03 18:25:54 -07:00
Alexander Karatarakis
ad884fc296 [vswhere] Update to 2.2.11 (was 2.2.7) 2017-11-03 16:40:28 -07:00
Alexander Karatarakis
a4dc2d2ef2 [fetchDependency.ps1] Improve error message on hash mismatch 2017-11-03 16:39:43 -07:00
Alexander Karatarakis
9dc02f48b6 [fetchDependendy.ps1] Remove obsolete comment 2017-11-03 16:35:15 -07:00
Alexander Karatarakis
82ce87cfd0 Use download-at-temp-and-rename pattern in powershell too 2017-11-03 16:14:13 -07:00
Alexander Karatarakis
0fb0191f3c [ports.cmake] Use vcpkg_download_distfile() 2017-11-03 15:02:53 -07:00
Alexander Karatarakis
a523aacff8 [vcpkg_from_bitbucket] Use vcpkg_download_distfile() 2017-11-03 15:02:53 -07:00
Alexander Karatarakis
8bbd043bea vcpkg_from_github] Use vcpkg_download_distfile() 2017-11-03 15:02:53 -07:00
Alexander Karatarakis
76d4666f12 [vcpkg_acquire_msys] Use vcpkg_download_distfile() 2017-11-03 15:02:53 -07:00
Alexander Karatarakis
dc7db25713 [downloads] Don't show progress by default 2017-11-03 15:02:52 -07:00
Alexander Karatarakis
ebb52b8cb1 Remove vcpkg_acquire_depot_tools 2017-11-03 15:02:52 -07:00
Alexander Karatarakis
9150cb8a90 [vcpkg_find_acquire_program] Use vcpkg_download_distfile() 2017-11-03 15:02:52 -07:00
Alexander Karatarakis
24c3f87bf4 [vcpkg_download_distfile] Now downloads in a temp dir and rename to the target location 2017-11-03 15:02:52 -07:00
Robert Schumacher
b54f4f26ae [blaze] Fix remaining stray _INVALID_ROOT_ 2017-11-01 11:42:09 -07:00
James Chang
4ff90ec430 [poco] build with MySQL support (#2088)
* [poco] build with MySQL support

Set proper variables to enable MySQL support if libmysql port is installed

* [poco] Move Mysql support to a feature. Enable CMake config files.
2017-11-01 01:27:12 -07:00
Robert Schumacher
516c42bdc4 [bootstrap-vcpkg] Added better diagnostics in case of MSBuild failure. 2017-10-31 23:41:24 -07:00
Alexander Karatarakis
a5b54588ec [git] Update to 2.15.0 (was 2.14.3) 2017-10-31 17:31:10 -07:00
Alexander Karatarakis
47bf4b6b5c [fetchDependency] Now also returns output in the form <sol>data<eol> 2017-10-31 17:31:10 -07:00
Alexander Karatarakis
7d0bcceaf0 [findVSInstances] Data lines are now placed within <sol><eol> tags. Text outside these tags is ignored
This means we can print text in powershell now and it won't break vcpkg.
2017-10-31 17:31:10 -07:00
Alexander Karatarakis
eb7e1e481b Fix proxy usage in Win7 (powershell 2.0) 2017-10-31 17:31:10 -07:00
Alexander Karatarakis
0796a9df0e [git] Update to 2.14.3 (was 2.14.2.3) 2017-10-27 19:03:26 -07:00
Alexander Karatarakis
83c29df043 [fetchDependency] Fix compat with Powershell 2 2017-10-27 15:16:46 -07:00
Robert Schumacher
4b66571c9d [blaze] Add dependencies and install *-config.cmake files. 2017-10-26 22:35:06 -07:00
Robert Schumacher
73571b8eb7 Merge pull request #2034 from seanwarren/trim-sdk-version-string
Remove non-numeric characters from Windows SDK version string
2017-10-25 16:54:44 -07:00
Alexander Karatarakis
aec9215800 [InternalCI.ps1] Fix error when buildtrees/ does not exist 2017-10-24 17:08:24 -07:00
Robert Schumacher
90a3a8a3af Merge pull request #1972 from jasjuang/cgal
new port: cgal
2017-10-23 13:05:58 -07:00
Sean Warren
2a61710326 Remove non-numeric characters from Windows SDK version string
See issue #1836, #2019
2017-10-23 11:01:40 +11:00
Alexander Karatarakis
50ae9eec87 Do not depend on newlines when getting output from powershell 2017-10-19 19:57:58 -07:00
Robert Schumacher
f527812e9e [grpc] Fix absolute paths in installed cmake files. 2017-10-19 08:53:59 -07:00
bahaki386
11fdd415dd Update Meson to 0.43.0
Upedate Meson to 0.43.0.
It will fix Issue #2006.
2017-10-18 19:38:25 +09:00
Alexander Karatarakis
e9ba8b0ecb [nuget] Update to 4.4.0 (was 4.3.0) 2017-10-17 14:19:48 -07:00
Alexander Karatarakis
508c21a6f8 [vswhere] Update to 2.2.7 (was 2.2.3) 2017-10-17 14:08:30 -07:00
Alexander Karatarakis
fa4e54a373 [git] Update to 2.14.2.3 (was 2.14.1) 2017-10-17 14:05:55 -07:00
Alexander Karatarakis
ffd91c0c1d [fetchDependency] Call Get-FileHash if available, otherwise fallback 2017-10-17 13:58:36 -07:00
Alexander Karatarakis
d6d5540cc5 [fetchDependency] Call Start-BitsTransfer if available, otherwise fallback 2017-10-17 13:54:41 -07:00
Alexander Karatarakis
451c1c96be [fetchDependency] Use Test-Module for BitsTransfer module check 2017-10-17 13:42:58 -07:00
Alexander Karatarakis
7fac8a06c0 [fetchDependency] Add Test-Module function 2017-10-17 13:40:01 -07:00
Alexander Karatarakis
147cde8bfd [fetchDependency] Use Expand-Archive if it exists, otherwise fallback to cmd 2017-10-17 13:23:22 -07:00
Alexander Karatarakis
edb718e21b [fetchDependency] Introduce Test-Command function 2017-10-17 13:22:17 -07:00
Alexander Karatarakis
87296823ac [cmake] Update to 3.9.4 (was 3.9.3) 2017-10-17 12:43:08 -07:00
Barath Kannan
48128e5b4d Merge branch 'master' of https://github.com/Microsoft/vcpkg into qt5_modular 2017-10-17 20:25:12 +11:00
Barath Kannan
62b62d9f35 minor clean up and configuration 2017-10-17 20:02:26 +11:00
Alexander Karatarakis
0051e7477b [findVS] Add detection for VS2015 Build Tools 2017-10-16 17:04:55 -07:00
Alexander Karatarakis
e8f64049cf Fix getWindowsSDK.ps1 error when $path is $null 2017-10-16 17:02:59 -07:00
Alexander Karatarakis
374253cb1b [ninja] Update to 1.8.2 2017-10-16 16:23:10 -07:00
Robert Schumacher
81613fa0ff [vcpkg-toolchain] Improvements; add VCPKG_CHAINLOAD_TOOLCHAIN_FILE 2017-10-16 11:22:21 -07:00