There are quite a few changes to the CMake build system packaged up into
one set here:
* Added `toolsrc/cmake/utilities.cmake`, which contains the following:
* `vcpkg_detect_compiler` -- get the name of the C++ compiler, as one
of {gcc, clang, msvc}
* `vcpkg_detect_standard_library` -- get the name of the standard
library we're linking to, as one of {libstdc++, libc++, msvc-stl}
* `vcpkg_detect_std_filesystem` -- figure out how to link and call
into C++17's filesystem; whether one needs to link to `stdc++fs` or
`c++fs`, and whether to use `<filesystem>` or
`<experimental/filesystem>`.
* Added a `VCPKG_WARNINGS_AS_ERRORS`, split off from
`VCPKG_DEVELOPMENT_WARNINGS`, which allows one to use the development
warnings without passing -Werror
* Rename `DEFINE_DISABLE_METRICS` to `VCPKG_DISABLE_METRICS` -- the
former will now print a deprecation message and set the latter.
* Now, print a deprecation message on `WERROR`; it doesn't do anything
since the behavior it requested is now the default.
* Pass `-std=c++17` if the compiler allows it, instead of `-std=c++1z`
* Do some code movement
* Pass `USE_STD_FILESYSTEM` if possible, instead of only on minGW
* Renamed to `VCPKG_USE_STD_FILESYSTEM`
Additionally, we now pass `/W4` in Debug mode on x86 in the Visual
Studio build system; this brings it in line with the CMake build system,
and the x64 Visual Studio build system.
And finally, we make some minor code changes to support compiling in
VCPKG_DEVELOPMENT_WARNINGS mode.
* [boringssl] Add new port
* removed usage of deprecated vcpkg functions
* let the ci treat boringssl like libressl
* applied requested changes
* [boringssl] Update to commit 590265773@2020-04-07 (#8455)
* [boringssl] Restore scripts/ci.baseline.txt
* [qt5-imageformats] freeglut is not a dependency on osx
* [qt5-base] fontconfig can require iconv on linux and osx
* include the jasper fix to get CI coverage?
* trying to get ci coverage for qt on osx
* Revert "trying to get ci coverage for qt on osx"
This reverts commit 8b9b188839.
* apply the correct ci hack
* fix wrapper to include macosx debug suffix
* update baseline
* first try to fix the Qt5 cmake configs at the root.
* fix missing backslash
* fix plugin patch
* fix qt config patch
* remove 90% of fixcmake.py
* update baseline
* experimental removal of fixcmake.py and dll copying into tools/qt5/bin
* fix experimental dll copying.
* fix static windows builds
* fix static builds
* fix plugin copy
* add quotes around configuration to make it work
* remove dll debug messages
* note about the cmake fix
* revert fontconfig changes on linux. Make qt.conf relative and not absolute
* make qt.conf relative
* trying to fix ogre osx ci regression
* fix silly path error
* Revert "trying to fix ogre osx ci regression"
This reverts commit 708d8250d6.
* add ogre:x64-osx=fail to CI baseline
* retry on osx
* fix configure error. since in qt5-base everything is in the package directory and not in the installed
* revert change to ci.baseline
* update ci baseline
* bump control
* update baseline
* ws change to osg-qt
* reset ci baseline to upstream/master
* update baseline
* fix osg-qt?
* skip ms-angle on osx and linux since the normal angle port should be used!
* update ci baseline
* try adding fontconfig manually
* update ci baseline to remove osg-qt for the time being
* remove manual library.
* 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.
* fix configure meson for non windows builds.
* change to the two ports using meson
* fix passing of empty compiler arguments.
* dont transform / into - for all flags
* copy meson logs into the buildtree to better diagnose CI errors of meson ports
* another change to the two ports to actually force a CI rebuild
* add missing /pkgconfig dir to PKG_CONFIG_PATH
* fix pkgconfig setup
* add share/pkgconfig to PKG_CONFIG_PATH
* Add CMake path to PATH for meson
* add share folder to prefix for meson
* remove double message
* add libdir so that meson does not install into architecture folder in linux
and make prefix path target dependent. (Or should it be host dependent?)
* bump controls
* update toolchain selector to use VCPKG_TARGET_IS_<paltform>.
* change pkgconfig prefix and path.....
meson is not correctly handling native windows paths and eating "\"
PKG_CONFIG_PATH also nees : to correctly separate paths
Prefix still must be near to native path but with / instead of \ C:/somepath/
* [libffi] Support arm/arm64
* [libffi] Use VCPKG_TARGET_ARCHITECTURE to determine triplet
* [libffi] Use VCPKG_TARGET_ARCHITECTURE in CMakeLists.txt
* update baseline
* re-trigger ci test
* [openvr] Added Linux support
* [openvr] Updated to v1.10.30
* [openvr] Updated port file with modern variables and better platform checking
* [openvr] Updated ci.baseline.txt as Linux is supported now
* 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 0d608ee591.
* Revert "vcpkg_from_git: append ssh bin directory to path"
This reverts commit 377ce3fae1.
* Partial Revert "vcpkg_from_git: Add support for git over ssh"
This partially reverts commit 9b81b16c4c.
Co-authored-by: Marc Boucek <marc.boucek@native-instruments.de>
Co-authored-by: Marc Boucek <marc.boucek@posteo.net>
* re-trigger ci test
* [kealib] Switch repo to github
* [mongo-c-driver] Set icu as a feature
* [monkeys-audio] Update version to 5.24
* [mongo-c-driver] Fix arm build
* [mongo-c-driver] Re-generate patch
* [mongo-c-driver] Remove key word PRIVATE in patch
* [llvm] Remove default feature tools
* [llvm] Add judgment to install tools
* [llvm] Add more condition
* [llvm] Fix clang cmake files when selecting feature tools
* [halide] Fix build depends info in CONTROL
* update baseline
* [mimalloc] Update to 1.6.0
* Update patch
* Update ci baseline file
* Add message for the arch and platform that doesn't support
* Update the ci baseline file
* Update to latest revision 1.6.1
* [grpc][openssl][upb] Fix install on uwp
* [upb] Remove unneeded changes
* [libodb-mysql] Disable parallel configure due to source writes
* [curl] Use openssl for UWP since SSPI is unsupported
* [ci.baseline] Update
* Fix mhook build error.
* Removed the following entries from scripts/ci.baseline.txt: mhook:x64-windows=fail, mhook:x64-windows-static=fail, and mhook:x86-windows=fail.
* Removed unnecessary lines from fix-windows-packing-mismatch.patch.
Resolves#10322
* Update MSYS2 download source. Resolve#10322
Proposal to resolve https://github.com/microsoft/vcpkg/issues/10322
* Use Sourceforge as MSYS2 download source (up to SF to choose mirror, fair to everyone and more reliable)
* Updated msys2 version to 2019-05-24 (Otherwise need to spend extra time on ```pacman -Syu```)
* Updated SHA512 accordingly
* Tested with building icu:x64-windows
* add official repo as backup
* [zkpp] Add new port
* [zkpp] Change name of underlying library
* [zookeeper] Fix interface include directories
* [zkpp] Sanity
* Fix patch
* Correctly expose include directories
* Bump version
* Explicitly fail on Windows
Co-authored-by: Raed Romanov <raid_r@mail.ru>
* Update tinyfiledialogs to download from archive
I have additionally messaged the original maintainer about a fixed-version download, so we will finally have some consistent building of this package.
* Update ci.baseline.txt
* Update CONTROL
* Update portfile.cmake
* Change download path to be version specific
* Download Path now plain
* Change position of Supports tag
* Update package version
* Update portfile.cmake
Update portfile to download to a specified archive version name.
* [abseil] Add uwp support
* [abseil] Drop support with arm/arm64
* [opencensus-cpp] Add keyword supports
* update baseline
* [abseil] Enable arm support
* [skia] add new port
* [skia] add support for x64-windows
* [skia] use vswhere to locate MSVC
* [skia] update supports CONTROL field
* [skia] address review comments
* [skia] add compile definitions for metal
* [skia] use vcpkg to find programfiles
* [skia] add glob_single_file function
* [boost-python] Try to fix build issue on Linux
* Update baseline: enable boost-python:x64-linux
* Fix number of processor detection on Linux: use CMake module
* Fix user-config.jam configuration on Linux
* Update baseline: enable boost-mpi:x64-linux
* Fix build boost-regex[icu] on Linux, issue #4962
* [libmysql] Apply patch to prevent configuration error in extra/re2
Configuration of the embedded extra/re2 produces an error on Mac with Clang:
CMake Error at extra/re2/CMakeLists.txt:74 (ADD_COMPILE_FLAGS):
Unknown CMake command "ADD_COMPILE_FLAGS".
cmake/compile_flags.cmake was not included.
* [libmysql] Remove empty directory /lib/plugin/debug after installation
* [libmysql] Update version to 8.0.4-6
* [libmysql] Remove deprecated include(vcpkg_common_functions)
* [libmysql] x64-osx is now expected to pass CI
* [libmysql] Simplify copying of copyright file
* [libmysql] Handle unsupported triplets with vcpkg_fail_port_install
* Fix osx baseline
* fix osg configure issue
* re-trigger ci test
* re-trigger ci test
* [osg] Revert changes with osg and temporarily skip osg detection
* trigger ci test
* update baseline
Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>
* Don't show telemetry message when passing --disableMetrics to bootstrap.sh
* Don't show telemetry message when passing -disableMetrics to bootstrap-vcpkg.bat
* [rxspencer] Add RxSpencer port
* No need to force dynamic linkage
* Review comments
* update baseline
* Update to latest upstream
* Review comments
* Update CONTROL
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
* Some package fixes necessary to build with MinGW toolchain
* [libraqm] Fix build error caused by trying to write to source directory
* [tmxparser] Fix build failure when tmx port is intalled before tmxparser port
System include path was added first on compiler command line. This leads to
build failure when there is a tmx.h header file in system include path.
* [qt5-base][angle] Trigger CI rebuild
* [kd-soap] Fix build error
* Update ci.baseline
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
VCPKG_SUPPRESS_INSTALLED_LIBRARIES_WARNING - Silences warning about lacking installed libraries for the current triplet
VCPKG_OVERRIDE_FIND_PACKAGE_NAME - Enables cooperation with other tooling that may want to hook find_package
* libffi 3.3-rc0 custom port, with arm/arm64 windows support
* fix linux build
* enable EFI64 in linux x64, should fix build errors in some cases
* libffi: move to the arm64 support pr branch
* libffi: move to latest upstream master
* libffi: update to upstream master
* libffi: update to v3.3-rc2
* libffi: update to v3.3 release
* libffi: update version in fficonfig.h
* libffi: Remove CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS
* [libffi] update portfile.cmake
* [libnice] fix Windows ARM64 build
* CI: set atk:arm64-windows to fail
atk compilation requires running glib(arm64) tools, which is not possible on a x86 system.
* CI: libffi:arm64-windows passing
* [gdk-pixbuf] fix Windows ARM64 build
* [pangomm] show unsupported architecture error on ARM
* [pangomm] update portfile.cmake
* [libffi] Avoid depending on VCPKG_TARGET_TRIPLET; use native cmake variables instead. Avoid double expansion inside if().
* [libffi] TARGET is a keyword for if() -- use quoted expansion instead.
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
* [EAThread][EASTL] Added EAThread and modified EASTL
EABase has now also been seperated from EASTL.
EASTL now copies CommonCppFlags.cmake as it is used by EAThread.
* Fix EABase
* Fix EABASE include for EASTL
* Improve EASTL
Still need to fix
The /debug/lib/cmake folder should be merged with /lib/cmake into /share/eastl
Found 3 error(s). Please correct the portfile:
E:\vcpkg\ports\eastl\portfile.cmake
-- Performing post-build validation done
Error: Building package eastl:x64-windows-static failed with: POST_BUILD_CHECKS_FAILED
Please ensure you're using the latest portfiles with `.\vcpkg update`, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: eastl:x64-windows-static
Vcpkg version: 2019.09.12-nohash
* Base pass one Thread
* Fix config errors and add `vcpkg_fixup_cmake_targets`
* Add required changes for fails
* x86-windows should also fail
* Revert adding `vcpkg_fail_port_install(ON_TARGET "Windows" ...)`
* Remove `eastl:arm64-windows=fail` from ci.baseline.txt
* Merge CONTROL descriptions into one line
* 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>
* [aws-c-common]Upgrade to 0.4.15
* [aws-c-common]Fix cmake target path.
* [aws-c-event-stream]Upgrade to 0.1.4
* [aws-checksums]Upgrade to 0.1.5
[aws-c-event-stream]Fix cmake target path.
[aws-lambda-cpp]Upgrade to 0.2.4
[aws-sdk-cpp]Upgrade to 1.7.214
* [aws=sdk-cpp]Set feature AWSMigrationHub to lowercase.
* [aws-lambda-cpp] Drop support with OSX
* Add Microsoft SEAL as a new port
* Fix to choose either static or shared binaries
* Fix to fail port install on Windows platforms
* Fix to enable a command line build on windows
* Fix to fail port install on UWP
* Update the repo for jom 1.1.3
- The qt repo is unreliable, often down. Use the Berkeley mirror instead.
* Set two possible URLs for JOM v1.1.3
* Update indent to match coding style
* [asiosdk] Add new port
* specified vcpkg_fail_port_install for non-windows platforms
* specified vcpkg_fail_port_install for arm & uwp platforms
* added entries for asiosdk into scripts/ci.baseline.txt
* bugfix for [ftgl] build failure #9520. Applied same solution as cbezault did for #7697
* bugfix for [ftgl] build failure #9520. Added suggested changes from the review and clean-up EOL characters.
* [ftgl] remove ftgl:x64-linux=fail from ci.baseline.txt
* [ftgl] build failure #9520 - disable doxygen on Linux
* [ftgl] build failure #9520 - force the compiler to use the C++11 standard
* [ftgl] build failure #9520 - remove ftgl:x64-osx=fail
* [ftgl] build failure #9520 - add missing C++11 standard patch
* [memorymodule] Add new port
* [memorymodule] Update ci baseline
* [memorymodule] Update CI baseline
* [memorymodule] Simplify vcpkg_fail_port_install call
* [memorymodule] Install lib files only if they exist