22 Commits

Author SHA1 Message Date
Kai Pastor
47633daa65
[vcpkg-scripts] Catch use of ambiguous cmake vars (#34546)
Avoid wrong use of popular but ambiguous variables (`WIN32` etc.) in
scripts and portfiles by detection in CI.

Sometimes the variables are used wrongly, and sometimes this isn't
caught in PR review. This PR tries to catch those variables (when in the
active code path in script mode). [This can happen to every
contributor](https://github.com/microsoft/vcpkg/pull/34356#discussion_r1360074122),
even if he/she knows the rules ... vcpkg is raising the bar higher than
usual, having to deal with targets and hosts even in script mode.

(`b2-options.cmake` (boost fragment) shows where we get if we don't pay
attention: the same code being used in script mode (`WIN32` meaning
host) and in project mode (`WIN32` meaning target).)

The new check doesn't break any user builds because it relies on command
line options. However it changes the ABI hashes.
2024-06-14 11:40:01 -07:00
Kai Pastor
c37a87876b
[vcpkg baseline][mesa] Remove egl from default features (#39199)
Mitigation for #39198.

Mesa CI is currently disabled for linux and osx, and also doesn't run
for android.
So we see CI effects only for Windows. Improving CI situation for mesa
is the subject of #36081. So keeping egl out of CI like before
https://github.com/microsoft/vcpkg/pull/37599 is the best option at the
moment.
2024-06-10 16:23:35 -07:00
Yury Bura
63d9dcdd7e
[llvm] Update to 18.1.6 (#37599)
Fixes #37189
- [x] Changes comply with the [maintainer
guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md).
- [x] SHA512s are updated for each updated download.
- [x] The "supports" clause reflects platforms that may be fixed by this
new version.
- [x] Any fixed [CI
baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt)
entries are removed from that file.
- [x] Any patches that are no longer applied are deleted from the port's
directory.
- [x] The version database is fixed by rerunning `./vcpkg x-add-version
--all` and committing the result.
- [x] Only one version is added to each modified port's versions file.
2024-06-06 01:14:30 -07:00
Alexander Neumann
a664e41ee5
[vcpkg-tool-meson] Update meson to 1.3.2 (#28084) 2024-03-11 14:09:15 -07:00
Yury Bura
34bc63571a
[llvm] update to v17.0.2 (#33600) 2023-10-12 10:46:42 -07:00
autoantwort
3d532f1cec
[mesa] no uwp (#33685) 2023-09-13 16:22:21 -07:00
autoantwort
061428ffa7
[mesa] fix inter feature deps (#31117) 2023-04-25 23:17:36 -07:00
Alexander Neumann
e210f15dad
[mesa] update to 23.0.1 (#30496)
* update mesa to 23.0.1

* remove patches

* v db

* remove lines from CR

* v db
2023-03-30 14:18:52 -07:00
Kai Pastor
ce70fb4f1c
[baseline][opengl,mesa] Resolve ambiguities (#28160)
* [mesa] supports: !staticcrt

* [mesa] Install copyright from license.rst

* [mesa] Revise internal dependencies

* [mesa] Revise external dependencies

* [mesa] Move windows opengl32 lib to manual-link

* [opengl] Fix case of include names

* [opengl] Refactor for simplicity and mingw support

* [opengl] Stop copying out of windows SDK [skip actions]

* Update versions

* Revert "[opengl] Stop copying out of windows SDK"

* [mesa] Align with port opengl
2023-01-11 23:04:26 -08:00
Alexander Neumann
4cde015b16
[Mesa] Update to 22.1.7 (#25890)
* [mesa] 22.1.4

* delete correct patch ...

* v db

* fix feature names

* v db

* add enable-rtti

* v db

* update to latest and add offscreen feature

* f m

* v db
2022-09-08 11:49:08 -07:00
Yury Bura
4a2bc18713
[llvm] update to v14.0.3 [halide] update to v14.0.0 [mesa] update to 22.0.2 (#23734)
* [llvm] update to v14.0.0

* [llvm] BOLT sub-project support

* [llvm] fix tools install paths

* [halide] update to v14.0.0

* update versions

* [vcpkg-get-python-packages] fix "LOGNAME should be specified" warning

* [mesa] update to v22.0.1

* update versions

* update versions

* update version

* [mesa] update to 22.0.2

* update version

* [mesa] update patches

* update version

* [llvm] update to v14.0.3

* update version

* [llvm] remove depricated feature

* [llvm] allow to build OpenMP on Windows and remove incomplete cross-compile support

* update version

* [llvm] use vcpkg_cmake_get_vars

* [llvm/openmp] install CMake file in share/openmp

* [llvm] add vcpkg-cmake-get-vars dependency and slip post build check if OpenMP is enabled

* update version
2022-05-16 11:41:53 -07:00
Alexander Neumann
5afd32266c
[qtinterfaceframework|opencv] fix python stuff (#24041)
* add upstream patch

* [skip actions] add the patch file

* fine tune

* [opencv] update portfiles to use vcpkg-get-python-packages

* fix references

* try another fix

* add all deps

* add code from tensorflow about venv

* retry

* fix file path

* new approach

* unset pythonhome

* next unset

* try this instead.

* retry without the PYTHON_LIB_PATH stuff

* try and error

* next try

* retry

* typo fix

* try updating

* retry

* more try and error

* reorder

* drop qface version

* use qface 2.0.5

* bump watchdog

* fix call on !windows

* fine tuning

* refactor function signature

* update version

* fix formating

* version stuff

* create dir before usage

* fine tuning

* version stuff

* update and patch libilbc

* formating stuff

* fix version-string

* version stuff

* add license

* version update

* bump version

* version stuff

* version stuff

Co-authored-by: Alexander Neumann <you@example.com>
Co-authored-by: Stefano Sinigardi <stesinigardi@hotmail.com>
2022-04-14 11:08:23 -07:00
Alexander Neumann
5bf1323378
[vcpkg-get-python-packages] add helper to manage python and pip (#23089)
* add vcpkg-get-python-packages

* version stuff

* use vcpkg_execute_required_process

* use function in mesa.

* version stuff

* fix the last call which needs to use vcpkg_execute_in_download_mode

* version update

* set WORKING_DIRECTORY

* version stuff

* use include_guard; remove HEAD_REF

* version stuff

* Apply suggestions from code review

Co-authored-by: nicole mazzuca <83086508+strega-nil-ms@users.noreply.github.com>

* fine tuning after CR

* version stuff

* add "supports": "native"

* version stuff

* remove message since vcpkg will tell you that it is unsupported

* version stuff

* make sure we only do stuff on windows hosts.

* version stuff

Co-authored-by: nicole mazzuca <83086508+strega-nil-ms@users.noreply.github.com>
Co-authored-by: Alexander Neumann <you@example.com>
2022-04-05 11:21:01 -07:00
Cheney Wang
48b4cb1cce
[cmake/getdns/jasper/mesa/sentry-native] Fix error C2065 and C2079 (#22630)
* [cmake/getdns/jasper/mesa/sentry-native] Fix error C2065 and C2079

* Add windows check

* Add MINGW check

* update json

Co-authored-by: Cheney-Wang <v-xincwa@microsoft.com>
2022-01-24 12:21:52 -08:00
Jack·Boos·Yu
372e8d146b
[mesa] Update hash (#22573)
* [mesa] Update hash

* version

* add FILE_DISAMBIGUATOR

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2022-01-18 15:45:42 -08:00
Yury Bura
099507df39
[llvm] update to 13.0.0 (#20749)
* [llvm] update to 13.0.0

* add version

* [llvm] rework processing of the CMake packages

* update versions

* [llvm] return patch to fix config paths

* update version

* [llvm] allow to build Flang on Windows

* add version

* [llvm] temporary enable Flang by default for test

* update version

* [llvm] fix Flang installation

* update version

* [llvm] try to fix Flang build

* update version

* [llvm] remove Flang from defaults and use Perl path

* [halide] update to 13.0.0

* update versions

* [mesa] update to v21.2.5 and fix build with LLVM 13

* [llvm] use version

* update versions

* [opencv4] fix build with Halide 13

* update version

* update ci.baseline

* [halide] update usage file

* [llvm] update supports

* update versions

* [vcpkg-ci-llvm] add test port

* [vcpkg-ci-llvm] rework test port

* [vcpkg-ci-llvm] test more features

* [halide] update to v13.0.1

* update version

* [mesa] recover port version

* update versions

* [opencv4] update version

* update version

* Update opencv4.json

* [halide] update to v13.0.2 and fix usage

* update version

* Update ports/halide/portfile.cmake

Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>

* update version

* enable LLVM ABI breaking checks to avoid Halide build fail

Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>
2021-12-20 11:21:15 -05:00
Alexander Neumann
163065a352
Update meson to 0.60.2 (#21542)
* update meson to 0.60.1

* add port vcpkg-tool-meson for consistency deprecate usage of tool-meson

* [skip actions] make every port using meson depend on vcpkg-tool-meson
(except pkgconf for now.)

* fix subtle bugs in vcpkg_find_acquire_program
make the port install meson if the system does not provide it.

* make pkgconf depend on meson

* restore old vcpkg_find_acquire_program behavior for versioning

* Update ports/gstreamer/vcpkg.json

remove duplicated dependency

* remove invalid option in glib

* [skip actions] fix ci failures?

* remove invalid option in gstreamer

* try without cmake

* get more logs from meson configure.

* update glib to 2.70.1

* fix typo

* fix pc file of flac

* update meson to 0.60.2

* try the patch from the other pr.

* patch meson .....

* version stuff

* fix port version

* fix gstreamer version

* remove version

* format-manifest

* version stuff

* format manifest again

* revert version stuff

* remove outdated gtk options

* version stuff

* pango version stuff

* correct baseline lost in merge

* Fix fontconfig version db

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2021-12-02 15:48:34 -08:00
JonLiu1993
1cb7c21fe3
[Mesa] update to 21.2.0 (#19612)
* [Mesa] update to 21.2.0

* update verison
2021-08-30 10:28:34 -07:00
Phoebe
9b545e20a0
[mesa] Update to 21.1.6 (#18495)
* [mesa] Update to 21.1.2

* Update to 21.1.5

* Update to 21.1.6

* Update the baseline version
2021-08-11 19:39:38 -07:00
Yury Bura
c482408411
[llvm] update to 12.0.0, enable zlib and libxml2 (#17302)
* [llvm] update to 12.0.0, enable zlib and libxml2

* [llvm] disable libxml2 by default, arm64-windows should be supported

* [llvm] try to fix build with ffi on Windows #17663

* [llvm] re-enable libxml2

* [llvm] fix formatting

* [llvm] overwrite version

* [mesa] update to v21.1.0

* [llvm] update ci.baseline

* [halide] update to the latest master commit

* [llvm] disable libxml2 port until complete PR #15390

* update versions

* [llvm] fix disabling of external libraries

* update version

* update ci.baseline

* update ci.baseline

* fix typo

* [llvm] fix libxml2 (depends on #17945)

* revert "[halide] update to the latest master commit"

* update versions

* [halide] fix zlib dependency for tools

* update versions

* [halide] update to official release v12.0.0

* update versions

* [halide] update to v12.0.1

* update version

* [mesa] remove llvm from defaults

* update version

* update ci.baseline

* [mesa] update to v21.1.2 and fix build with LLVM on Windows

* [llvm] allow to build libunwind project on Windows

* update versions

* [mesa] update ci.baseline.txt to disable x64-windows-static-md, may be fixed in the PR #18495
2021-06-29 16:08:28 -07:00
NancyLi1013
f05b2b639a
[vcpkg baseline] [mesa] Fix conflicts with angle (#15729)
* [mesa] Remove libs conflicted with angle

* Update port_versions check

* Use gles-lib-suffix to avoid conflicts with angle

* [mesa] Remove libs conflicted with angle

* Update port_versions check

* Use gles-lib-suffix to avoid conflicts with angle

* Update port_versions/m-/mesa.json

* Update ports/mesa/portfile.cmake

* Update space and versions

* Update versions/m-/mesa.json
2021-01-22 10:27:34 -08:00
nicole mazzuca
68a74950d0
[vcpkg] Rename port_versions to versions (#15784) 2021-01-21 09:53:22 -08:00