* Add iOS community triplets and toolchain support
Added an iOS toolchain to enable building packages for iOS.
The toolchain is used when a triplet's VCPKG_CMAKE_SYSTEM_NAME is set
to iOS.
To configure which architecture should be built, as well as other
iOS specifics, the following triplet variables can be set:
- VCPKG_TARGET_ARCHITECTURE
- VCPKG_OSX_SYSROOT
- VCPKG_OSX_DEPLOYMENT_TARGET
- VCPKG_OSX_ARCHITECTURES
The following VCPKG_TARGET_ARCHITECTURE values are currently
supported:
- arm, arm64, x64, x86.
The following VCPKG_OSX_SYSROOT values are currently supported:
- iphoneos, iphonesimulator, or an absolute path to the device or
simulator Xcode SDK.
VCPKG_OSX_DEPLOYMENT_TARGET can be set to control the minimum iOS
delopyment target for the built libraries.
CMAKE_OSX_ARCHITECTURES is derived from VCPKG_TARGET_ARCHITECTURE,
so generally it should not be set. In case if someone needs to target
a more specific architecture (like armv7k or arm64e), it can
be set in the triplet via VCPKG_OSX_ARCHITECTURES.
Note that only certain combinations of the architecture and sysroot
will work: simulator SDKs only provide x86-based libraries, etc.
The toolchain also sets CMAKE_SYSTEM_PROCESSOR for certain
configurations, because certain packages (like libpng) depend on the
processor type.
Added 4 community iOS triplets that build static libraries:
- arm-ios, arm64-ios, x86-ios, x64-ios.
The non-arm triplets target the iOS simulator.
The triplets build static libraries because they are easiest to
integrate into an iOS project. Dynamic libraries or frameworks require
code signing on iOS, which complicates integration.
Added heuristics to try and automatically detect what iOS triplet to
use when building your own CMake project (so when a CMake project sets
CMAKE_TOOLCHAIN_FILE to buildsystems/vcpkg.cmake), if no explicit
triplet is provided (VCPKG_TARGET_TRIPLET is undefined).
The heuristic checks for the values of CMAKE_SYSTEM_NAME and
CMAKE_OSX_ARCHITECTURES. Note that for this to work,
CMAKE_OSX_ARCHITECTURES needs to be set before the first project()
call in your CMake project.
Added workaround so find_package finds vcpkg installed packages
when targeting iOS.
This is done by saving / restoring the value of CMAKE_FIND_ROOT_PATH
while also adding the vcpkg package root in the find_package override
macro.
The workaround can be removed once vcpkg upgrades to CMake 3.15.0
or higher where the issue is fixed.
Fixes: #6003
* Fix building libpng and pcre2 targetting iOS
Fixes: #6003
* [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
* copy the CMakeLists.txt file and start build with it
* change version to 2020.2
For now the repo doesn't have any tags.
Therefore its version followed the latest commit,
which is made in 2020 Feb.
* [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.
* add mirror for mpfr at gnu.org
* remove deprecated include(vcpkg_common_functions)
* update version number after modified port
* update copyright handling command to install
* 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
* Added port for Skyr URL library
* Removed vcpkg_test_cmake call in skyr-url port
* Fixed type in version number, added step to copy PDBs
* Added build dependency on tl-expected
* Removed commented out code
* Disabled warnings as errors
* Bumped version number
* Updated version number for Skyr URL
* [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
* [magnum] Update patches for --head builds
Signed-off-by: Squareys <squareys@googlemail.com>
* [magnum-plugins] Remove obsolete patch
Since basisu port has been updated, we can now use it without patching
the magnum-plugins code for compatibility.
Signed-off-by: Squareys <squareys@googlemail.com>
* [corrade] Remove obsolete warning and flag
Signed-off-by: Squareys <squareys@googlemail.com>
* [magnum] Rename patches to reflect order of application
Signed-off-by: Squareys <squareys@googlemail.com>
* [corrade/magnum/magnum-plugins] Update port versions
Signed-off-by: Squareys <squareys@googlemail.com>
* [ffmpeg] Disable vdpau in UNIX
* [ffmpeg] Disable vdpau in OSX only
* [freerdp] Add warning message when building in non-windows
* revert 1ec7785491 changes
* 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
* Add NVIDIA Codec support for Windows, Linux and Linux for Tegra
* [ffnvcodec] Fix typos, add/remove comments
* Bump nvcodec version to 9.1.23.1
* Update version number as per change request
* Use PORT variable instead of hardcoded portname
* Identify the release the hash pertains to
* Find nvcodec in 'installed' instead of 'packages'
* Force FFmpeg to look for nvcodec headers in the installed directory instead of /usr/lib/pkgconfig.
* Use p option on cygpath to convert full path in case it contains more than one entry
* [cpprestsdk] Disable websockets by default.
The websockets backend cpprestsdk uses is websocketpp, which was last
committed to in late 2018 and appears defunct. Additionally, the
websockets feature brings an otherwise unnecessary Boost dependency on
Windows which takes a relatively long time to build.
Customers who still want the websockets bits can turn on the optional feature.
* Add dependency to signalr.
* [spirv-headers] Update to version 1.5.1
* [spirv-tools] Update to version 2020.1
* [spirv-tools] Work around an import config typo
* [spirv-tools] Fix nitpicks
* [spirv-headers] Modernize port
* [spirv-tools] Fix directory name capitalization mismatch
* [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
* [sqlpp11-connector-mysql] Add Homepage to CONTROL file
* [sqlpp11-connector-mysql] Update to version 0.29
* [sqlpp11-connector-mysql] Remove deprecated function from portfile
* [libgit2] Add features to build against vcpkg pcre,pcre2
* version
* libgit2 will automatically link to 'system' zlib, which is inconsistent depending on if vcpkg zlib was installed or not. This rectifies this by always targeting vcpkg zlib
* Add "pthreads" feature to mbedtls.
* Cleanup portfile.
* Fix mbedtls pthreads support for Linux.
* [mbedtls] Require the pthreads port only on Windows.
* [mbedtls] Work around dependency issues about static linking.
* Enable compiling SuiteSparse DLLs
Generated dynamic libraries work ok when linked to other projects.
* [suitesparse] Refresh port file for new vcpkg
* Update CONTROL file.
* 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.
* ignition-modularscripts: move CMake config files only if necessary
Some ignition libraries (such as ignition-cmake2) already install the
CMake config file in the location required by vcpkg
* Add new port ignition-cmake2
* [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
Update google-cloud-cpp-common to v0.21.0, google-cloud-cpp to v0.20.0,
and google-cloud-cpp-spanner to v0.9.0. These changes need to be atomic,
thus the single PR.
* [zydis] Update to v3.0.0
Since v3.0.0 now depends on the internal zycore library via a submodule, I had to replace `vcpkg_from_github` with `vcpkg_download_distfile`
* [zydis] Switch to vcpkg_from_github
* Update Zydis to v3.1.0
Also, set `ZYDIS_ZYCORE_PATH` instead of moving the Zycore sources.
* [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
* [fmt] Update to 6.1.2
* [spdlog] add patch to fix include missing
* [fmt] check if file exists before file(RENAME ...)
* [spdlog] bump version to 1.4.2-2
* [fmt][spdlog] Fix version number
* [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
* [jsoncons] Update to v0.145.0
* Update to v0.145.1
* Removed blank lines at end of .cmake file. Update to v0.145.2
* [jsoncons]Line include(vcpkg_common_functions) removed
* 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>
* [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>
* [ace] Update to 6.5.8
* Address review comments
* ports/ace/portfile.cmake:
* Put back copy step
* ports/ace/portfile.cmake:
* Fixed error
* ports/ace/portfile.cmake:
* ARM should work, let us try it
* ports/ace/portfile.cmake:
* ARM doesn't work yet, so disable it again
* ports/ace/portfile.cmake:
* 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>
* [open62541] Update to v1.0
* Remove dependency on python-six
* Fix CI
* Manually specify the version
* Fix install binaries directory
* Fix end line
* Add homepage and modernize cmake