11 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
Andréa Machizaud
92eb70e1d6
[embree3] Remove explicit ISA selection and expose more project options as features (#35929)
<!-- If your PR fixes issues, please note that here by adding "Fixes
#NNNNNN." for each fixed issue on separate lines. -->

<!-- If you are still working on the PR, open it as a Draft:
https://github.blog/2019-02-14-introducing-draft-pull-requests/ -->

If this PR updates an existing port, please uncomment and fill out this
checklist:

- [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-03-07 10:02:46 -08:00
autoantwort
6fe40ca767
[embree3] does supports arm64-osx (#30548) 2023-04-04 16:32:58 -07:00
Long Huan
3004382fdf
[embree3] fix Unknown CMake command find_dependency (#29381)
* fix Unknown CMake command find_dependency

* x-add-version
2023-02-02 16:53:13 -08:00
Alexander Neumann
e70004e830
[embree3] Update embree to 3.13.5 (#29239)
* [embree3] update to 3.13.5

* v db
2023-01-30 17:13:00 -08:00
Cheney Wang
5f82fa45df
[baseline][embree3] Add supports !arm (#27007) 2022-09-27 16:17:12 -07:00
NancyLi1013
482149c68b
[embree3] Fix target files cannot be found (#18146)
* [embree3] Fix target files cannot be found

* Update version files
2021-06-01 11:07:16 -07:00
Jack·Boos·Yu
c99dc50be9
[vcpkg baseline][many ports] Fix build error (#17983)
* [vcpkg baseline][wxwidgets] Fix build error

* [mlpack] Fix configure error (upstream bug)

* [vcpkg baseline] [embree2/embree3] Set cmake policy

* Remove control file

* Update baseline version

* [mlpack] Re-write the dependency

* [mlpack] Remove dependency boost-test since only feature test need it, add more boost dependencies.

* [mlpack] Add dependency boost-heap

* [mlpack] Fix uwp build

* update version record

* [mlpack] Revert uwp fix

* update version record

* [mlpack] Remove dependency boost-test

* update version record

* update baseline

* [clamav] Update hash

* update version record

Co-authored-by: PhoebeHui <20694052+PhoebeHui@users.noreply.github.com>
2021-05-19 14:05:43 -07:00
Jack·Boos·Yu
eff6f06b3e
[embree3] Update to 3.12.2 and add features (#17925)
* [embree3] Update to 3.12.2 and add features

* update version record

* Update ports/embree3/portfile.cmake

* revert patch EOL, add keyword FEATURES

* Update versions/e-/embree3.json
2021-05-18 00:50:59 -07:00
Christoph Neuhauser
1c066931af
Fixed AVX512KNL and AVX512SKX support for embree3. (#17701) 2021-05-13 13:33:17 -07:00
nicole mazzuca
68a74950d0
[vcpkg] Rename port_versions to versions (#15784) 2021-01-21 09:53:22 -08:00