Commit Graph

953 Commits

Author SHA1 Message Date
soroshsabz
2140d3c5eb [bootstrap.ps1] Fixed some possible incorrect comparison with null warnings. (#5343)
* Fixed some possible incorrect comparison with null warnings.

* Correct bad indentation.

* Removed extra space.
2019-02-22 10:47:48 -08:00
kiwixz
9446cc6729 [x265] upgrade to 3.0, enable assembly (upgrade nasm to 2.14) (#5389)
* [acquire nasm] upgrade to 2.14

* [x265] upgrade to 3.0, enable assembly

* [x265] Enable assembly only on Windows
2019-02-21 17:05:19 -08:00
Victor Romero
7a18088cf2
[vcpkg create, docs] Update create command's template and documentation on patching (#5370) 2019-02-15 14:32:07 -08:00
Sam Freed
ae991ee6ca Warn when unable to determine target architecture instead of error (#5188)
* Warn when unable to determine target architecture instead of error

* Make the warning not appear multiple times

* fix multiple warnings for real
2019-02-06 13:08:57 -08:00
Robert Schumacher
660745956a [boost][python3] Fix building with VS 2019 2019-01-30 14:27:10 -08:00
Robert Schumacher
fd56ffcf5c [vcpkg] Enable bootstrapping with VS2019 2019-01-30 14:27:10 -08:00
LRFLEW
e6552f1180 [BZip2] Fix Unix Dynamic Builds (#5184)
* [BZip2] Fix Unix Dynamic Builds

* [bzip2] Bump control version

* [libgta] Only build one flavor

* [vcpkg_configure_cmake] Resolve #2375 since we now use CMake >= 3.11
2019-01-29 13:43:39 -08:00
Robert Schumacher
581fd4501b [vcpkg_find_acquire_program] Improve robustness of finding bison 2019-01-28 15:37:23 -08:00
Lennart Trunk
13ec61a842 [qt5] update to QT5.12 (#4991)
* update qt5-base to 5.12

* update modules to 5.12 (qt5-declarative and dependents don't work yet)

* fix qt5-declarative for 5.12 and some hashes.

* add qt5-declarative as dependency for qt5-graphicaleffects
2019-01-16 14:54:59 -08:00
Phil Christensen
57c78037a4 Merge branch 'master' into dev/philc/4990 2019-01-11 12:44:31 -08:00
ivysnow
2d63525a15 [vcpkg] add support for FreeBSD (#4917)
* [vcpkg] add support for FreeBSD

* [x64-freebsd] Remove triplet because it is not currently in the set of supported triplets
2019-01-07 16:03:35 -08:00
Phil Christensen
09c3cc0d88 Merge branch 'master' of https://github.com/microsoft/vcpkg into dev/philc/4990 2018-12-21 00:36:36 -08:00
Phil Christensen
edec46528d
Merge pull request #4974 from alexkaratarakis/dev/alkarata/bashcompletion
[autocomplete] Add tab-completion support for bash
2018-12-20 00:02:21 -08:00
Bradley Austin Davis
b2996e1fd4 Support custom Android NDK, better ABI specification (#4986) 2018-12-17 16:45:09 -08:00
Bill Avery
ae2b0639a3 [graphqlparser] Use default library type for the platform instead of specifying SHARED (#4794)
* Use default library type for the platform instead of specifying SHARED

* [graphqlparser] Bump control version and slight cleanup

* [vcpkg_find_acquire_program] Correct for previous corruption of CI
2018-12-17 16:26:56 -08:00
Stefano Sinigardi
0d1229d34b update msys2 to latest release 2018-12-17 09:34:45 +01:00
Phil Christensen
648809dee6
Merge pull request #4943 from LukaszMendakiewicz/dev/lukaszme/portablegit
Replace MinGit with PortableGit
2018-12-13 14:04:41 -08:00
Alexander Karatarakis
fed9a24526 [autocomplete] Add tab-completion support for bash 2018-12-13 14:02:02 -08:00
Robert Schumacher
828cedb755 [vcpkg] Add support for muslc, static crt linkage, and forcing the system binaries for cmake and ninja 2018-12-12 09:19:37 -08:00
Billy O'Neal
cf7e2f3906 Allow redirection of the downloads folder with an environment variable. (#4883)
* Add detection for VCPKG_DOWNLOADS environment variable in vcpkgpaths.cpp.

* Pass the downloads directory from VcpkgPaths to cmake.

* Also fixup bootstrap on *nix.

* Make error message a little prettier.

* Make that bash script actually work :)

* [vcpkg] Alter Optional<> usage style

* [vcpkg-docs] Add section on Environment Variables to the docs
2018-12-11 11:48:41 -08:00
Łukasz Mendakiewicz
905f04da3d Upgrade to Git 2.20.0 2018-12-11 08:47:16 -08:00
Michael Hofmann
42fd0c982a Fix unterminated quoted string in bootstrapping script. (#4946) 2018-12-11 02:12:21 -08:00
Berrysoft
13d1231ad4 Adapt bootstrap to VS 2019 Preview (#4922) 2018-12-11 00:31:44 -08:00
Andrew Sayman
3fb47a376f Include instructions for CentOS bootstrapping (#4892)
Currently only includes Ubuntu or apt oriented system. CentOS provides similarly working compilers through devtoolsets.
2018-12-10 23:30:37 -08:00
Łukasz Mendakiewicz
221b65afc5 Replace MinGit with PortableGit
MinGit does not provide gzip.exe required by git archive required by vcpkg_from_git
2018-12-10 20:21:32 -08:00
Robert Schumacher
4d1fd42fca [vcpkg-toolchains] Use XYZ_INIT CMake variables for _significantly_ better integration
[brynet] Add missing openssl dependency
[discord-rpc] Ensure no external downloading
[podofo] Improve stability. Modernize.
[usrsctp] Disable Werror

[vcpkg-toolchains] Add linux changes to android and freebsd.

[usrsctp] Remove excess DLLs
2018-12-04 18:01:23 -08:00
Jayesh Badwaik
d562441fc9 [xmsh] add support for xmsh library (#4656)
* [xmsh] add support for xmsh library

  - xmsh is a mesh document format. xmsh library is the reference
    implementation for the format.

* [xmsh] removed extraneous file command

* [xmsh] update version to v0.2.3

* [xmsh] upgrade to version v0.3.1

* [xmsh] update to version v0.4

* + fix python executable packaging

* [vcpkg_find_acquire_program] Fix PYTHON3 on non-Windows
2018-11-26 16:52:11 -08:00
Robert Schumacher
380485194e [vcpkg_extract_source_archive_ex] Document vcpkg_extract_source_archive_ex 2018-11-22 14:48:18 -08:00
Robert Schumacher
eccae2adaa [vcpkg-tools] Update CMake links to GitHub 2018-11-21 17:28:14 -08:00
Robert Schumacher
3b01335e61 Revert "WIP [vcpkg] Fix CMAKE_SYSTEM_PROCESSOR with UWP and Linux triplets (#4688)"
This reverts commit 83af530a42.
2018-11-20 16:28:12 -08:00
Tsukasa Sugiura
83af530a42 WIP [vcpkg] Fix CMAKE_SYSTEM_PROCESSOR with UWP and Linux triplets (#4688)
* [vcpkg] Fix CMAKE_SYSTEM_PROCESSOR

Add CMAKE_SYSTEM_PROCESSOR setting under UWP, Linux, and Darwin.
If explicitly specified VCPKG_CMAKE_SYSTEM_PROCESSOR in triplet files, CMAKE_SYSTEM_PROCESSOR is set to specified architecture.

* [vcpkg-toolchains] Move logic out of vcpkg_configure_cmake and into the toolchains.
2018-11-20 15:51:32 -08:00
Alexander Karatarakis
27ec00ff3d [git] Update to 2.19.1 2018-11-15 15:19:42 -08:00
Alexander Karatarakis
f598d6c30f [cmake] Update to 3.12.4 2018-11-15 14:09:53 -08:00
Alexander Neumann
4f7d4dc66f Temp fix for #4359 (#4573)
* make user wide integration not burn everything if LLVM is used as a toolset.
(e.g. cmake -G "VS" -TLLVM fails to even find compiler due to linker issues)
fixes #4359 but might have side effects for that toolset.
(e.g. not automatically adding dependencies)

* remove whitespaces

* [vcpkg-integrate] Conform to MSBuild conventions for comparisons
2018-11-08 23:48:09 -08:00
Alexander Karatarakis
f7f06c516d [vcpkg_from_git] Use tar.gz because .zip has different hash in different timezones 2018-11-08 19:03:39 -08:00
Robert Schumacher
273b8ce3d0 [vcpkg-fetch] Switch back to 18.1.0; add hack in vcpkg.exe to map the hashes together. 2018-11-07 17:10:51 -08:00
Robert Schumacher
068032bc54 [vcpkg-fetch] Downgrade version of 7zip to hotfix NuGet.org changing the file hashes. 2018-11-07 13:27:27 -08:00
Christian Meurin
4ed4272031 win_flex 2.5.9 is no longer downloadable, use 2.5.16 (#4658)
* win_flex 2.5.9 is no longer downloadable, use 2.5.16

* [vcpkg_find_acquire_program] Fix links to flex and bison. Use subdir to avoid conflict with previous version.
2018-11-06 17:03:59 -08:00
Robert Schumacher
d2ffdca39b [docs] Regenerate docs for vcpkg_from_git 2018-11-06 15:47:02 -08:00
atkawa7
087691c94a fdlibm init (#4165)
* fdlibm init

* fix links

* Fix different hashes creation with google host

* Move functions to script

* Fix documentation

* [vcpkg_from_git] Add SHA512 argument, switch to zip to better support Windows.

* [fdlibm] Trigger rebuild

* [vcpkg_from_git] Use FETCH_HEAD reference to support tags
2018-11-06 13:56:40 -08:00
Koby Kahane
91ba6e4631 [rocksdb] update to v5.15.10 (#4342)
* [rocksdb] Update to v5.15.10

* [rocksdb] Cleanup

* [rocksdb] Fix cmake targets name.

* [toolchains] Set NDEBUG in release

* [rocksdb] Disable vcpkg_test_cmake due to misbehavior in x64

* [tiff] Use lzma on linux
2018-11-01 20:47:44 -07:00
Alexander Karatarakis
a589f9f9ed [bootstrap.ps1] Remove unneeded Out-Null 2018-11-01 01:36:51 -07:00
Alexander Karatarakis
9cd5f5be00 [bootstrap.ps1] Cleanup intermediate files after build 2018-11-01 01:36:37 -07:00
Alexander Karatarakis
5a1a75d2d6 [vcxproj] Explicitly specify intermediate and output directories
Avoids case-sensitivity issues, flattens the layout, no Win32 but x86 instead
Issue #4586
2018-11-01 01:26:31 -07:00
Roger Leigh
6d5eba6a6d xalan-c: Install headers correctly (#4565)
* Add SKIP_CLEAN option to vcpkg_install_msbuild

Also add vcpkg_clean_msbuild function to factor out clean
logic and allow re-use in portfiles.

* xalan-c: Correct header globbing

* vcpkg_install_msbuild: SKIP_CLEAN documentation correction

* [xalan-c] Add explicit check for localmsgindex header.
[docs] Regenerate
2018-10-25 12:34:45 -07:00
Robert Schumacher
9c62c6a37a Upgrades 2018.10.11 2018-10-25 10:27:26 -07:00
LRFLEW
16e7f4187b Create macOS configuration variables for triplets (#4477)
* Create macOS configuration variables for triplets

* Add new macOS configuration variables to documentation

* [vcpkg-configure-cmake] Fix typo
2018-10-23 16:49:48 -07:00
Robert Schumacher
a1fe9544fd [qt5-base] Update qtdeploy.ps1 to generate qt.conf, qml, and qtquick. Fixes #2857. 2018-10-23 15:12:57 -07:00
Robert Colton
473d63c4ed Qt 5.11 and static build fixes (#4164)
* fix da qt5

* fix qt config duplication

* [qt5-base] Use vcpkg_extract_source_archive_ex
[sqlite3] Enable SQLITE_ENABLE_COLUMN_METADATA

* [qt5-*] Update sub-portfiles

* qt5-base WIP

* [qt5] Fix Could not find qmlcachegen.exe

* [qt5-activeqt] Fix SHA512

* [qt5-base] Fix static builds

* [qt5-base] Bump control version

* [qt5-base] Restore removal of qmake dependencies

* [qt5-base] Partially revert #3280

* [qt5-base][vcpkg_build_qmake] Fix Qt5Bootstrap.lib issues
2018-10-22 10:49:16 -07:00
Alexander Karatarakis
4f3e3fcdcb Add ninja for Windows to vcpkgTools.xml 2018-10-15 13:40:09 -07:00
Ken A. Redergård
b357d2d0c3 Fix issue with compiling vcpkg.exe (#4149) (#4213)
* Fix issue with compiling vcpkg.exe (#4149)

The check for environment variable PATH match
other environment variables. When environment variable
VCTargetsPath used by msbuild is changed in cleanEnvironmentHelper.ps1
 the path is broken. This makes the compilation of vcpkg.exe fail.

This commit fix the issue by checking that environment variable PATH is
exactly PATH.

* [cleanEnvironmentHelper] Use -eq instead of -match
2018-10-10 05:00:33 -07:00
LRFLEW
c7f30eca90 Add definitions for CMAKE_SYSTEM_VERSION and CMAKE_SYSTEM_PROCESSOR to osx toolchain (#4441) 2018-10-10 05:00:05 -07:00
Alexander Karatarakis
e8371c179d [bootstrap.ps1] Prefer 64bit toolset 2018-10-04 16:39:57 -07:00
Robert Schumacher
06e85f063c [vcpkg_extract_source_archive] Fix incorrect var usage in vcpkg_extract_source_archive 2018-09-04 16:51:01 -07:00
Robert Schumacher
5d0b0ec82f [vcpkg_extract_source_archive] Fix incorrect var usage in vcpkg_extract_source_archive 2018-09-04 16:47:47 -07:00
David Ludwig
d68cc287f9 [GraphicsMagick] bug-fix: image files won't load (#4215)
* [GraphicsMagick] bug-fix: image files won't load

GM (GraphicsMagick) was failing to load image files, notably PNG or JPEG
images, as it was being compiled with support for 'GraphicsMagick
Modules'.  These are files with names specific to GM, and of the format,
'IM_*.dll'.  vcpkg's install process was not setting these up.  This
patch makes sure that when GM is built, it embed's GM's own
image-loading code into graphicsmagick.dll.

* [vcpkg_extract_source_archive_ex] Add PATCHES argument

* [openmesh] Use direct download instead of gitlab

* [blaze] Use PATCHES argument

* [graphicsmagick] Use vcpkg_extract_source_archive_ex
2018-09-04 16:20:46 -07:00
Hiroshi Miura
ab54bfa0cc [vcpkg] post-build cmake test (#3431)
* [vcpkg]  post-build cmake test

- test for applications with cmake build system
- Add a test feature to vcpkg core, make progress for #72
- Tests for zlib, bzip2, libiconv and openssl for example
- Test for curl will be failed, because of a bug #3053
  It can detect a this type of problems

* [vcpkg_test_cmake] Add MODULE parameter to explicitly specify which type of integration to test.

* [bzip2] Fix casing of cmake module name
2018-08-30 17:07:14 -07:00
Robert Schumacher
cf1df56e0d [vcpkg_download_distfile] Apply workaround from #3399 2018-08-30 15:57:37 -07:00
Mark Ian Holland
e9f36a0e27 *Update Meson to 0.47.1. (#4155)
*Fix acquire meson on Unix platforms.
2018-08-29 21:34:25 -07:00
igl42
a687f98f98 [blaze] Fix the SHA512 in the 'portfile.cmake' (#4138)
* [blaze] Fix the SHA512 in the 'portfile.cmake'

* [blaze] Use commit SHA to avoid future tag movement. Fix patches.
2018-08-22 14:38:31 -07:00
Lars Ivar Hatledal
107ed00628 Fix aquire flex and bison when not on Windows (#4120)
* use find_program to locate flex and bison when not Windows

* reset changes to thrift/portfile.cmake

* fix aquire flex and bison on non win platforms

* [vcpkg_find_acquire_program] Indentation and use CMAKE_HOST_WIN32
2018-08-22 14:04:20 -07:00
Robert Schumacher
ba5d624e8b [folly] Do not use -Werror 2018-08-15 11:17:40 -07:00
Robert Schumacher
393ac2880a [vcpkg_from_github] Improve documentation to include PATCHES argument 2018-08-11 22:12:18 -07:00
Robert Schumacher
d614e3e887 [openssl-unix] Fix for issue #4001
[vcpkg_configure_cmake] Use the correct path separators for the current platform instead of assuming ;
2018-08-10 03:00:18 -07:00
Romain Pokrzywka
961cd9effd breakpad: Enable building the libbreakpad_client library (#4008)
* breakpad: Enable building the libbreakpad_client library

That's the library that allows creating and uploading .dmp files
when a program crashes.

Use the same flags and setup as for libbreakpad, just note that
this commit changes the installation folder for headers which
was previously incorrect:
The libbreakpad headers were installed in include/google_breakpad,
but the correct path is include/breakpad/google_breakpad,
and client headers go into include/breakpad/client/windows.

* [breakpad] Install headers one directory higher

* [breakpad] Switch to only build static libraries. Disable libbreakpad_client on non-windows due to additional work required.
2018-08-08 06:02:30 -07:00
Robert Schumacher
cfc7f61b61 [docs] Fix GITLAB_INSTANCE-> GITLAB_URL 2018-08-08 05:25:20 -07:00
Frederik Carlier
cc00cf05fb New packages: libimobiledevice, getopt, readline (#3504)
* Add libplist

* Add libusbmuxd

* Fix typos

* Add getopt

* Add libimobiledevice

* Fix typos

* Add libideviceactivation

* Add ideviceinstaller

* Include utilities

* Install usbmuxd

* Add readline

* Fix readline on 64-bit windows

* Add libirecovery

* libideviceactivation: include tools

* Bump versions to fix build issues

* Bump versions

* Add idevicerestore

* [getopt][getopt-win32] Rename to getopt-win32 and only install on Windows Desktop

* [readline][readline-win32] Rename to readline-win32 and only install for Windows Desktop

* [vcpkg_from_github][vcpkg_apply_patches] Make PATCHES relative to the current port directory

* [vcpkg_install_msbuild][vcpkg_check_linkage] Introduce vcpkg_install_msbuild() and vcpkg_check_linkage().

* [libimobiledevice et al] Use vcpkg_from_github() and vcpkg_install_msbuild()

* [readline] Fix static builds
2018-08-08 04:15:13 -07:00
Robert Schumacher
97828a4be0 [vcpkg] Use -fPIC in all builds to enable mixing static libs with shared objects. 2018-07-17 16:09:12 -07:00
Zepp
3a1e0f7f68 compatible with non-English version of Windows (#3866) 2018-07-08 20:57:51 -07:00
Alexander Karatarakis
27c4907277
Merge pull request #3496 from skogler/master
Add vcpkg_from_gitlab and update OpenMesh to 7.0 using the new function.
2018-07-05 18:23:04 -07:00
Felipe Aburaya
4ebdbe7e88 [3fd] Initial port of 3FD project (#3811)
* [2fd] Initial port of 3FD project

* [3fd] Fix 2017 builds. Enable static builds in dynamic triplets. Improve vcpkg_build_msbuild().
2018-07-03 06:39:13 -07:00
Simon Hausmann
929f2d9b9b Make locating the Android NDK configurable (#3754)
Prefer an environment variable and fall back to the previous path if not
set.
2018-07-03 06:20:13 -07:00
MikeGitb
b81090e250 Fix misspelled configuration name (#3786) 2018-07-03 01:18:02 -07:00
Alexander Karatarakis
1c64424122 [cmake] Include cmake version to abi-tag. Update to 3.11.4. 2018-06-28 16:34:40 -07:00
Robert Schumacher
b93fb28e7c [vcpkg] Reduce verbosity when building ports. Reduce cleaning requirements for packages\ directory. 2018-06-26 21:48:42 -07:00
martin-s
c2b9c33adf Added parameter to vcpkg_copy_pdbs.cmake (#3688)
* - Added paths argument to locate pdbs.

* n/a

* - fixed line endings.

* [vcpkg-copy-pdbs] Tweak argument to replace patterns instead of adding patterns. Add slightly more detailed documentation.
2018-06-16 18:42:25 +02:00
Alexander Karatarakis
4a4215c2e5 Win7 compat. Fail if 64-bit requested on 32-bit machine 2018-06-13 11:54:33 -07:00
Alexander Karatarakis
e7721cde19 [bootstrap.ps1] Add option for building 64-bit vcpkg.exe 2018-06-13 11:21:12 -07:00
Alexander Karatarakis
56cc9ac15c Make bootstrap.bat parameters match bootstrap.sh 2018-06-12 17:13:17 -07:00
Alexander Karatarakis
db3004459f Improve disableMetrics propagation when consuming CMakeLists directly 2018-06-11 17:01:13 -07:00
Alexander Karatarakis
9508d4aad2 Add -disableMetrics for linux 2018-06-08 18:40:20 -07:00
Alexander Karatarakis
9750fff027 [bootstrap] Add option to specify WinSDK 2018-06-08 13:32:21 -07:00
Alexander Karatarakis
a925843121 Remove debug line 2018-06-04 12:35:42 -07:00
Alexander Karatarakis
edfca67857 "Release"->"release" to avoid case-sensitivity issues
Fixes #3641
2018-06-04 12:34:19 -07:00
Alexander Karatarakis
fa94febc7c Update git to 2.17.1 (security fix) 2018-05-30 19:36:43 -07:00
Alexander Karatarakis
1d52df8140 Fix toolchain for linux 2018-05-30 17:19:29 -07:00
Alexander Karatarakis
7932abed8d [ps1] Move variable close to where it is set 2018-05-19 19:38:45 -07:00
Alexander Karatarakis
6ccd43dfa7 Rename ps1 file 2018-05-19 19:23:33 -07:00
Alexander Karatarakis
3fc199dc52 Remove unused internalCI.ps1 2018-05-19 19:23:33 -07:00
Alexander Karatarakis
f1653a23d5 Inline variable 2018-05-19 19:23:33 -07:00
Alexander Karatarakis
bc96c069ac [bootstrap.ps1] Remove unneeded <sol> <eol>
it was used for communication with vcpkg
2018-05-19 19:23:33 -07:00
Alexander Karatarakis
8549a095a8 Remove stray entries 2018-05-19 19:23:32 -07:00
Alexander Karatarakis
a739df905c Merge VcpkgPowershellUtils into bootstrap.ps1 2018-05-19 19:23:32 -07:00
Alexander Karatarakis
555fa8d7cc Merge getVisualStudioInstances into bootstrap.ps1 2018-05-19 19:23:32 -07:00
Alexander Karatarakis
9e4196d495 Merge getWindowsSDK into bootstrap.ps1 2018-05-19 19:23:32 -07:00
Alexander Karatarakis
658f1caaab [vcpkg_get_windows_sdk] Don't call powershell. Deduce from env 2018-05-19 19:23:32 -07:00
Alexander Karatarakis
f2341b9245
Merge pull request #3522 from KindDragon/openexr-linux
[openexr] Fix linux build
2018-05-17 17:28:33 -07:00
Alexander Karatarakis
1e03300470 [ps1] Fix error when vs140comntools is not available 2018-05-16 19:20:21 -07:00
Alexander Karatarakis
8347101e63 [ps1] Add missing "include" 2018-05-16 14:51:51 -07:00
Arkady Shapkin
f35ff4c8bc [openexr] Fix linux build 2018-05-16 17:26:45 +03:00
Alexander Karatarakis
1b0682a39e [vcpkg] Significantly reduce usage of powershell. Reduce console font switching bug 2018-05-15 23:27:14 -07:00
Alexander Karatarakis
52f01eefa6 [bootstrap.sh] Fix whitespace-in-path issues 2018-05-16 04:51:08 +00:00
Robert Schumacher
8ce9265485 [bootstrap-vcpkg.sh] Find g++-8. Fixes #3486. 2018-05-15 21:42:58 -07:00
Samuel Kogler
e576ca2e7f Add vcpkg_from_gitlab function. 2018-05-14 18:49:07 +02:00
Alexander Karatarakis
ab58f531cc git for linux/osx version moved to vcpkgTools.xml 2018-05-04 18:14:54 -07:00
Robert Schumacher
c4caf29213 [vcpkg] Fix temporary download directory when vcpkg is located at the root of a drive 2018-05-01 00:27:23 -07:00
Alexander Karatarakis
aaad944e5a
Merge pull request #3358 from fbudin69500/DetectAllOldVersionsOfGCC
Require the version of g++ to be at least 6
2018-04-30 20:40:50 -07:00
Alexander Karatarakis
468bfeb56e [Clean patching] Each portref-patchset combo gets its own hash-based directory 2018-04-27 22:52:55 -07:00
Alexander Karatarakis
08afae2a7a Bump version of git to 2.17.0 (was 2.16.2) 2018-04-27 16:18:03 -07:00
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