Commit Graph

925 Commits

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

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

* modify shogun and thrift

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

* Update applocal.ps1

Fix Microsoft#2801,
prev modify mistake UTF8 to UTF

* Update applocal.ps1

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

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

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

* ffmpeg: fix x64-uwp

* ffmpeg: remove outdated patch

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

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

* [alac,benchmark,capnproto] Fix  check_linkage call

* [fastlz] Fix SHA512

* [coroutine] Fix dynamic build

* [folly] Find double-conversion

* [gamma] Use vcpkg_from_github

* [librsync] Enable static builds

* [netcdf-cxx4] Fix SHA512

* [octomap] Fix static build

* [tidy-html5] Fix static build

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

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

* [octomap] Fix exported targets

* [uvatlas] Set tool download SHA512

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

* [suitesparse] osx fix

* [gtkmm] Call vcpkg_check_linkage after including vcpkg functions

* [duktape] Resolve conflicts

* [duktape] FIxed typo in Python paths

* [wangle] Find zlib

* [openssl-uwp] Fix SHA512

* [glib] Allow static builds on non-Windows

* [suitesparse] Fix build on Windows

* [multiple ports] Bump CONTROL version

* [multiple ports] Fix description indent

* [directxtk] Fix CONTROL file

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

* [binn] remove CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS

* [gdal,live555,uriparser] Fix regressions

* [live555] Update to 2019.04.24
2019-05-02 22:57:43 -07:00
João Maia 5314524f44 [qt5] Fix scripts on debug/release-only builds (#6259)
* Fix qt5-base portfile

qt5-release.conf was not copied in release mode

* Fix vcpkg_configure_qmake.cmake in debug-only builds

* Add VCPKG_BUILD_TYPE support to qt_modular_library.cmake and vcpkg_build_qmake.cmake
2019-04-30 09:29:41 -07:00
João Maia d299ad6107 [qt5] Build qt5 release/debug targets according to VCPKG_BUILD_TYPE (#6215) 2019-04-25 14:30:39 -07:00
Phoebe 0808a97ab4 [Jom] Upgrade Jom (#6210) 2019-04-25 11:56:36 -07:00
Thad House d91644d3f5 Add support for CMake generation with VS 2019 (#6090) 2019-04-24 18:13:16 -05:00
Miro Knejp 7e8d7b381d Run bootstrap-vcpkg.bat when bootstrapped from git-bash (#6142)
* Bootstrap for windows when called from within bash for windows

When calling `bootstrap-vcpkg.sh` from within a git-bash script it fails
with the error message `Unknown uname: MINGW64_NT-10.0`.

This change delegates bootstrapping to `bootstrap-vcpkg.bat` by
executing it in a `cmd` session when the result of `uname -s` matches
the pattern `MINGW*_NT*`.

* [vcpkg-bootstrap] Avoid using bash extensions and keep ./bootstrap-vcpkg.sh as a simple forwarder.
2019-04-19 17:24:05 -07:00
Phil Christensen 56bc2f9160
upgrade to windows MinGit 2.21.0 (#6041)
* [fdlibm] update hash
2019-04-15 22:28:45 -07:00
Thad House dd2100ee80 VS 2019 support 2019-04-14 11:09:32 -07:00
Thad House 73a99865b1 Add WPILib port for vcpkg 2019-04-14 11:09:32 -07:00
soroshsabz 246bd61ba1 Add -allowAppleClang option to bootstrap.sh. (fixes #4698) (#5915)
* Add -allowAppleClang option to bootstrap.sh. (fixes #4698)

* [vcpkg-bootstrap] Simplify appleclang changes and reformat

* [vcpkg-bootstrap] Remove enviroment variable VCPKG_ALLOW_APPLE_CLANG
2019-04-11 00:32:03 -07:00
Phil Christensen 6c62b08fcb Revert "partial update for testing"
This reverts commit 880181892e.
2019-04-10 12:41:41 -07:00
Phil Christensen dc4b27955b Revert "add git hash"
This reverts commit 1a3b388a91.
2019-04-10 12:41:28 -07:00
Phil Christensen 1a3b388a91 add git hash 2019-04-10 12:37:43 -07:00
Phil Christensen 880181892e partial update for testing 2019-04-10 12:34:46 -07:00
Griffin Downs 97b7134f41 Merge branch 'master' of https://github.com/microsoft/vcpkg into dev/grdowns/5702 2019-04-05 13:35:58 -07:00
Griffin Downs a141b603b9
Merge pull request #5935 from ras0219-msft/dev/roschuma/vtk
[vtk] Fix flaky builds by using system libraries
2019-04-05 13:23:17 -07:00
Damian Jarek 0e4c999b21 Fix installation failure when system Boost present (#5939)
Boost 1.70 introduces "native" cmake config scripts which are
accidentally used when installing a vcpkg package. This only occurs
when Boost 1.70 is installed in the system when the user uses
`vcpkg install`.

Signed-off-by: Damian Jarek <damian.jarek93@gmail.com>
2019-04-04 19:13:10 -07:00
Griffin Downs 9ff9817a40 Merge branch 'pr/cmake_3_14' of https://github.com/kiwixz/vcpkg into dev/grdowns/5702 2019-04-04 15:46:02 -07:00
Griffin Downs e2ec029af2 Merge branch 'dev/roschuma/vtk' of https://github.com/ras0219-msft/vcpkg into dev/grdowns/5935 2019-04-04 14:12:47 -07:00
Phoebe 83f13067f3 [Thrift] Updates 2019.03.29 (#5924) 2019-04-03 14:43:56 -07:00
Robert Schumacher d788ada4e9 [vtk] Fix flakiness by relying on vcpkg-provided dependencies
[libharu] Add patches required for vtk
[vcpkg-build-cmake] Add retry logic for mt.exe failures
2019-04-03 04:15:00 -07:00
Robert Schumacher af1597e229
[vcpkg-fetch] Set git subpath to mingw32\bin\git.exe to fix execution within containers (#5878) 2019-04-02 20:54:22 -07:00
Victor Romero 9596fe7dd7 Merge branch 'master' of https://github.com/Microsoft/vcpkg into pr/cmake_3_14 2019-04-02 16:53:20 -07:00
David Lechner 0fffb47ed0 Fix vcpkg_find_acquire_program(NUGET) (#5871)
Set the ARCHIVE and NOEXTRACT variables so that downloading works. Also HASH is case-sensitive, so make it lower case.

vcpkg_find_acquire_program(NUGET) was failing with the following error message:

-- Downloading https://dist.nuget.org/win-x86-commandline/v4.8.1/nuget.exe...
CMake Error at scripts/cmake/vcpkg_download_distfile.cmake:159 (file):
  file DOWNLOAD error: cannot create directory
  'C:/Users/david/Documents/GitHub/vcpkg/downloads/temp/C:/Users/david/Documents/GitHub/vcpkg/downloads'
  - Specify file by full path name and verify that you have directory
  creation and file write privileges.
Call Stack (most recent call first):
  scripts/cmake/vcpkg_find_acquire_program.cmake:255 (vcpkg_download_distfile)
  ports/gobject-introspection/portfile.cmake:20 (vcpkg_find_acquire_program)
  scripts/ports.cmake:71 (include)
2019-04-02 13:49:03 -07:00
Victor Romero c2ad1baafc Disable vcpkg_test_cmake() 2019-03-22 16:26:27 -07:00
Robert Schumacher f41cc7b47c [vcpkg] Fixup previous commit 2019-03-20 16:47:25 -07:00
Robert Schumacher 399665d1ea [vcpkg] Fixup previous commit 2019-03-20 16:46:02 -07:00
Robert Schumacher 4c516c62ee [vcpkg] Revert change to freebsd cmake version 2019-03-20 16:40:45 -07:00
Robert Schumacher e9c47b0a8a [vcpkg] Update to CMake 3.14.0 2019-03-20 16:23:02 -07:00
Don 9611eca0ca Add URL for targeting Github Enterprise instances
Allow setting of a URL so vcpkg can download repositories hosted on GitHub Enterprise
instances. Additionally provides a way to set the authorization token when downloading
private repositories.
2019-03-18 11:32:22 -07:00
kiwixz caa7981dcf fix vs2019 arch specification 2019-03-16 17:53:31 +01:00
kiwixz b755c30bc7 update to cmake 3.14 (allow VS2019RC) 2019-03-16 17:40:31 +01:00
Phil Christensen d72e38036b
Merge pull request #5574 from Neumann-A/VTK_8.2.0
[VTK 8.2.0/HDF5 1.10.5] Upgrade VTK and HDF5
2019-03-14 23:12:31 -07:00
Alexander Neumann bdc5d538a5 cmake sometimes requires a generator if it is not defined beforehand.
extra code comments. Maybe the test should actually try to link targets from the package instead  of just testing find_package
2019-03-14 22:26:16 +01:00
Alexander Neumann 1c7972a011 fix missing debug references in cmake generated (release) target files. 2019-03-14 22:24:29 +01:00
Don a421f43ed1 Add headers to vcpkg_download_distfile (#5640)
* Add headers to vcpkg_download_distfile

Allows headers to be appended when downloading a distribution. This allows for setting
authentication headers to download from a private repository.

* [scripts,docs] Regenerate docs for portfile functions

* [docs,scripts] Fix typo regressions

* [docs,scripts] Fix broken link
2019-03-14 13:43:49 -07:00
Sean Warren f409536f5e [qt5] Fix mac build (#5624)
* [qt5] Fix mac build

* [qt5] Disable parallel build on mac

* [qt5] Fix qmake find on mac

* [qt5] Update find jom for mac

* [qt5] Fix invocation of build command

* [qt5-base] Rebuild packages for #5624

* [harfbuzz] Remove disabled assert (failing due to -Werror)

* [qt5] Bump control version

* [qt5] Disable harfbuzz on mac

* [qt5-base] Disable harfbuzz on mac
2019-03-14 06:33:47 -07:00
Ethan Smith 62462f7162 Add nuget to vcpkg_find_acquire_program (#4568)
* Add nuget to vcpkg_find_acquire_program

* Add niget to list of programs one can download
2019-03-14 00:10:11 -07:00
Stefano Sinigardi 0e77ca352e [tiff] use vcpkg wrapper for all configs, remove dead code (#5584)
* [tiff] use vcpkg wrapper for all configs, remove dead code

* [tiff] update CONTROL
2019-03-13 22:51:16 -07:00
Cheney Wang 37ddeed0ea [libepoxy/fribidi] Update version of meson to support VS2019 (#5629) 2019-03-11 10:01:57 -07:00
Ernest Zaslavsky d92ad530a9 Add DPDK package (#5388)
DPDK is a set of libraries and drivers for fast packet processing.

(cherry picked from commit 8127cb7b23557f21281186980883fdfb4fa08c47)
2019-03-06 23:37:24 -08:00
Robert Schumacher 9164049386 [vcpkg] Add more detailed error message when trying to use v142 and an msbuild generator (#5422) 2019-03-05 14:42:07 -08:00
Sean Warren a9f8430961 [hdf5] Use cmake wrapper to ensure consuming libraries link to szip (#5467)
* [hdf5] Use cmake wrapper to ensure consuming libraries link to szip in static build

* [hdf5] Move hdf5 cmake code from vcpkg.cmake to vcpkg-cmake-wrapper

* [hdf5] Do not force search in config mode

* [hdf5] balance needs of vtk and kealib
2019-03-05 11:09:22 -08:00
Victor Romero 8641dfd9dd
Modify `vcpkg_fixup_cmake_targets()` (#5459)
* some libraries export <PackageName>LibraryDepends.cmake
instead of <PackageName>Targets.cmake.
Those file also need the fix of #1044

should close #4753

* prefered the general solution #4622.
hopefully solved the issue within #4150
replaced the regex with something more readable
(also ident is lost)

should close:
#4753
#4633
#4150
and maybe more

* Hash vcpkg_fixup_cmake_targets.cmake

* [boost] Fix use of find_package(Boost) with cache variables
[socket-io-client] Fix install

* reversed change back to use regex replace

* [glbinding] Fix _IMPORT_PREFIX depth in *-export.cmake files

* [tinyspline] Ignore warnings treated as errors

* [libevent, liblemon, libpng, smpeg2, zlib] Fix apply patches

* [libsodium] Fix apply patches

* [folly] Link correct libraries in debug and release

* [vtk] Remove unset of _IMPORT_PREFIX

* [tinyspline] Do not treat warnings as errors

* [smpeg2] Fix double* to int comparison

* [nvtt] Define value for HAVE_UNISTD_H in MacOS

* [libui] Fix MacOS X build

* [zlib] Fix download URL

* [qhull] Update to v7.2.1

* [podofo] Set value for HAVE_UNISTD_H in MacOS

* [mongo-cxx-driver,ogre,podofo,qhull] Bump CONTROL version

* [mongo-c-driver] Set _IMPORT_PREFIX

* [tmxparser] Bump CONTROL version

* [qhull,vxl] Bump CONTROL version
2019-02-28 23:53:42 -08:00
SvenPStarFinanz 7859944528 Overwriting dlls in the destination output directory when the source … (#4796)
* Overwriting dlls in the destination output directory when the source is newer.

* [vcpkg] cleanup whitespace
2019-02-28 13:52:51 -08:00
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