Commit Graph

2194 Commits

Author SHA1 Message Date
Max Khon
2e4c6df44c
[vcpkg_execute_*_process] Add support for build profiling (#22676)
Use --x-cmake-args=-DX_PORT_PROFILE=TRUE to enable port build profiling
2022-06-10 10:56:44 -07:00
Buck Yeh
45f26a1bf1
[buck-yeh-bux-sqlite] New port (#25144)
* [bux] Add new port

* Corrections according to Create Pull Request suggested questions

* SHA512

* Mark fails into .\scripts\ci.baseline.txt

* Mark fails into .\scripts\ci.baseline.txt

* No need of "port-version": 1 in vcpkg.json

* Update version database

* Update ports/bux/portfile.cmake

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* Update ports/bux/portfile.cmake

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* Update ports/bux/portfile.cmake

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* Update ports/bux/vcpkg.json

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* Update bux.json

* Update ports/bux/vcpkg.json

* update version

* Update scripts/ci.baseline.txt

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* update bux support

* update version

* update version

* Rename bux to buck-yeh-bux

* Update version database

* [buck-yeh-bux] upgrade to v1.5.0

1. [New] `bux::C_ParaLog` is ready for a variety of parallel logging configurations, filtered or unfiltered.
2. [New] Necessary helper classes for implementation _s.t_ logger users no longer need to declare child source instances explicitly.
3. [New] Add methods to `ParaLog.h` & `SyncLog.h` to support testability.
4. [New] Add unit test cases to `ParaLog.h` & `SyncLog.h` (test_paralog & test_logger)
5. [New] Update what are found in `test/` to `test/archlinux/aur_poc/`
6. [Bug] `std::uniform_int_distribution<unsigned char>` no longer allowed.
7. [Change] `CUR_FUNC_` for Windows (MSVC)
8. [Change] `tbb` is no longer implicitly needed by C++ standard library.
9. [Change] `smoke_filtlog.cpp` verifies 2-level log filters ok.

* Missing comma in versions/b-/buck-yeh-bux.json

* buck-yeh-bux 1.6.0

* Corrections made according to NancyLi1013's requests in PR #20813

* Fix SHA key in versions/b-/buck-yeh-bux.json

* Update to buxk-yeh-bux v1.6.2

* [buck-yeh-bux-mariadb-client] The first release

* Add dependency to libmariadb

* Inccorect git-tree value in versions/b-/buck-yeh-bux-mariadb-client.json

* linux build is enabled

* [buck-yeh-bux] Upgrade to 1.6.3 to allow u64-linux

* linux build is disabled again for not recognizing C++20 header <concpts> yet

* Mark vcpkg.json to support Linux but ci.baseline.txt to fail the CI build

* Repair buck-buck-yeh-bux in version database.

* [buck-yeh-bux] Upgrade to 1.6.5

* [buck-yeh-bux] Upgrade to 1.6.5

* Add "license" field

* Correction nade by `./vcpkg format-manifest ports/buck-yeh-bux/vcpkg.json`

* Update according to `git rev-parse HEAD:ports/buck-yeh-bux`

* [buck-yeh-bux-mariadb-client] Upgrade to 1.0.3

* [buck-yeh-bux-sqlite] New port

* `vcpkg.json`/"supports" changed to "!(arm | uwp | osx | linux)" for all my ports

And remove the corresponding lines from `ci.baseline.txt`

* Update "port-version" & "git-tree"

* Update "port-version"

* Update "git-tree" but revert "port-version"

* Update ports/buck-yeh-bux-mariadb-client/vcpkg.json

Co-authored-by: Cheney Wang <38240633+Cheney-W@users.noreply.github.com>

* Update ports/buck-yeh-bux/vcpkg.json

Co-authored-by: Cheney Wang <38240633+Cheney-W@users.noreply.github.com>

* Run `./vcpkg x-add-version ...` to update port-version

* Update buck-yeh-bux-mariadb-client.json

* Update buck-yeh-bux.json

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
Co-authored-by: Jonliu1993 <13720414433@163.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Co-authored-by: Cheney Wang <38240633+Cheney-W@users.noreply.github.com>
2022-06-10 10:22:57 -07:00
LilyWangLL
bde216bf73
[opencv4, opencv3, opencv2] Add feature dc1394 (#24595)
* [opencv4, opencv3] Add feature dc1394

* version

* opencv2 add feature

* version

* update opencv

* x-add-version

* update version

* update test ports

Co-authored-by: Lily Wang <v-lilywang@microsoft.com>
2022-06-09 20:11:05 -07:00
Ryan
a6f4a954bf
[xbyak] Update to 6.60 (#25152)
* update to 6.60

* add license field

* use path from cmakelists, not the port name (which aren't necessarily the same)

* fail cases are already listed in the supports field

* add versions
2022-06-09 05:24:05 -07:00
Robert Schumacher
7d2449c346
[docs] Delete embedded documentation in favor of docs/ (#25096)
* [docs] Delete embedded documentation in favor of docs/

Drive-by for the helper ports:
1. "documentation": "https://vcpkg.io/en/docs/README.html"
2. "license": "MIT"
3. Use `include_guard(GLOBAL)` in all script files
4. Make sure any persistent variables are saved to the cache

* [docs] Restore empty regenerate.ps1 to satisfy Azure Pipelines

* [docs] PR comments
2022-06-07 16:26:51 -07:00
LilyWangLL
c379c64ff9
[crashpad] Fix can't find build/build_config.h (#25106)
* [crashpad] Fix can't find build/build_config.h

* x-add-version

* remove crashpad:x64-linux=fail form ci.baseline.txt

Co-authored-by: Lily Wang <v-lilywang@microsoft.com>
2022-06-07 13:57:51 -07:00
Robert Schumacher
203f5f3bef
[ci.baseline.txt] Updates for CI 20220604.1 (#25099) 2022-06-06 15:43:17 -07:00
Zac Walker
d090b933e9
[getopt-win32] ARM64 support (#24963)
* [getopt-win32] ARM64 support

* retrigger checks

* updated git-tree sha

* Specify ports that do not support ARM but were enabled by getopt-win32 adding support.

* Upated SHA's

* Update ports/getopt-win32/portfile.cmake

Formatting indentation fix.

Co-authored-by: Mengna Li <95600143+Adela0814@users.noreply.github.com>

* Formatting indentation fix.

* Update version database

* [getopt-win32] Use CMake

* Updating versions

Co-authored-by: Mengna Li <95600143+Adela0814@users.noreply.github.com>
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2022-06-03 15:13:55 -07:00
Cheney Wang
3c0366e161
[angle] Enable angle test in CI (#24997)
Co-authored-by: Cheney-Wang <v-xincwa@microsoft.com>
2022-06-02 13:37:58 -07:00
Robert Schumacher
c48c0c05bd
[ci.baseline.txt] Revert #24959 because ICE still exists (#25029) 2022-06-01 13:42:40 -07:00
Kai Pastor
d953973cfb
[libpq] Cleanup dependencies, features and autotools patches (#24941)
* Consolidate autotools patches with pkg-config

Fixes mingw builds.

* No msbuild limitations for mingw

* Implement readline support

* Remove features which never built

* Bonjour support is osx only

* Move remaining support checks to manifest

* Remove libpq uwp fail from ci baseline

* Update versions
2022-05-27 17:03:32 -07:00
LilyWangLL
e42e5115f6
[rsocket] Remove from ci.baseline.txt (#24959)
Co-authored-by: Lily Wang <v-lilywang@microsoft.com>
2022-05-27 13:24:51 -07:00
talregev
efabd21702
[sdformat9] Add linux to supports (#24855) 2022-05-25 12:24:02 -07:00
LilyWangLL
93b38546e2
[kinectsdk1][kinectsdk2] Add Config.cmake.in (#24877)
* [kinectsdk1, kinectsdk2] Add Config.cmake.in

* change version-string to version

* x-add-version

* update supports

* x-add-version

* [kinectsdk1][kinectsdk2] Switch to lessmsi

Co-authored-by: Lily Wang <v-lilywang@microsoft.com>
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2022-05-24 16:21:09 -07:00
SunBlack
6a66e95caa
[vcpkg.cmake][ports.cmake] Prefer STREQUAL over MATCHES (#23014)
Co-authored-by: Heiko Thiel <heiko.thiel@hpi.de>
2022-05-24 12:11:39 -07:00
Billy O'Neal
4c82b77b45
Add the ability to do full rebuilds with updated copies of vcpkg-tool. (#24611)
* Add the ability to do full rebuilds with updated copies of vcpkg-tool.

Resurrection of https://github.com/microsoft/vcpkg/pull/23753/

* Extract all scripts out of inline blocks.

* Replicate all changes to the "unstable" testing.

* Fix bootstrap :)

* Fix version files validation path.

* Malformed.

* Paths and permissions.

* Fixed file name typo

* Update scripts/azure-pipelines/bootstrap-from-source.sh

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2022-05-23 13:33:58 -07:00
Kai Pastor
f20c7bf05b
[vcpkg-configure-make] Fix include path prepending (#24823)
* Fix include path prepending

* Update DISABLE_VERBOSE_FLAGS documentation

Co-authored-by: Thomas1664 <46387399+Thomas1664@users.noreply.github.com>

Co-authored-by: Thomas1664 <46387399+Thomas1664@users.noreply.github.com>
2022-05-20 14:41:10 -07:00
Billy O'Neal
338c94d342
Move Azure Compute to eastasia (#24821)
* Move to eastasia, and use smaller machine to mint images.

* Update pools.

* Switch storage accounts to eastasia
2022-05-20 13:42:58 -07:00
Kai Pastor
7e3dcf74e3
Fix vcpkg_host_path and its unit test (#24808)
* Fix vcpkg_host_path unit test

* Fix unit test variable control

* Enable all test features by default

* Fix recognition of PREPEND

* CMake doesn't set env vars to empty value

* Remove pointless STATUS message
2022-05-19 19:47:05 -07:00
Alexander Neumann
8da5d2b450
[OpenJPEG] Update to 2.5.0 (#24734)
* update openjpeg

* update openjpeg

* add arm patch and license

* reduce to version

* update db

* fix fastcgi to always use make

* remove from baseline

* openjpeg add tools feature

* vdb

* add supports statement. fastcgi uses stuff which only is allowed in desktop apps.

* format manfiest

* ver db

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2022-05-19 14:43:34 -07:00
Alexander Neumann
7ca918af71
dont change line endings on download (#24785) 2022-05-19 14:15:47 -07:00
Billy O'Neal
c1b768b0d6
Add vcpkg_from_*** and ${PORT} usage improvements to the vcpkg create templates. (#24763)
* Add vcpkg_from_*** and ${PORT} usage improvements to the `vcpkg create` templates.

* Also add some more quotes.

* Back out quotes to vcpkg_cmake_config_fixup as suggested by @JackBoosY
2022-05-18 02:26:19 -07:00
Bill Avery
2247b397fa
[pegtl] Update to 3.2.6 for MSVC and GCC fixes (#24761)
* [pegtl] Update to 3.2.6 for compiler fixes

* vcpkg x-add-version --all

* Remove cppgraphqlgen from baseline, as suggested in https://github.com/microsoft/vcpkg/pull/24761#issuecomment-1129414611

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2022-05-17 17:25:56 -07:00
Kai Pastor
8d59cb32d2
[liblzma] Update wrapper, add feature tools (#24708)
* Fix liblzma wrapper for older CMake

* Add feature for tools

* Update versions

* Test find_package(... REQUIRED)
2022-05-17 16:53:40 -07:00
Billy O'Neal
22b4033861
Update VMs for Patch Tuesday May 2022 (#24695)
* Install Ubuntu nasm package rather than building from source; 2.14 which is available in Ubuntu 20.04 is sufficient for intel-ipsec.

* Add cmake and ninja.

* Update CUDA signing key.

* Update pwsh to 7.2.3

* Remove clean downloads step obsoleted since we ripped out pacman.

* Note that haskell-stack is for bond.

* Cherry pick from https://github.com/microsoft/vcpkg/pull/23569 : add cuda-nvml-dev-11-6

* Update pools.

* Baseline updates

PASSING, REMOVE FROM FAIL LIST: mesa:x64-windows-static-md (C:\a\2\s\scripts\azure-pipelines/../ci.baseline.txt).

:)

```
REGRESSION: cppgraphqlgen:arm64-windows failed with BUILD_FAILED. If expected, add cppgraphqlgen:arm64-windows=fail to C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt.
REGRESSION: cppgraphqlgen:x64-windows failed with BUILD_FAILED. If expected, add cppgraphqlgen:x64-windows=fail to C:\a\2\s\scripts\azure-pipelines/../ci.baseline.txt.
REGRESSION: cppgraphqlgen:x64-windows-static failed with BUILD_FAILED. If expected, add cppgraphqlgen:x64-windows-static=fail to C:\a\2\s\scripts\azure-pipelines/../ci.baseline.txt.
REGRESSION: cppgraphqlgen:x64-windows-static-md failed with BUILD_FAILED. If expected, add cppgraphqlgen:x64-windows-static-md=fail to C:\a\2\s\scripts\azure-pipelines/../ci.baseline.txt.
REGRESSION: cppgraphqlgen:x86-windows failed with BUILD_FAILED. If expected, add cppgraphqlgen:x86-windows=fail to C:\a\2\s\scripts\azure-pipelines/../ci.baseline.txt.
```

This is a compiler behavior change or bug in VS 2022 16.2:

```
C:\PROGRA~1\MICROS~1\2022\ENTERP~1\VC\Tools\MSVC\1432~1.313\bin\Hostx64\x86\cl.exe   /TP -DGRAPHQL_DLLEXPORTS -DIMPL_GRAPHQLSERVICE_DLL -Dgraphqlservice_EXPORTS -ID:\buildtrees\cppgraphqlgen\src\v4.3.1-9d04ffd723.clean\src\..\include -ID:\buildtrees\cppgraphqlgen\src\v4.3.1-9d04ffd723.clean\src\..\PEGTL\include -external:ID:\installed\x86-windows\include -external:W0 /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP  /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1  -MDd /W4 /WX /permissive- -std:c++20 /showIncludes /Fosrc\CMakeFiles\graphqlservice.dir\GraphQLService.cpp.obj /Fdsrc\CMakeFiles\graphqlservice.dir\ /FS -c D:\buildtrees\cppgraphqlgen\src\v4.3.1-9d04ffd723.clean\src\GraphQLService.cpp
cl : Command line warning D9025 : overriding '/W3' with '/W4'
D:\installed\x86-windows\include\tao\pegtl/demangle.hpp(147): error C2338: static_assert failed: 'internal::dependent_true< T > && ( begin != std::string_view::npos )'
D:\buildtrees\cppgraphqlgen\src\v4.3.1-9d04ffd723.clean\include\graphqlservice/internal/SyntaxTree.h(120): note: see reference to function template instantiation 'std::string_view tao::graphqlpeg::demangle<graphql::peg::variable_value>(void) noexcept' being compiled
D:\buildtrees\cppgraphqlgen\src\v4.3.1-9d04ffd723.clean\include\graphqlservice/internal/SyntaxTree.h(53): note: see reference to function template instantiation 'std::string_view graphql::peg::ast_node::type_name<graphql::peg::variable_value>(void) noexcept' being compiled
D:\buildtrees\cppgraphqlgen\src\v4.3.1-9d04ffd723.clean\src\GraphQLService.cpp(310): note: see reference to function template instantiation 'bool graphql::peg::ast_node::is_type<graphql::peg::variable_value>(void) noexcept const' being compiled
ninja: build stopped: subcommand failed.
```

This is a compiler behavior change in 17.2. @wravery do you have comments?

```
REGRESSION: qtwebengine:x64-windows failed with BUILD_FAILED. If expected, add qtwebengine:x64-windows=fail to C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt.
REGRESSION: qtwebengine:x64-windows failed with BUILD_FAILED. If expected, add qtwebengine:x64-windows=fail to C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt.
REGRESSION: qtwebengine:x64-windows failed with BUILD_FAILED. If expected, add qtwebengine:x64-windows=fail to C:\a\2\s\scripts\azure-pipelines/../ci.baseline.txt.
REGRESSION: qtwebengine:x64-windows failed with BUILD_FAILED. If expected, add qtwebengine:x64-windows=fail to C:\a\2\s\scripts\azure-pipelines/../ci.baseline.txt.
REGRESSION: qtwebengine:x64-windows failed with BUILD_FAILED. If expected, add qtwebengine:x64-windows=fail to C:\a\2\s\scripts\azure-pipelines/../ci.baseline.txt.
REGRESSION: qtwebengine:x64-windows failed with BUILD_FAILED. If expected, add qtwebengine:x64-windows=fail to C:\a\2\s\scripts\azure-pipelines/../ci.baseline.txt.
REGRESSION: qtwebengine:x64-windows failed with BUILD_FAILED. If expected, add qtwebengine:x64-windows=fail to C:\a\2\s\scripts\azure-pipelines/../ci.baseline.txt.
```

qtwebengine doesn't report logs, but I'm pretty sure it's this ICE: https://developercommunity.visualstudio.com/t/Visual-Studio-2022-v1720-reports-fata/10039296 @Neumann-A

```
REGRESSION: rsocket:x64-windows failed with BUILD_FAILED. If expected, add rsocket:x64-windows=fail to C:\a\2\s\scripts\azure-pipelines/../ci.baseline.txt.
REGRESSION: rsocket:x64-windows-static failed with BUILD_FAILED. If expected, add rsocket:x64-windows-static=fail to C:\a\2\s\scripts\azure-pipelines/../ci.baseline.txt.
REGRESSION: rsocket:x64-windows-static-md failed with BUILD_FAILED. If expected, add rsocket:x64-windows-static-md=fail to C:\a\2\s\scripts\azure-pipelines/../ci.baseline.txt.
```

ICE :( https://devdiv.visualstudio.com/DefaultCollection/DevDiv/_workitems/edit/1490389

Other changes:
* Removed qt5-webengine skips because they are now skipped by a "supports" clause.
* Removed ctp skips because asset caching exists.

* [stxxl] Guard definition of log2 for current MSVCs.
2022-05-17 13:03:13 -07:00
Robert Kearns
e50057d13f
Exclude .DS_Store, fixing #24700 (#24701) 2022-05-16 12:40:11 -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
Li Zeyang
ccf682927e
[rttr] static compile fix (#23013)
* updated libunifex version

* remove comment

* run x-add-versions --all

* Update ports/libunifex/vcpkg.json

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* rerun x-add-version libunifex

* Update versions/l-/libunifex.json

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* update libunifex to 12-07

* x-add-version

* libunifex port update

force cpp20 as cpp17 build doesn't work with msvc. added a compile fix for externConstexpr and removed warnings with /EHsc

* Update libunifex.json

version update

* Update fix-compile-error.patch

relax clang warnings

* Update libunifex.json

git x-add-version libunifex

* remove unused

* x-add-versions

* remove old version log

* fixed static compile option

* bumped port version

* run x-add-version --all

* Hook up RTTR's actual build settings.

* Add license.

* Remove ci.baseline skips.

* Put ci.baseline.txt skips back with a comment.

* Be less pessimistic in cmake config handling, fix typo, and add indents.

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2022-05-16 11:39:42 -07:00
Billy O'Neal
0e6728a8bf
Build "fixes" 2022-05-13 (#24707)
PASSING, REMOVE FROM FAIL LIST: akali:x64-windows-static-md (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).

Probably fixed by https://github.com/microsoft/vcpkg/pull/24648

REGRESSION: angle:x64-windows-static-md failed with BUILD_FAILED. If expected, add angle:x64-windows-static-md=fail to C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt.
REGRESSION: angle:arm-uwp failed with BUILD_FAILED. If expected, add angle:arm-uwp=fail to C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt.

ICE :( https://devdiv.visualstudio.com/DefaultCollection/DevDiv/_workitems/edit/1472813
2022-05-13 15:47:04 -07:00
Thomas1664
b25a13c578
[freetds, unixodbc] Update (#24279)
* [freetds] Update to 1.3.10

* version

* Add dependence on mysql

* version

* mysql patch

* version

* Add warning for required system libs

* version

* Remove mysql dependence

* version

* Fix supports

* version

* Add mysql dependence

* version

* Add feature tools

* version

* Add dependency on unixodbc

* format

* version

* remove mysql

* version

* Update unixodbc

* version

* remove man

* version

* fix cmake

* version

* test

* fix path

* version

* disable wide characters on UNIX

* add to ci baseline

* version

* don't check for UWP

* version

* remove unixodbc from ci baseline

* Fix deprecated license

* version

* Unsupported on unix

* version
2022-05-13 15:46:37 -07:00
Billy O'Neal
74ff2a0441
[docs] Add catalog release process. (#24647)
* [docs] Add catalog release process.

Also fixes https://github.com/microsoft/vcpkg/issues/23387
Also sorts added and changed ports by port name in the generated release notes
Also makes the formatting more consistent with GitHub's default generated release notes ("by foo, in #bar")

* Fix docs links.

* Add a space for additional PRs for new ports.
2022-05-11 12:18:31 -07:00
Billy O'Neal
14e7bb4ae2
Update vcpkg-tool to 2022-05-05 (#24526)
* Update vcpkg-tool to 2022-05-03

* Remove unused --x-xunit call.

* Actually 2022-05-05
2022-05-10 15:54:52 -07:00
Jack·Boos·Yu
0d7603c4ef
[vcpkg_setup_pkgconfig_path] Add new functions to set or restore pkgconfig related environment variables (#23429)
* [vcpkg_configure_meson] Fix append host path

* New functions vcpkg_setup_pkgconfig_path and vcpkg_restore_pkgconfig_path

* Fix bug, add cos

* Apply suggestions

* Apply suggestions

* Apply suggestion

* doc

* Update docs/maintainers/vcpkg_setup_pkgconfig_path.cmake.md

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

* Update scripts/cmake/vcpkg_setup_pkgconfig_path.cmake

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

* Update scripts/cmake/vcpkg_configure_make.cmake

* Apply suggestions

* Apply suggestion

* Apply suggestions

Co-authored-by: Victor Romero <viromer@microsoft.com>
Co-authored-by: LilyWangLL <94091114+LilyWangLL@users.noreply.github.com>
2022-05-09 17:23:32 -07:00
Alexander Neumann
83fc3b74c9
[vcpkg-tool-ninja] Add only the ninja port (#23911)
* [vcpkg-tool-ninja] add ninja tool as a port

* version stuff

* add Unix Makefiles to list of valid generators for bootstraping ninja

* nicole CRs

* update version db

* revert vcpkg_build_cmake changes

* retrigger ci

* download patch

* version stuff

* Remove checked in diff copy.

Co-authored-by: Alexander Neumann <you@example.com>
Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2022-05-09 14:00:29 -07:00
Alexander Neumann
f7866c66d2
[vcpkg-cmake|cmake buildsystem] synchronize and sanitize scripts. (#23259)
* synchronize cmake build scripts.

* version stuff

* fix REMOVE_ITEM and add license

* format manifest

* update version

* use LOGFILE_BASE

* version update

* readd PREFER_NINJA and print a warning that it is deprecated for vcpkg_cmake_configure

* version stuff

* sync build_cmake

* only turn off ninja on windows

* add Z_VCPKG_CHAINLOAD_TOOLCHAIN_FILE

* use z_vcpkg_select_default_vcpkg_chainload_toolchain in meson

* remove VCPKG_CMAKE_GENERATOR

* version stuff

* reduce error to warning

* remove VCPKG_CMAKE_GENERATOR form configure_cmake

* version stuff

* version stuff

* use build_dir_<config>

* version stuff

* use ninja variable insead of pure ninja cmd

* version bump

* use ninja variable instead of calling ninja directly

* acquire ninja

* move the acquire.

* remove setting of cmake_prefix_path

* version stuff

* bump version date

* version stuff

* bump ashes baseline

* remove VCPKG_CMAKE_GENERATOR reference

* fix wrong variable reference due to refactor

* version stuff

Co-authored-by: Alexander Neumann <you@example.com>
Co-authored-by: Billy Robert O'Neal <bion@microsoft.com>
2022-05-06 15:12:11 -07:00
kromych
47cbed8851
Fix building LuaJIT on Linux (#24498)
* Fix building LuaJIT on Linux

* Update version metadata

* Fix remaining ci.baseline.txt entries:

luajit:arm64-windows: Left as "skip": The problem is that the batch files used to build here want to run a binary they built which fails, but there's no good way to say "I can run the results" in our platform expressions right now
luajit:arm64-uwp / luajit:arm-uwp: These are already stopped by the platform expression.
luajit:x64-osx: I don't know if this works yet but we should try.

* Block osx with a "supports".

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2022-05-05 16:01:10 -07:00
Alexander Neumann
0e11392612
[openblas] update to 0.3.20 (#24546)
* update openblas

* verison stuff

* Remove ci.baseline.txt entries obsoleted by "supports" expression.

Co-authored-by: Alexander Neumann <you@example.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2022-05-05 15:42:20 -07:00
Frank
9828380e98
update hash (#24544) 2022-05-05 13:36:46 -07:00
Leonid Pospelov
4b766c1cd1
Update vcpkg.cmake (#24479) 2022-05-04 19:37:37 -07:00
Kai Pastor
5219a7a12f
[wxwidgets] CMake re-run must not change libs (#24499)
* Test that CMake re-run doesn't change wxWidget libs

* Reset wxWidgets_USE_REL_AND_DBG

* Update versions
2022-05-04 19:07:23 -07:00
Alexander Neumann
ea31629cde
[qtwebengine] Fix VS2022 ICE (#24532)
* qtwebengine ice fix

* move CURRENT_BUILDTREES_DIR only if necessary

* version stuff

* create tmp dir.

* version update

Co-authored-by: Alexander Neumann <you@example.com>
2022-05-04 16:09:42 -07:00
Billy O'Neal
d5bb8c1541
Build Fixes 2022-05-01 (#24497)
Discovered in https://dev.azure.com/vcpkg/public/_build/results?buildId=71530

PASSING, REMOVE FROM FAIL LIST: blosc:arm64-windows (C:\a\2\s\scripts\azure-pipelines/../ci.baseline.txt).
PASSING, REMOVE FROM FAIL LIST: corrade:arm-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).
PASSING, REMOVE FROM FAIL LIST: corrade:x64-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).
PASSING, REMOVE FROM FAIL LIST: libhydrogen:arm64-windows (C:\a\2\s\scripts\azure-pipelines/../ci.baseline.txt).

REGRESSION: sundials:x64-osx failed with BUILD_FAILED. If expected, add sundials:x64-osx=fail to /Users/vagrant/Data/work/2/s/scripts/azure-pipelines/../ci.baseline.txt.

File does not have the expected hash:
             url : [ https://github.com/LLNL/sundials/archive/v5.8.0.tar.gz ]
       File path : [ /Users/vagrant/Data/downloads/LLNL-sundials-v5.8.0.tar.gz.98418.part ]
   Expected hash : [ 30f6a7bddf813634e4266c36331673b52448b719f938f45a4efb6a96cfbeea4fe168fdded89309672b148f8ef8bc05997d838627e828573900ec169a41472372 ]
     Actual hash : [ 0b11db1b944cfce4672954aceeec3f21253b4f684031f26b8bc0a8b3b12d895e604456bd1f283767812352eb5a9202c5797f612410f654f561ca5565d719bcae ]

REGRESSION: brunocodutra-metal:x64-linux failed with BUILD_FAILED. If expected, add brunocodutra-metal:x64-linux=fail to /agent/_work/1/s/scripts/azure-pipelines/../ci.baseline.txt.

This was another download failure but may as well update.

REGRESSION: plplot:x64-linux failed with BUILD_FAILED. If expected, add plplot:x64-linux=fail to /agent/_work/1/s/scripts/azure-pipelines/../ci.baseline.txt.

This was another download failure with every SourceForge mirror giving a different hash O_O. I tried to do an update but it's ... involved for this library so I've separated it.
2022-05-04 15:09:15 -07:00
Jack·Boos·Yu
f30786c9c4
[vcpkg toolchain] Fix paths with special characters (#24463)
* [vcpkg toolchain] Fix paths with special characters

* fix

* Use VERBATIM instead of double quotes
2022-05-02 11:56:24 -07:00
Billy O'Neal
c8a56fdc15
[libvpx,lmdb,aubio,freetype-gl,intelrdfpmathlib,libbson,libtcod,metis,pqp,smpeg2] Build fixes 2022-04-28 (#24470)
* [libvpx,lmdb,aubio,freetype-gl,intelrdfpmathlib,libbson,libtcod,metis,pqp,smpeg2] Build fixes 2022-04-28

These results are from the most recent CI run: https://dev.azure.com/vcpkg/public/_build/results?buildId=71465

PASSING, REMOVE FROM FAIL LIST: aubio:x64-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).

I also did some investigation as to why aubio:arm-uwp didn't pass. Turns out, it's because aubio depends on ffmpeg, which failed to build because it depends on libvpx, which we never fixed for UWP following the VS2022 update. See also https://developercommunity.visualstudio.com/t/MicrosoftVisualStudioComponentVCTool/10002207?space=62&scope=follow&sort=newest

PASSING, REMOVE FROM FAIL LIST: freetype-gl:x64-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).

I also checked freetype-gl:arm-uwp, but it's blocked by glew which is blocked by opengl which appears to not be a thing on arm.

PASSING, REMOVE FROM FAIL LIST: intelrdfpmathlib:x64-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).

The arm-uwp version of this emits errors that look like source issues; I blocked arm&windows with a supports expression:
D:\buildtrees\intelrdfpmathlib\src\athLib20U2-d2a8954428.clean\LIBRARY\src\bid_functions.h(3113): error C2719: 'x': formal parameter with requested alignment of 16 won't be aligned

PASSING, REMOVE FROM FAIL LIST: libbson:arm-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).
PASSING, REMOVE FROM FAIL LIST: libbson:x64-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).
PASSING, REMOVE FROM FAIL LIST: libtcod:arm-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).
PASSING, REMOVE FROM FAIL LIST: libtcod:x64-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).
PASSING, REMOVE FROM FAIL LIST: lmdb:x64-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).

arm-uwp failed with again what looks like a source issue:
mdb.c.obj : error LNK2001: unresolved external symbol __tls_used
mdb.c.obj : error LNK2001: unresolved external symbol _mdb_tls_cbp

PASSING, REMOVE FROM FAIL LIST: metis:arm-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).
PASSING, REMOVE FROM FAIL LIST: metis:x64-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).
PASSING, REMOVE FROM FAIL LIST: pqp:arm-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).
PASSING, REMOVE FROM FAIL LIST: pqp:x64-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).
PASSING, REMOVE FROM FAIL LIST: smpeg2:arm-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).
PASSING, REMOVE FROM FAIL LIST: smpeg2:x64-uwp (C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt).

I also checked Linux and it says
  Could NOT find ibverbs (missing: IBVERBS_INCLUDE_DIRS IBVERBS_LIBRARIES)
which may be vcpkg's fault so I left that ci.baseline.txt skip alone.

REGRESSION: jansson:arm-uwp failed with POST_BUILD_CHECKS_FAILED. If expected, add jansson:arm-uwp=fail to C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt.
REGRESSION: jansson:x64-uwp failed with POST_BUILD_CHECKS_FAILED. If expected, add jansson:x64-uwp=fail to C:\a\1\s\scripts\azure-pipelines/../ci.baseline.txt.

Already fixed by https://github.com/microsoft/vcpkg/pull/24466

* dos2unix the patch

* :dos2unix the other patches too
2022-04-29 21:27:24 -07:00
Daniel Schürmann
8ca9b2b84c
[wavpack] arm support (#21790)
* [osx] set CMAKE_SYSTEM_PROCESSOR from VCPKG_TARGET_ARCHITECTURE on osx

* [linux] Set CMAKE_ASM_COMPILER and CMAKE_ASM-ATT_COMPILER in case of crosscompile

* [wavpack] migrate to vcpkg_cmake_install

* [wavpack] enable arm builds

* [wavpack] Add  license field to vcpkg.json

* [OSX] don't default to 86_64
2022-04-29 11:42:37 -07:00
nicole mazzuca
9ccd693f1b
[toolchain windows] set CMAKE_SYSTEM_PROCESSOR (#24100)
* [toolchain windows] set CMAKE_SYSTEM_NAME and CMAKE_SYSTEM_PROCESSOR

In specific, I did this for the cpuinfo PR - I realized the reason
that cpuinfo doesn't support arm64 windows cross compilation is because
we don't set CMAKE_SYSTEM_PROCESSOR.

* correctly set CMAKE_CROSSCOMPILING

* start fixin libraries

* more changes:

- gainput: remove line
- glog: remove try_run when cross compiling
- windows.cmake: set CMAKE_SYSTEM_VERSION

* more patches

- mapnik: set BOOST_REGEX_HAS_ICU to avoid check_cxx_source_runs
- orc: set HAS_PRE_1970 and HAS_POST_2038 for same
- seal: change out check_cxx_source_runs for check_cxx_source_compiles

* more changes

* fix x86-windows

* fix qpid-proton, glog

* build corrade-rc

* fix x64-uwp ports

* forgot to _actually_ always build corrade-rc .,.

* Replay #22831

* Dedupe CMAKE_SYSTEM_NAME settings.

* Add quotes for corrade_rc_param

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>

* Update version DB.

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
2022-04-29 11:40:30 -07:00
Alexander Neumann
05c93c5c5a
[Fix uwp toolchain|world rebuild] make ninja work for uwp (#22831) 2022-04-27 18:12:48 -07:00
Benjamin Oldenburg
ce910bb87b
[skia,crashpad,zeroc-ice,vcpkg-tool-gn] New vcpkg-tool-gn and update of several ports (#24066) 2022-04-25 15:39:10 -07:00
autoantwort
ecc57a5c4d
[msix] add support expression (#24228) 2022-04-22 09:00:19 -07:00
autoantwort
8ea52bad1a
[opentracing] no tests (#24234) 2022-04-21 10:02:47 -07:00