Commit Graph

8 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
Jack·Boos·Yu
738720268b
[libyaml] Export the pkgconfig files (#21829)
* [libyaml] Export the pkgconfig files

* version

* Fix cmake config file path

* version
2021-12-06 20:38:26 -08:00
Lily
bfc0f48833
[libyaml/sqlpp11/xeus/uvatlas/xxhash] Update to the latest version (#13657)
* [many ports] Update to the latest version

* [xeus] Fix static build

* [usd] Revert change

* [xeus] Fix build error

* [sqlpp11] Update latest version

* [libyaml] Fix build error on Linux

* [sqlpp11] Fix build error
2020-09-27 17:33:19 -07:00
Alexandro Sanchez
84041ca52a
[libyaml] Fix linkage in non-Windows systems (#10908)
Signed-off-by: Alexandro Sanchez <alexandro@phi.nz>
2020-04-21 13:19:48 -07:00
Silvio Traversaro
0053942ee5 [libyaml] Fix CMake package and CMake targets (#8177) 2019-09-16 12:58:05 -07:00
wangli28
d7aa6f17b3 [libyaml] Fix build error (#7277) 2019-07-18 00:07:09 -07:00
Robert Schumacher
3fadafface
[many ports] Updates 2019.05.24 (#6618)
* [many ports] Updates 2019.05.24

* Update SHA512 and resolve conflict for ebml and matroska

* [avro-c]Fix build error caused by jansson upgrades.

* [xxhash]Update to the next version to fix build error.(xxhash issue:#179)

* Fix failures and undo asio

* [libyaml, grpc, miniz, paho-mqtt, sqlitecpp] Update patches

* Update REF

* Undo nvtt flann itk libtins aws-sdk-cpp openvdb vlpp xmsh changes

* [flann, fastcdr] Fix old patches and build error.

* [flann, fastcdr] Fix build error.

* Fix ensmallen uvatlas cppcms libplist failures and undo aws-c-common libopusenc arb taglib changes

* [dcmtk, draco, flatbuffers, forge, ftgl, mosquitto,nmslib, ogre] Update old patches and fix build error.

* fix libusbmuxd failures and undo xxhash paho-mqtt mongo-c-driver flann libffi

* fix libimobiledevice and undo qhull harfbuzz lcm libbson draco flatbuffers

* undo libmupdf forge kd-soap qca

* [mosquitto] Fix installation of import libs

* [arb][asio][aws-c-common][collada-dom][concurrentqueue][cryptopp][ebml] Revert trivial/undesired changes

* [fastcdr] Minimize patch

* [many ports] Revert trivial changes

* [libyaml] Switch to non-dist tag

* [sqlite-modern-cpp] Track master due to infrequent release

* [nano-signal-slot] Revert downgrade

* [openvpn3] Bump control version to account for portfile change

* [sqlite-modern-cpp] Fixup wrong hash

* [mosquitto] Commit missing patch
2019-06-10 17:01:54 -07:00
Neil McNeight
82eb85df41 [libyaml] Add new port for libyaml v0.2.1 (#4484)
* [libyaml] Add new port for libyaml v0.2.1

* [libyaml] Cleanup
2018-10-17 11:46:46 -07:00