aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src
AgeCommit message (Collapse)Author
2020-04-09[vcpkg] New policy: SKIP_ARCHITECTURE_CHECK. (#10398)Alexander Neumann
* New policy: SKIP_DLL_ARCHITECTURE_CHECK. The check only works if MS link.exe is used otherwise the second linker member is missing (according to the observed errors) * rename to VCPKG_POLICY_SKIP_ARCHITECTURE_CHECK since the dll check was ok but the lib check was failing. * fix indentation * move the if to a better position.
2020-04-09[vcpkg-test] Fix the check for ability to make symlinks (#10543)nicole mazzuca
The old check checked to see if the computer was in developer mode _OR_ allowed sideloading apps, but we want _only_ developer mode.
2020-04-09[vcpkg] Correct UInt128 code 😇 (#10583)nicole mazzuca
* [vcpkg] Correct UInt128 code 😇 `UInt128::operator<<(x, y)` should clear the bottom 64 bits of `x` if `y >= 64`; however, we don't do this, and so we duplicate `x`'s bottom bits into `x.top` instead of moving them. Similarly, we have the opposite problem for `UInt128::operator>>`. This commit fixes these latent bugs, which we weren't hitting because the thing we use them for never actually shifts more than 64 bits.
2020-04-06Android Support: Exporting to Android Archive (AAR) (#10271)atkawa7
* added android triplets * added android support to vcpkg * added export directories to git ignore * fix libraries naming * added vckpg sources to visual studio project files * rename file location * issue with std::string fs:path copy initialization * format path on VStudio * fix checks format cannot work on fs::path * support header only libraries * support using architecture instead of triplets * added prefab support * added debug logs and prefab debug flag * added support for empty packages i.e openssl
2020-04-03[vcpkg] Fix spec instance name (#10660)Phoebe
* [vcpkg] Fix spec instance name * Change cub version for testing the changes * Add vulkan-hpp to test
2020-04-01vcpkg_from_git: Add support for git over ssh (#9446)Marc Boucek
* vcpkg_from_git: Add support for git over ssh * vcpkg_from_git: append ssh bin directory to path * vcpkg_from_git: fix function signature on non windows platforms * Revert "vcpkg_from_git: fix function signature on non windows platforms" This reverts commit 0d608ee5911d2ba274e782a21dfe77a502a39053. * Revert "vcpkg_from_git: append ssh bin directory to path" This reverts commit 377ce3fae1e2c085a5da7ace8185624a345a511b. * Partial Revert "vcpkg_from_git: Add support for git over ssh" This partially reverts commit 9b81b16c4ccd3d8646d97e66234566a07af8a308. Co-authored-by: Marc Boucek <marc.boucek@native-instruments.de> Co-authored-by: Marc Boucek <marc.boucek@posteo.net>
2020-03-27[vcpkg] Add the possibility to load vcvars.bat with external toolchain. ↵Alexander Neumann
(#10399) * Add VCPKG_LOAD_VCVARS_ENV allow loading vcvars.bat if an external toolchain file is used. * add documentation
2020-03-25[vcpkg] Improve common case of ignoring filesystem errors (#10557)Robert Schumacher
2020-03-25[vcpkg-help] Reflow and small cleanups (#10477)Robert Schumacher
2020-03-19Merge pull request #10372 from ras0219-msft/dev/roschuma/jobsRobert Schumacher
[vcpkg] Introduce Job Objects to improve ctrl-c performance on Windows
2020-03-19Merge pull request #10032 from ras0219-msft/dev/roschuma/compute-all-abisRobert Schumacher
[vcpkg] Compute ABIs upfront instead of just-in-time
2020-03-18[vcpkg] Fill in feature lists during CI reportingRobert Schumacher
2020-03-18[vcpkg] Move package abi access after they have been computedRobert Schumacher
2020-03-18[vcpkg] Write abi information to generated test resultsRobert Schumacher
2020-03-18[vcpkg] Use enum class for RestoreResultRobert Schumacher
2020-03-17[vcpkg-env] Restore previous behavior of `cmd /c <arg>`Robert Schumacher
2020-03-16[vcpkg] Implement a warning when running in a mismatched Visual Studio promptBilly O'Neal
2020-03-13[vcpkg] Fix build for non-windowsRobert Schumacher
2020-03-13[vcpkg] Fix tool lookup without `which` (#10375)nicole mazzuca
On Linux and macOS, if `which` is not installed (notably in Amazon's amazonlinux docker base image), vcpkg fails to find system-installed versions of tools. This is an issue when we don't attempt to install our own versions of the tools, like with git (we fail to find any version of git, and thus can't install any ports which come from a git repository). Fixes #9927
2020-03-12Reorder []s.Billy Robert O'Neal III
2020-03-10Add "vcvarsall" support.Billy Robert O'Neal III
2020-03-10Implement a warning when running vcpkg inside a developer command prompt if ↵Billy Robert O'Neal III
the set of packages to install all target a different architecture than the prompt.
2020-03-10[vcpkg] Introduce Job Objects to improve ctrl-c performance on WindowsRobert Schumacher
2020-03-10[vcpkg-export-nuget] Fix a import bug of nuget package, give priority to ↵shihaonan369
nuget package to set $(VcpkgRoot). (#6214) * fix bug that caused exported nuget package import failure. * Give priority to nuget package to set $(VcpkgRoot). * [vcpkg] Remove trailing whitespace Co-authored-by: 施浩男 <shihaonan@zhongli360.com> Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-03-10[vcpkg] Added command line switch --all-installed to allow exporting of all ↵miseri
packages without needing to specify individual packages (#10304) * Added command line switch --all-installed to allow exporting of all packages without needing to specify individual packages * Changed --all-installed to --x-all-installed https://github.com/microsoft/vcpkg/pull/10304 * [vcpkg] Clang-format export.cpp Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-03-09Merge remote-tracking branch 'origin/master' into HEADRobert Schumacher
2020-03-03Fix log write failure when installing port for the first time (#10287)Jack·Boos·Yu
2020-02-24[vcpkg] Fix issue #9916; `vcpkg upgrade` did not `load_tag_vars()` (#10202)Robert Schumacher
2020-02-13[vcpkg] Record output from build process into log file (#10063)Robert Schumacher
2020-02-12Add binarycaching.(h|cpp) to project filesVictor Romero
2020-02-11[vcpkg] Compute all ABIs upfront instead of during build_package()Robert Schumacher
2020-02-11[vcpkg] Extract binary caching functionality into separate interfaceRobert Schumacher
2020-02-09[vcpkg] Remove superfluous BuildPackageConfig struct (#9997)Robert Schumacher
BuildPackageConfig held essentially the same information as InstallPlanAction, so deduplicate
2020-02-09[vcpkg] Track parser row/col state in Paragraph (renamed from RawParagraph) ↵Robert Schumacher
(#9987)
2020-02-08[vcpkg] Use CreateProcess on Windows. Improve EnvVars manipulation and ↵Robert Schumacher
handling. (#9897) * [vcpkg] Rewrite process spawning on windows to always use CreateProcess, enabling better environment handling * [vcpkg] Use environment cache to avoid calling vcvars multiple times * [vcpkg] Increase buffer size while computing hashes * [vcpkg] Remove unneeded cmd.exe wrapper process on all CreateProcess calls * [vcpkg] Fix .vcxproj{,.filters} * [vcpkg] Upgrade Ctrl-C state machine to handle multiple background processes. * [vcpkg] Fix regression while launching metrics: 'start' can't be passed directly to CreateProcessW * [vcpkg] Fix typo on non-Windows * [vcpkg] Fix various uses of >NUL across the code * [vcpkg] Fix various uses of >NUL across the code
2020-02-07[vcpkg] Further parser improvements (#9895)Robert Schumacher
* [vcpkg] Consolidate several internal parsers together (packagespecs + logicexpression + control) and enhance error messages * [vcpkg] Migrate Build-Depends parsing to new framework * [vcpkg] Fix tests. Re-enable underscores in feature names due to libwebp[vwebp_sdl] -- todo: rename this feature and remove underscores.
2020-02-06Merge pull request #9901 from Neumann-A/skip_dumpbinRobert Schumacher
[vcpkg] Add policy VCPKG_POLICY_SKIP_DUMPBIN_CHECKS
2020-02-06[vcpkg] Improve error messages when failing to find a backing portRobert Schumacher
2020-02-05[vcpkg] fix missing " around path include (#9912)Alexander Neumann
* fix missing " around path * Update VERSION.txt * [vcpkg] Add quotes to include() in generated dep info file Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-02-05Move " to correct positionAlexander Neumann
and change copyright copy to use configure_file
2020-02-04rename string variable to NAME_SKIP_DUMPBIN_CHECKSAlexander Neumann
2020-02-04[vcpkg] Add skip dumpbin checksAlexander Neumann
and correct some cmake advices. Paths should always be handled with "${PATH}" due to possible spaces
2020-02-03[vcpkg] Add Supports: field. Use contents of triplets instead of names for ↵Phil Christensen
dependency resolution. (#8601) * remove unfinished "supports" tag * extract "supports" from control files But do nothing with the value * Start `Supports` documentation * Use Supports in a bunch of control files I only tried matching the already existing logic in the portfile.cmake. * Cmake var provider (#8) * Cmake var provider (#9) * fix windows build (#10) * Add missing files to build * Fix test (#11) * adding hooks for cmake variables in expressions * Adding hooks for 'supports' in CI test * Fix test (#12) * Add overrides to evaluation environment * use "supported" tag in CI testing * cleanup comment * Fix issues with PR * [var_provider] Get library linkage variables from triplet * Fix compilation errors in tests * Add unimplemented functions * Fix unit tests part 1 * Fix issue when buildtrees dir does not exist * Change binary output hash * Fix handling of * feature * Add core feature when using * * Do not add Default-Features when installing 'core' * [vcpkg] WIP. 6 failing tests. * [vcpkg] WIP. 1 failing tests. * [vcpkg] WIP. 0 failing tests. * [vcpkg] Removed 'remove_graph'. 0 failing tests. * [vcpkg] Removed 'install_graph'. 0 failing tests. * [vcpkg] Remove AnyAction; replace with ActionPlan * [vcpkg] Minor cleanup. * [vcpkg][z3][qt5-connectivity][qt5-purchasing] Improve error messages while parsing. Fix a few trivial port issues. * [vcpkg] Work around ICE with MSVC v140 * [vcpkg] Add purge on fail to decompress for CI * [vcpkg] Fix parsing of nested parentheses in qualifiers * [vcpkg] Fix Linux builds (explicit qualification in declaration) * [vcpkg] Fix Build-Depends implying default features. Fix qualified dependencies regression. * [mmx] Add to skip list and full rebuild -- mmx causes problems by installing 'sched.h' * [libpqxx][mqtt-cpp] Prevent installing include/CMakeLists.txt * [cppitertools] Fix installed include namespace (should be include/cppitertools) * [libsoundio] Move headers into soundio/ subdirectory as per original cmake * [ci.baseline] Temporarily skip charls due to conflict with dcmtk * [vcpkg] Add restricted include files post build check -- bump global abi version * [libsoundio] Hotfix stray line in portfile * [vcpkg] Fix regression: CMake information was not being displayed for build-and-install actions * [jsonnet] Fix installation of internal headers; use system nlohmann-json * [grpc][upb] Teach grpc to use packaged upb. Add find_package(upb). Remove inappropriate upb features. * [zfp] Move problematic 'include/bitstream.h' to 'include/zfp/bitstream.h' * [x265] Bump control version to trigger rebuild after zfp conflict * [akali] Disable parallel configure * [dirent][dlfcn-win32][getopt-win32][pthreads] Grandfather into VCPKG_POLICY_ALLOW_RESTRICTED_HEADERS * [ci.baseline] Update baseline for improved upb support * [tgui] Disable parallel configure * [libiconv] Enable VCPKG_POLICY_ALLOW_RESTRICTED_HEADERS * [aws-sdk-cpp] Disable parallel configure * [vcpkg] Implement policy VCPKG_POLICY_ALLOW_RESTRICTED_HEADERS * [aws-sdk-cpp] Fix amount of escaping semicolons -- Note: I do not know the root cause requiring this change * [libodb-sqlite] Fix configuring into source directory * [gettext] Grandfather into VCPKG_POLICY_ALLOW_RESTRICTED_HEADERS * [libodb] DISABLE_PARALLEL_CONFIGURE * [vcpkg] Add 'config.h' and 'local.h' to restricted header list * [mcpp] Remove unused and problematic include 'config.h' from installed files * [teemo] Move installed headers into subdirectory to prevent conflicts with x265 * [ci.baseline] Update current OSX. Skip libmesh on all platforms due to heavy conflicts. * [vcpkg] Add 'slice.h' as a restricted header * [osg] Improve accuracy of dependencies (disable some, add some to Depends) * [vcpkg] Skip invoking a subprocess for 0 specs in load_tag_vars * [ci.baseline] Skip mongo-c-driver on osx due to flakiness * [teemo] Fix incorrect include file read * [osg] Fix dependency typo: glut -> freeglut * [vcpkg] Recover some lost performance with the addition of vcpkg_get_tags. A huge performance cost was loading the triplet files over and over; instead, we splice the sources into a macro and load it once, then just call that macro for each port. Remove use of hashing because we aren't cross-process-safe anyway (global static will do instead). * [vcpkg] Change Supports atom 'windows' to include UWP. Improve Supports field documentation. * [vcpkg] Add docs for VCPKG_ENV_PASSTHROUGH and VCPKG_DEP_INFO_OVERRIDE_VARS * Fix typo Co-authored-by: Curtis J Bezault <curtbezault@gmail.com> Co-authored-by: Victor Romero <romerosanchezv@gmail.com> Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-01-17Add support for building with MinGW (#9137)Cristian Adam
* Add support for building with MinGW Tested with MSYS2 MinGW 8.3.0, gcc-mcf.lhmouse MinGW 9.2.1, and StephanTLavavej/mingw-distro! * Add MinGW toolchain From your MinGW configured shell you could just use vcpkg to configure packages. An x64-mingw triplet would look like: ``` set(VCPKG_TARGET_ARCHITECTURE x64) set(VCPKG_CRT_LINKAGE dynamic) set(VCPKG_LIBRARY_LINKAGE static) set(VCPKG_ENV_PASSTHROUGH PATH) set(VCPKG_CMAKE_SYSTEM_NAME MinGW) ``` * Add MinGW community tripplets x64 tested with https://github.com/StephanTLavavej/mingw-distro x86, arm64, arm tested with https://github.com/mstorsjo/llvm-mingw
2020-01-17Community Triplets 🤝 (#7976)Victor Romero
* Move untested triplets to Community Triplets * Document community triplets * Load community triplets by default and alert when using one * [triplets] Merge documentation of community triplets * Bump version
2020-01-16[VCPKG] WinHTTPOption for company Proxy not correctly taken into account (#9372)xabbudm
* fixes to get vcpkg up and running when behind corporate proxy * clean up of code to check if HTTP_PROXY environment variable is set * fixed compiler errors for non win32 systems * [vcpkg] Simplify HTTPS_PROXY code for WinHTTP Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-01-13Minor edit to help message for cli depend-info option. Fix for #9534. (#9536)Darrell
2020-01-13Introduce new policy to skip post verification of dll exports (#9642)martin-s
* - Introduce new policy to skip post verification of dll exports (see issue #9641). * - Fixed line endings.
2020-01-09Contributing: Fix a typo (#9566)Maher Jendoubi
2020-01-09Allow ARM64 to build x86 things (#9578)Curtis J Bezault