Commit Graph

2452 Commits

Author SHA1 Message Date
Kai Pastor
73b9a2a359
[openssl,vcpkg-cmake-get-vars] Fix android and emscripten, add feature tools (#29966)
* [vcpkg-cmake-get-vars] Call 'project' early

System variables like 'APPLE' or 'ANDROID' aren't set before 'project()'.

* Get Android variables

* [openssl] Ensure that compiler is reached via 'PATH'

* Fix Android configuration

* Add 'tools' feature

* Update versions

* [openssl] Initialize android with vcpkg settings

* [openssl] Really don't build apps

* [vcpkg-cmake-get-vars] Update android vars

* [libpq] Pass openssl version from pkgconfig

* [vcpkg-cmake-get-vars] Update android vars

* [vcpkg-cmake-get-vars] Report generator

* [vcpkg-cmake-get-vars] Escape all output

* Transfer cmake-get-vars fixes

* Transfer cmake-get-vars extra flags

* no-asm for android-arm w/o neon

* [vcpkg_configure_make] Unquote as needed

Toolchain flags are passed into make via environment variables (e.g.
CFLAGS) and expanded by Makefiles regardless of quotes. And even vcm's
internal handling isn't prepared for these quotes. So we must remove
the early. This doesn't interfere with properly escaped quotes.

* Re-add lost 'project', amends 4cf7caaa

* [openssl] Fix emscripten
2023-03-14 14:11:06 -07:00
jre-lsft
cfdeb75bb6
Restore environment after make to avoid mixing-up linker flags (#29984)
Fixes #29983.
2023-03-13 15:02:32 -07:00
autoantwort
f3ebb73184
[LLGL] update (#30072) 2023-03-12 21:13:33 -07:00
autoantwort
1f615bcb70
[mfl] fix clang build (#30102) 2023-03-10 12:16:47 -08:00
autoantwort
eb018410c0
[mmx] update (#30089) 2023-03-09 12:20:44 -08:00
Chuck Walbourn
c1d764a742
[community triplet] adds triplets for building for the Xbox platform (#29210)
* Try adding xbox triplets

* Update for Gaming Command Prompt usage

* Fix directxtk12 shaders for xbox

* Add toolchain for xbox

* Fix ports for feature builds

* Code review feedback

* More code review

* Code review

* WIN32_LEAN_AND_MEAN is too aggressive for many libs

* Normalize GDK variable paths

* Need to leave oldnames.lib as many libs use POSIX names

* More code review feedback

* Remove extra file

* Use of /DEFAULTLIB fixed 41 ports

* Code review feedback

* Added basic xbox supports expression

* Updates for xbox-aware ports

* Update for CMake fixes upstream

* Minor synatx fix

* Fix up merge issues

* Need directx-headers for linux

* Missed one port revision

* Removed VCPKG_TARGET_IS_XBOX from project scope after upstream fixes

* Update baseline

* License updates per github-actions bot

* Update baseline

* Update toolchain to support try_compile for GDK headers

* Update port numbers

* Update baseline

* Don't need directx-dxc for Xbox builds

* Update baseline

* Update hashes

* Code review

* Update baseline

* Refresh hashes for upstream fixes

* Update baseline

* Add ms-gdkx stub port

* Update baseline

* updated ms-gdkx with user-friendly output

* Update baseline

* Code review for the toolchain file

* Update directxkt12 hash

* Refresh baseline

* Update MSBuild integration to select proper triplet for GDK custom platforms

* Update CMake integration to select proper xbox triplet from XBOX_CONSOLE_TARGET

* vcpkg.targets update

* Code review feedback

* Update baseline

* Refresh baseline

* Code review for MSBuild

* Code review for xbox toolchain

* vcpkg.cmake codereview

---------

Co-authored-by: walbourn <chuckw_walbourn@yahoo.com>
2023-03-08 14:06:20 -08:00
Ranieri Althoff
02ad673d3b
Fix fish completions (#30050) 2023-03-07 14:55:05 -08:00
Billy O'Neal
0d138770f0
Update vcpkg-tool to 2023-03-01. (#29957)
https://github.com/microsoft/vcpkg-tool/releases/tag/2023-03-01
2023-03-06 10:35:03 -08:00
Jörg Bornemann
ed73411424
[applocal.ps1] Fix -targetBinary without drive letter (#29890) (#29894)
On Windows, running applocal.ps1 with "-targetBinary
/foo/bar.exe" (without drive letter) did not install dependencies. The
dumpbin executable was called with /foo/bar.exe, and dumpbin interpreted
this as unknown command line argument. No dependencies were resolved.

We're already resolving the full path of the target binary some lines
above the dumpbin call. The $targetBinaryPath variable contains the
target binary's path including the drive letter, and dumpbin
successfully reports the executable's dependencies.
2023-03-01 16:07:04 -08:00
Kai Pastor
f93710335b
[ncurses] Fix "lib model" control. (#29881)
* [cmake-user] Test CMake package Curses with port ncurses

* [ncurses] Control lib models
2023-02-28 10:09:09 -08:00
Billy O'Neal
9484a57dd5
Update vcpkg-tool to 2023-02-16. (#29664) 2023-02-24 11:57:40 -08:00
Kai Pastor
328bd79eb8
Add parameter to limit CI to selected triplets (#29738)
* Add parameter to limit CI to selected triplets

Pull requests which analyze the situation in a particular triplet,
arch or platform may temporarily limit the triplets run in CI by
overriding the default value of CI parameter 'tripletPattern'.

* Add special chars for start and end

* Proof of concept

* Revert "Proof of concept"

This reverts commit 326bd2632b.
2023-02-24 11:32:02 -08:00
Obbart
c4c22be7df
[lastools] Update to 2.0.2, fix include directories (#29770)
* [lastools] Update to 2.0.2, fix include directories

* [lastools] Updated version database

* [lastools] Replaced deprecated functions

* [lastools] Updated reference, fixed ci.baseline.txt

* [lastools] Updated versions database

* [lastools] Removed port-version from vcpkg.json

* [lastools] Updated version database

* [lastools] Fixed port version

* [lastools] Updated version database

---------

Co-authored-by: Emanuele Trabattoni <Emanuele.Trabattoni@faro.com>
2023-02-23 11:19:45 -08:00
Todor Prokopov
82e03905f5
[qt5] MinGW build fixes (#29505)
* [qt5] MinGW build fixes

* [qt5] Remove e-mail headers from mingw9.patch

* [qt5] Run vcpkg x-add-version

* Cleanup qt5-base icu libs setup

Windows-shared needs different options. Patch obsolete.

* Check early for mingw32-make

* Revise make install path fixup

---------

Co-authored-by: Kai Pastor <dg0yt@darc.de>
2023-02-22 13:17:37 -08:00
Yingwei Zheng
5c98346399
Add initial risc-v support (#29593) 2023-02-22 12:44:40 -08:00
Jörg Bornemann
703a8113f4
[vcpkg.cmake] Make use of CMake 3.7 language features (#29721)
vcpkg.cmake requires at least CMake 3.7.2. We can remove the
work-arounds for older CMake versions that lack GREATER_EQUAL and
VERSION_GREATER_EQUAL.
2023-02-21 10:58:03 -08:00
Nick
914d5f9705
[openal-soft] update to 1.23.0 (#29581) 2023-02-16 10:36:06 -08:00
Billy O'Neal
1cc952582b
Patch Tuesday Feb 2023 (#29669) 2023-02-15 23:11:47 -08:00
Paweł Wegner
959f8e3175
libevent: update to version at head and enable uwp support. (#29341)
Tagged release is +2 years old, fix-android-threads patch got upstreamed so it
is no longer necessary here. Also, includes a small patch which makes it
build on uwp.
2023-02-15 10:21:34 -08:00
Kai Pastor
36fb23307e
[vcpkg_configure_make] Fix almost-native builds (#28760)
* [gmp] Set CCAS for native builds

* [vcpkg_configure_make] Move triplet detection

* [vcpkg_configure_make] Control cross tools by autotools triplet

* Update versions

---------

Co-authored-by: MonicaLiu <v-liumonica@microsoft.com>
Co-authored-by: Jonliu1993 <13720414433@163.com>
2023-02-10 12:02:13 -08:00
pastdue
691244117b
[angle] Update to chromium/5414, improve build system (and future updates) (#27444)
* [angle] Update to chromium/5249

- Refactor build system based on WebKit's CMake build system for libANGLE
- Add maintainer-notes.md

* [angle] Fetch & generate more files in portfile

* [angle] Move maintainer-notes.md

* [angle] Port changes from #27701

* Merge install tweak from #28547

* [angle] Tweak PlatformLinux

* Run x-add-version

* [angle] Update to chromium/5414

* Run x-add-version

* Fix version database.

* Fix version database

---------

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Co-authored-by: Jonliu1993 <13720414433@163.com>
2023-02-10 11:45:11 -08:00
JonLiu1993
9e73ebfe12
[monkeys-audio] update to 9.04 (#29556)
* [monkeys-audio] update to 9.04

* update version

* revert patch

* update version

* remove useless baseline
2023-02-10 11:11:51 -08:00
Alexander Neumann
d84e61c2c3
Fix coin-or ports. (#29398)
* add stuff

* coinutils stuff

* coin-or-* fixes!

* fix patch

* Fix openmvg

* fix openmvg by modifying includes

* fix ipopt.

* add !uwp supports in coinutils

* try fixing openmvg on osx

* format manifest and license stuff

* fix linkage

* v db
2023-02-09 14:51:04 -08:00
Lily Wang
7a33ed1718
[mongoose] Update to 7.9 (#29548)
* [mongoose] Update to 7.9

* update version
2023-02-09 10:48:25 -08:00
reito
9d07914638
[vcpkg] fix proxy hint that should be fixed long time ago (#29346)
* fix proxy hint that should be fixed long time ago

* rebase master
2023-02-08 13:51:10 -08:00
Alexander Neumann
d289dea7d8
[OpenTURNS] add new port (#29336)
* [openturns] add port

* v db

* fix missing boost dep.

* fix static stuff and others.

* v db

* reorder mpc and mpfr for linux

* v db

* add openturns:x64-osx=fail to ci baseline because vm uses old bison.

* move baseline fail above comment

* Add ci.baseline.txt note describing why it doesn't work.

* Add usage text.

* fix version

* v db

---------

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2023-02-08 13:49:11 -08:00
xiaozhuai, Weihang Ding
9aa9cc5e70
[minifb] Bump to 2023-02-03 (#29316)
* Bump to 2023-02-03

* update version database

* Remove unnecessary entries from `ci.baseline.txt`.

---------

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2023-02-03 13:22:26 -08:00
Billy O'Neal
1d3ba8738f
[libcopp] Mark arm-windows as unsupported. (#29408)
In https://github.com/microsoft/vcpkg/pull/29267 we asked the user to remove a ci.baseline.txt entry for libcopp , but this failed in the most recent full build https://dev.azure.com/vcpkg/public/_build/results?buildId=84590 . It looks like the port doesn't have the plumbing to hook up ARM or ARM64 compilers on Windows, so this isn't a machine configuration / ci.baseline.txt issue.

There does appear to be some code in upstream trying to select armasm rather than masm to use the arm assembler but the port doesn't know how to hook that up.
2023-02-03 11:14:29 -08:00
Billy O'Neal
6aa38234d0
[boost] Fix generate ports to match the tree. (#29338)
Added the ability for the 'default' port version to get a value in case they all change at once (as almost happened due to https://github.com/microsoft/vcpkg/issues/29288)

https://github.com/microsoft/vcpkg/pull/28356/ did not apply post-source stubs for url and locale. I suspect they were just forgotten to be checked in?
https://github.com/microsoft/vcpkg/pull/28617/ did not record the port version change in generate-ports.ps1.

Also fixed all files to have LF line endings. (since changing boost-vcpkg-helper version also changed all the other ports anyway)

Also changed "When changing this file also update and run scripts/boost/generate-ports.ps1" to "Automatically generated by scripts/boost/generate-ports.ps1" because I think that better conveys the consequences (your changes will get nuked).
2023-02-01 13:34:29 -08:00
as-shura
74e940f647
[onednn] Bumped version to 3.0.0 release. (#29267)
* Bumped version to 3.0.0 release.

* Update ports/onednn/vcpkg.json

Co-authored-by: Lily Wang <94091114+LilyWangLL@users.noreply.github.com>

* Update ports/onednn/portfile.cmake

Co-authored-by: Lily Wang <94091114+LilyWangLL@users.noreply.github.com>

* Applied changes requests from @LilyWangLL.

* Final database update.

* Fixed inability to download hidden by asset caching.

---------

Co-authored-by: Lily Wang <94091114+LilyWangLL@users.noreply.github.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2023-01-31 13:51:11 -08:00
JonLiu1993
54826e9ffc
[baseline][crashpad] Remove from ci.baseline.txt (#29273) 2023-01-30 16:43:55 -08:00
reito
75381ea7fa
[gn-related-ports] Fix gn based projects build error on Windows (#29058)
* fix gn path error on windows

* add quotes

* vcpkg cmake guidelines

* Fix version database.

* Use Z_VCPKG_BACKCOMPAT_MESSAGE_LEVEL instead of WARNING

* Quotes 🤦

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2023-01-26 18:53:54 -08:00
Billy O'Neal
ac12118f02
[igraph] PASSING, REMOVE FROM FAIL LIST (#29205)
Probably fixed by https://github.com/microsoft/vcpkg/pull/26866
2023-01-26 12:05:34 -08:00
autoantwort
4efb7ed628
[cppfs] improve port (#29175)
* [cppfs] improve port

* Remove ci.baseline.txt entries.

* Add license.

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2023-01-25 12:35:29 -08:00
Jack·Boos·Yu
bf1646e7b9
[vcpkg toolchain] Fix CMAKE_CROSSCOMPILING when building on UWP (#26866)
* [vcpkg toolchain] Fix CMAKE_CROSSCOMPILING when building on UWP

* [kfr] Set cpu arch to generic to avoid call try_run

* version

* [kfr] Re-fix cross configure issue

* version

* Revert changes about kfr, add kfr:x64-uwp to ci.baseline instead

* version

* Remove VCPKG_LINKER_FLAGS_RELEASE from debug builds, and apply other changes from windows.cmake for consistency.

Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2023-01-25 12:18:55 -08:00
Billy O'Neal
1bd985963f
Update vcpkg-tool to 2023-01-24. (#29158)
* Update vcpkg-tool to 2023-01-24.

https://github.com/microsoft/vcpkg-tool/releases/tag/2023-01-24

* [vtk] Enable VCPKG_POLICY_SKIP_ABSOLUTE_PATHS_CHECK
2023-01-24 19:58:39 -08:00
Aleksi Sapon
50805d6ece
Add support for different LFS url to vcpkg_from_git (#28693) 2023-01-23 16:26:29 -08:00
Kai Pastor
8682183365
[cmake-user] format-manifest (#29128) 2023-01-23 16:05:49 -08:00
Lily Wang
12b7cfe610
[vcpkg baseline][forge] Remove from ci.baseline.txt (#29074) 2023-01-19 18:51:10 -08:00
Matthew Oliver
19b64e8b9e
[nasm] Update to 2.16.01. (#28950)
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2023-01-19 18:43:57 -08:00
Robert Coup
38364cede1
always strip whitespace when calling uname -m (#28939) 2023-01-19 18:39:39 -08:00
Kai Pastor
edcf949452
[vcpkg_fixup_pkgconfig] Check for more problems, add unit test (#23898)
* Print stack traces for failed unit tests

* Add test for vcpkg_fixup_pkgconfig.cmake

* Check for 'optimized' and 'debug' in pc files

* Check for 'NOTFOUND' and for 'ns::target' in pc files

* Check for, and fix, line continuations

* Test file path substitutions

* Move contents processing into separate function

* Update and leverage line break normalization

* Pass prefix to data processing

* Validate only the collapsed Libs

* Test removal of '<field>.private'

* Declare unit test license (same as vcpkg)

* Replace ';' with ' ' in 'Libs:'

* Disambiguate parameter variable names

* Test quoting of variables

* Fix quoting of variables

* Quote whole parameters

* Process and quote libs item-wise

* Resolve keywords 'optimized', 'debug', 'debug'

* Consistency

* CI [skip actions]

* CI [skip actions]

* Don't fail on detected errors

* Disable unit-testing for fatal errors

Co-authored-by: Billy O'Neal <bion@microsoft.com>
2023-01-19 18:27:29 -08:00
Alexander Neumann
9e36a44338
[seacas/vtkm/vtk/paraview] Add/update ports. (#27928)
* [cgns] update to 4.2.0

* [vtk-m] update to 1.6.0

* [vtk] Update to 9.0.1-pv5.9.1
- VTK update to match release version of ParaView

* [ParaView] Update to 5.9.1

* version stuff

* fix automatic svg linkage in static builds

* update qt5-svg

* revisit vtk
- fix build with vtk-m 1.6
- remove unused patches
- remove comments

* bump version

* remove two commented lines

* version stuff

* remove old PR version

* commit stuff

* commit stuff

* update notes

* wip commit

* update paraview

* fix hdf5 patch

* fix patch

* fix patch

* fix portfile

* add mpi feature

* format manifest

* use relativ path

* trace

* retry

* move qml files again

* try with host triplet

* - use VCPKG_CRT_LINKAGE
- use METIS not metis

* fix casing Zlib

* hopefully more fixes on other platforms.

* fix patch

* fix missing ws

* fix typos

* scale down to warning

* revert jsoncpp change
fix zoltan on osx?

* move trace option to failing port

* move trace option to failing port

* Revert "trilinos vcpkg.json changes"

* verdict fix osx build ?

* fix patch

* fix internal find_package call

* also apply correct case for metis

* disable METIS on osx

* vtk-m don't support arm.

* force more features in Ci

* fix missing ,

* more fixes

* more vtk python try and error.

* - paraview python setup same as vtk
- remove openvr from platforms not supporting it
- trace openimageio

* fix case and remove fmt for openimageio.

* trying to fix stuff

* set hash to 0

* [skip actions] add missing module

* WebCore module moved to paraview&python

* fixes

* remove patch in vtk-dicom

* add var to maybe unused

* use correct 5.11 ref instead of the one in release

* Patch cleanup round 1

* remove empty patch parts

* fix vtkm configs

* reintegrate jsoncpp.patch

* fix patch

* add single seacas/kokkos/zoltan ports

* throw out trilinos, zoltan, kokkos
replace trilinos with seacas
make seacas work for dynamic windows

* fix mpi feature

* fix dependency

* retry dep fix

* rename target

* remove double line

* fix target

* fix patch

* retry

* remove cgns config

* fix cgns

* no seacas trace

* lowercase hdf5 target

* fix case of metis

* disable Fortran

* add iotr patch

* add additional config folder

* handel case sensitive Seacas again

* get trace again and force jsoncpp

* update cmake to 3.25.0

* bump port-version

* add patch from vtk upstream

* cleanup, format-manifest

* fix port version

* v db

* opencv4 always inject deps.

* fix test port to not require stuff which is not supported on x86

* Fix HDF5 lookup in opencv4

* only delete bin folder in static builds

* add license field

* v db

* add missing "

* v db

* trace again

* fix rtabmap python dep

* fix openimageio by deleting the find module

* v db

* cr cleanup

* v db

* opencv4 v db due to merge with master. Had to bump port version

* v db

* v db

* v db

* CR comments

* v db for cr comments

* trace theia output

* revert theia trace

* v db

* try without patch

* revert rtabmap changes

* v db after merge

* v db for all
2023-01-19 17:55:56 -08:00
Billy O'Neal
17a19ad1b8
Roll back PowerShell to 7.2.x to restore support for Win7. (#29054)
Note that we will still be installing the latest powershell in the build labs, but we will leave the tool accepting 7.2.

Resolves https://github.com/microsoft/vcpkg/issues/29008
2023-01-19 12:12:48 -08:00
Jonathan Sweemer
b23dcc7894
[quantlib] update to v1.29 (#29006) 2023-01-18 13:34:26 -08:00
Robert Schumacher
24c85bacab
[vcpkg_configure_cmake] Partially revert #26959 (#28483)
We must avoid significant breaking changes to the sets of scripts coupled to the vcpkg tool version.
2023-01-18 11:44:24 -08:00
dan-shaw
5908d702d6
[vcpkg] Add new community triplet arm64ec (#27814) 2023-01-17 17:23:11 -08:00
Kai Pastor
51e10eb7fe
[tiff,zstd,gdal,libkml] Fix find_package interactions, enable gdal libkml driver (#28929)
* [gdal] Fix find_package2

* [cmake-user] Test gdal

* [cmake-user] gdal needs CMake 3.9

* Fix tiff & zstd

* Update versions

* [libkml] Export modern INTERFACE_LINK_LIBRARIES

* [gdal] Enable libkml driver

Co-authored-by: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com>
2023-01-16 12:45:42 -08:00
JonLiu1993
fd766eba2b
[vcpkg] update msys-libtool version (#28919)
* [vcpkg] update msys-libiconv versio

* [vcpkg] update msys-libtool version
2023-01-16 12:30:37 -08:00
autoantwort
cc63dc0f66
Update cmake to 3.25.1 (#28522)
* Update cmake to 3.25.1

* [libphonenumber] fix finding of protobuf

* Add zeroc-ice:x64-windows-static-md=fail

Co-authored-by: FrankXie <v-frankxie@microsoft.com>
Co-authored-by: Cheney-Wang <850426846@qq.com>
2023-01-15 11:04:04 -08:00