Commit Graph

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
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
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
NancyLi1013
29501ce464
[embree3] Fix usage in static build (#13182) 2020-08-28 15:37:42 -07:00
Regen
c7a2f021f2
[embree3] Update to 3.11.0 (#12555)
* Update embree to 3.11.0

* Update portfile.cmake

Remove unused function include(vcpkg_common_functions)

* Update ports/embree3/portfile.cmake

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
Co-authored-by: NancyLi1013 <lirui09@beyondsoft.com>
2020-08-09 13:16:00 -07:00
Robert Schumacher
08c951fef9
[many ports] Upgrades to 2020.02.08 (#9986)
* [many ports] Upgrades to 2020.02.08

* Undo asio asmjit libimobiledevice mlpack mongo-c-driver oniguruma openmvg openvdb pcl

* Update ci baseline file

Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>
2020-02-10 16:08:57 -08:00
Fabio Pellacini
bf3e071e53 [embree3] added cleanup command for static build (#9555)
* 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>
2020-01-16 22:56:33 -08:00
Fabio Pellacini
8711ceb3c1 Updated Embree to version 3.6.1 (#9073) 2019-12-23 15:34:25 -08:00
Victor Romero
585b9272d4
Merge pull request #8591 from AlvinZhangH/dev/alvin/8531
[embree3]Fix EMBREE_ROOT_DIR path setting,EMBREE_LIBRARY Debug/Release path setting.
2019-10-15 21:55:32 -07:00
JackBoosY
91a3d16725 [embree3]Fix generated cmake files path. 2019-10-15 01:28:13 -07:00
AlvinZhangH
14fa259ebf [embree3]Change EMBREE_ROOT_DIR path setting, EMBREE_LIBRARY Debug/Release path setting, Update version. 2019-10-14 16:01:41 +08:00
JackBoosY
d7e0ee44a3 [embree3]Fix static build and cmake path. (#8192)
* [embree3]Fix static build and cmake path.
* [embree3]Use file INSTALL instead of copy/rename.
2019-09-16 13:15:56 -07:00
Lily
d941bb553a [embree3] Fix install path (#7767) 2019-08-20 14:55:51 -07:00
Robert Schumacher
33af90d42a
[many ports] Updates 2019.05.19 (#6524) 2019-05-21 21:00:24 -07:00
Cheney Wang
e23e54ae4b [embree3] Disable parallel configure due to writes to source directory (#6096) 2019-04-15 04:47:54 -07:00
Robert Schumacher
4d414cad14 [embree2][embree3] Fix license deployment location 2018-08-15 08:56:33 -07:00
Christophe Delacourt
e5616ee74d [embree] Update embree to 3.2.0 (#4065)
* Update embree to 3.2.0

* [embree] Use vcpkg_from_github()

* [embree2][embree3] Split embree
2018-08-13 15:36:55 -07:00