* 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
* added cleanup command to embree3 port for static build
* updated CONTROL file with version tag
* check if file exists before cleanups
* fix baseline
Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
* [boost-python] Support Python2 as feature, fix build with installed Python2
* [boost-python] Update generate script to support Python2 mod
* Re-generate boost ports
* [boost-modular-build-helper] Update to 1.71.
[boost-build] Update to 1.71.
* [boost-modular-build-helper] Remove manual library name changing
[boost-iostreams] Use boost-modular-headers.cmake script
* Delete temporary file.
* Revert changes in modular build script.
* Update ports versions.
* [boost-modular-build-helper] Fix build boost-iostreams with LZMA and ZSTD
* [boost] Update to 1.72.0
* [libtorrent] Fix build with Boost 1.72.0
Original PR: https://github.com/arvidn/libtorrent/pull/4091
* Update ci.baseline.txt:
- fail libgo:* due to use the removed class from Boost.Context 1.72.0 (reported issue https://github.com/yyzybb537/libgo/issues/214)
- pass boost-context:arm64-windows
- fix typo
* Folly only supports the x64 architecture
* fail boost-coroutine:arm64-windows=fail and boost-fiber:arm64-windows=fail because they use fcontext_t from Boost.Context which is not implemented for Windows on ARM64 (reported issue https://github.com/boostorg/context/issues/130)
* Fix globbing-expressions
* Add vcpkg_buildpath_length_warning(37) for boost-system.
Revert boost-iostreams port changes.
* Update ci.baseline.txt
* [ports] Update openssl-unix to 1.1.1c
* [ports] Update openssl-unix to 1.1.1d
* [ports] openssl-unix platform 'AMD64' is called 'x86_64' on Linux
* [ports] fix openssl platform
* [ports] openssl-windows update openssl to 1.1.1d
* [ports] Fix openssl post build
* [ports] openssl add EnableUWPSupport.patch
Reference:
https://github.com/openssl/openssl/pull/8917https://github.com/openssl/openssl/pull/9440
* [ports] openssl-uwp update openssl to 1.1.1d
* Updated support for OpenSSL v1.1
With OpenSSL v1.1 we need an additional flag for ACE
* update to 12.0 and change to vcpkg_configure_make
* remove msys line
* remove custom cmakelists
* use --without-readline on linux
* Update CONTROL
Fix version
* fix portfile
* add all possible libpq features
* create vcpkg_get_build_depends
* create vcpkg_read_dependent_port_info
* add vcpkg_write_port_info
* fix a few bugs
* libpq first succesful x86 build with core features.
(files still must be moved)
* always write the variable
* Fix separate make and install execution error issue.
* trigger CI system.
* add openssl and win_bison win_flex patch
* add configuration dependent patches
* add bonjour as a dependency on macosx
* apply patches and configure features
* more patches to fix the windows build
* more install fixes
* remove unnecessary code
* bit of code cleanup
* remove unrelated files
* remove unrelated function call. function was removed with last commit
* removed hardcoded platform
* fix patch
* build only the interface libraries and nothing more
* forgot to remove tool ecpg from install
* seperate minimal install patch from normal install patch and introduce client feature
* fix x86 Platform variable being x86 and not Win32 as required by the generated project
* make linux build work
* make more linux work
* openssl return version number directly without calling openssl
(should probably be done differently)
* fix some more path and platform identification
* comments to reduce install. currently libpq installs static and shared libraries and some tools on linux
* patch arm
* fix platform detection logic
* make libpq osx buildable
* Rename debug import library after build.
(So that we don't affect external CMake users.)
* revert debug naming and install a wrapper instead.
* fix gdal regression due to name change
* fix cutelyst regression due to qt5-base wrapper
(why was it not using the target in the first place?)
* correct wrapper install path
* correct the arm patch.
* trying to fix static gdal build
* gdal still needs more work
* update version of openssl in libpq openssl patch
* nmap fix openssl
* qt5 fix openssl
* gdal fix openssl
* librtmp migrate to openssl 1.1.1
* fail in patch since what is intended is not going to work in openssl 1.1.1
* fix static yara build
* freedtds deactivate openssl feature until freetds decides to upgrade to 1.1
* fix libwebsockets cmakelists
* fix the patch so that the generated targets also include crypt32
* xmlsec add threads dependency
* bump control since I am unable to reproduce the regression
* add pthread to openssl detection logic
* fix freetds linkage missing crypt32 and fix the cmake checks.
* fix the openssl wrapper to add the threads library
* fix libmysql regression
* add threads to openssl libraries.
* upgrade libssh to 0.9
* fix nmap regression
* fix mosquitto regression
* fix openssl wrapper to make libarchive work
* fix quickfix
* changed patch a bit
* improve freetds patch
* fix case in librtmp
* update control
* bump control
* fix case
* make jasper a dependency of qt5-imageformats to fix flaky CI build.
* add jasper libraries explicitly
* jasper depends on freeglut so add it as a dependency. turbo_jpeg is also a dependency but that should already be handled in qt5-base
* more glut names
* bump control for macosx ci retry
* fix slikenet regression
* fix linebreak in qt5-base
* update baseline
* Update ci.baseline.txt
those ports are not supported on UWP
* [libevent] add dependency on libevent[threads] to openssl feature
* [pdal,freerdp] Update CI baseline to fail
* fix static pdal build
* fix freerdp on linux
* trying to revert some changes
* revert changes in build make
* revert x264 version bump
Co-authored-by: Force Charlie <6904176+fcharlie@users.noreply.github.com>
Co-authored-by: Johnny Willemsen <jwillemsen@remedy.nl>
Co-authored-by: Lennart Trunk <lennart.trunk@outlook.de>
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Co-authored-by: Victor Romero <romerosanchezv@gmail.com>
* [azure-kinect-sensor] Remove feature test and fix static build in Windows
* [azure-kinect-sensor-sdk] Re-fix components install path using patch
* [azure-kinect-sensor-sdk] Remove bin debug/bin in static build
* update baseline
* Map MinSizeRel and RelWithDebInfo to Release by default
* switch to CMAKE_CONFIGURATION_TYPES
* changed mapping slightly
* add empty list element to the mapping
* more comments and an option to turn verbose messages on.
* removed line info.
It would require the file name to make sense out of it.
* Adding a port for nethost
* Fixing ref, removing unneeded include, and marking unsupported architectures for nethost
* Fixing the expected sha512 for nethost
* Setting nethost to fail on static and uwp
* Removing an unecessary file(REMOVE_RECURSE) from nethost
* update baseline
* [nethost] Update to latest from dotnet/runtime
* [vcpkg-baseline] Update baseline for nethost
* [vcpkg-baseline] Update baseline for nethost
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
* Fix static qt5 builds and ignore system qmake
closes#9234 and #9239
* fix angle conflict and icu dependency
* add egl-registry as a dependency
* remove space
* adding spaces resolved the problem
* move files only if they exist
* Update the Wrapper to use the Postgres target
fixes some observed linkage issues
* update baseline
* add fontconfig on linux so CI is less flaky in a full rebuild
* fix linkage dependent qt5-imageformats libs
* Fix Wrapper for Linux and add other platform libs to Qt5::Core
* fix plugin properties in cmake files
* fix cmake files.
* fix missing plugin qminimal deployment into tools dir
* change wrapper slightly
* UNIX also means APPLE so it needs to be excluded
* fix the static windows build
* mark the parts of fixcmake which require further work to work with single configuration builds
* Update ci.baseline.txt
make qt5-tools pass for CI testing
* fix last regression
* break auto fontconfig in configure script to fix qt5-tools
* update baseline
* enable verbose to debug ci
* try to help it instead of breaking it
* completly link icu
* try to fix fontconfig configure
* fix configure call. cannot be called with a list!
* remove invalid line from patch
* force icu and reduce the required icu libs according to the configure script
* fix icu linkage
* add more icu dependencies and names for windows
* add more icu libs. Seems like all are needed
* fix typo
* print icu libs in debug
* check releasenames
* try again
* change link order
* add icu to wrapper
* fix typo
* patch icu configure for static windows builds
* add other icu libraries to the icu patch
* fix icu in x64-windows-static
* update baseline. VTK builds in local WSL so it should work in CI
* update VTK control to force rebuild
* remove qt5-tools=pass from baseline
* remove qcustomplot:x64-linux=fail from baseline
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
* [uvatlas] Upgrade to dec2019
* [uvatlas] Delete and update deprecated functions
* [uvatlas] x64-uwp passing, remove from ci.baseline.txt
* [uvatlas] Don't test x86-windows-static by default, remove it
* [charls] upgrade to 2.1.0
Upgrade to the latest released version of CharLS. The patch file has become obsolete.
* Remove charls=fail triplets from ci.baseline.txt
Both arm-uwp and x64-uwp can be build.
* [vcpkg_install_qmake] Add vcpkg_install_qmake and convert existing ports to use it.
[vcpkg_configure_qmake] Add 'staticlib' to CONFIG in static builds
* [vcpkg_configure_qmake] Don't specify DESTDIR
* [libqglviewer][vcpkg_configure_qmake] Add staticlib CONFIG only for libqglviewer
* [qt5-base] Increment version to track changes in vcpkg_configure_qmake()
* [libarchive] Fix cpu_set_t missing
* [xalan-c] Fix flakiness in presense of ICU
* [openvpn3] Add missing bits/endian.h include
* [vcpkg-baseline] Mark vtk as no longer failing
* Added port for OpenDNP3 library
* Added usage note
* Handle library linkage setting
* Removed deprecated vcpkg_common_functions include
* Indicated that OpenDNP3 will fail to build on UWP targets
* [opendnp3] Export cmake files and force to build static in Windows
* [opendnp3] Fix include export-cmake name
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
* Fix separate make and install execution error issue.
* trigger CI system.
* Fix multiple copy files under debug, fix separator between make and install in linux.
Removing the compiler flag /Oi (Generate Intrinsic Functions) allows
meson to detect functions like memmove, memset correctly. This is
relevant to meson configure for fribidi (see fribidi/meson.build).
This fixes the following "issues" (from fribidi meson-log.txt):
testfile.c(17): error C2168: 'memmove': too few actual parameters for
intrinsic function
Checking for function "memmove" : NO
testfile.c(17): error C2168: 'memset': too few actual parameters for
intrinsic function
Checking for function "memset" : NO
And enables detection of the functions:
Checking for function "memmove" : YES
Checking for function "memset" : YES
* Began updating
* Added 'Homepage:' to CONTROL, added vcpkg_check_features to vcpkg_create template
* Update portfile.in.cmake
Added documentation link for vcpkg_check_features
CMAKE_CURRENT_LIST_DIR reflect current directory. Thus It can be lowercase drive letter.
The lowercase drive letter cause #8237 issue.
Fixup drive letter to uppercase by using get_filename_component().
CMAKE_TRY_COMPILE_PLATFORM_VARIABLES is used when CMake 3.6.0 or higher
is encountered. For older versions the previous behavior emulating this
functionality is used.
* forward extra arguments to vcpkg_configure_qmake from submodules
* make image format dependent on tiff and libwebp
* make tools dependent on imageformat
* build options must be passed a bit different then normal qmake options
* add the required dependencies
* a new dependency discovered in qt5-declarative
* need webpdemux also
* qt5-declarative is dependent on imageformats so we can drop it here
* remove empty qt.conf if it exists. closes#8180
* add all recommended dependencies as dependencies in control.
* [vcpkg] add missing implib definitions, fix shared lib extension on mac
(cherry picked from commit 2cddef9541)
* Better find_library suffixes and prefixes.
* moved additional suffix into a comment and reverted back to what is expected on windows
* updated documentation for add variables.
* - Added scripts variable to ports file.
- Added check if triplet file is not available (NPE).
* - Fixed line endings.
* Provide location of .vcpkg-root to ports.cmake
* vcpkg sets VCPKG_ROOT_PATH in ports.cmake
* [vcpkg] Fail if VCPKG_ROOT_PATH is not passed from vcpkg.exe
* [vcpkg] Fix vcpkg rooth path
* [vcpkg] Make --x-scripts-root an experimental command
* update to 5.12.4
* removed port qt5-modularscripts and split it functionality into more functions into qt5-base
* added qt_port_hashes.cmake for simpler upgrade.
* added optional VCPKG_QT_HOST_MKSPEC and VCPKG_QT_TARGET_MKSPEC to select QTs build mkspecs from a triplet
* qt_<config>.conf are now copied from the build dir instead from the port dir
* fixed freetype dependencies.
* cleanup of vcpkg_qmake scripts. No strange/unclear replacements anymore.
* introduced vcpkg_buildpath_length_warning
* changed directory layout of the qt5 installation executables and mkspecs a bit.
In Powershell 6.2/7.0, `Get-ChildItem`'s paths are now printed as
absolute paths instead of relative paths; this breaks the code we have
that assumes that they're printed as relative paths.
Thus, change the code to request the `Name` property specifically, which
is what we actually wanted.
* [portfile functions] Override execute_process() to accept ALLOW_IN_DOWNLOAD_MODE option
* [vcpkg install] Set VCPKG_DOWNLOAD_MODE when using --only-downloads option
* [vcpkg_find_acquire_program] Allow in Download Mode
* Don't stop when build fails for a package
* Download sources for all packages in dependency graph
* Improve output messages
* Enable acquiring MSYS packages in download mode
* Documentation
* Update documentation
* execute_process() always fails on Download Mode
* Regenerate docs and fix formatting
* Run clang-format
* Use _execute_process on vcpkg_from_<source> helpers
* Fix calls to _execute_process() when not in Download Mode
* [portfile functions] Override execute_process() to accept ALLOW_IN_DOWNLOAD_MODE option
* [vcpkg install] Set VCPKG_DOWNLOAD_MODE when using --only-downloads option
* [vcpkg_find_acquire_program] Allow in Download Mode
* Don't stop when build fails for a package
* Download sources for all packages in dependency graph
* Improve output messages
* Enable acquiring MSYS packages in download mode
* Documentation
* Update documentation
* execute_process() always fails on Download Mode
* Regenerate docs and fix formatting
* Run clang-format
* Use _execute_process on vcpkg_from_<source> helpers
* checkpoint commit
* Only set VCPKG_ENV_OVERRIDES_FILE if it exists
* First pass at working port-toolchain
* Update VERSION.txt
* Return rvalue
* Fix compilation error
* Some fixes are requested by @ubsan
* Fix another compilation error
- Add the "VCPKG_DEVELOPMENT_WARNINGS" flag
- setting "WERROR" will also set this flag
- This flag is set by default
- on GCC/clang, this will pass '-Wall -Wextra -Wpedantic -Werror'
- on GCC, this will additionally pass '-Wmissing-declarations'
- on clang, this will additionally pass '-Wmissing-prototypes'
- on MSVC, this will pass '-W4 -WX'
- On Visual Studio 2017 and later, pass '-permissive-'
- Change the source for fallout of these changes
- add `format` subcommand
- formats all C++ source and header files using clang-format
- move `include/vcpkg-test/catch.h` to `include/catch2/catch.hpp`
- pass CONFIGURE_DEPENDS to file(GLOB)
* [vcpkg_check_features] Set OUT_EXPAND_OPTIONS explicitly
* [vcpkg_check_features] Allow reverse logic for features
* [vcpkg_check_features] Document new parameters
* [vcpkg_check_features] Remove unnecessary logging
* Do not create variables for each feature only set OUT_FEATURE_OPTIONS
* Improve documentation
* Update ports that use vcpkg_check_features()
* Missing documentation updates
* [pcl] Fix tools feature
* [opencv,opencv4] Fix usage of vcpkg_check_features()
* [opencv4] Fix typo
* added function vcpkg_fail_port_install to fail the portfile under requested circumstances and display a standarized failure message
* added always option.
* fix linux regressions
* bump control for ci tu rerun
This PR does the following:
* fix tests -- now, they're always built in the CMake scripts, and they work on VS2015
*add a new flag, BUILD_TESTING, which allows one to turn off testing builds
* Add documentation for running tests
Setting a variable in PARENT_SCOPE will not make the variable also visible in
current scope, which, as a result, causes FEATURE_OPTIONS to be set incorrectly.
* [vcpkg] Fix font corruption bug on Windows by downloading Powershell Core
* [vcpkg] Rename subtool to powershell-core
* [vcpkg] Add missing includes to project files