Commit Graph

62 Commits

Author SHA1 Message Date
autoantwort
ddb818c9bc
[llvm] fix feature clang-tools-extra (#30932) 2023-04-18 16:58:38 -07:00
Alexander Neumann
203383666e
[LLVM] update to 15.0.7 (#30510)
* [llvm] Update port to 15.0.1

The patchset is rebased onto llvmorg-15.0.1, with some significant
differences especially around install paths. The NixOS project
appears to be midway through a large change to the install path
mechanics, for the same purpose as this patchset.

When that has landed, it looks like most of these patches can go away.

* [llvm] x-add-version for 15.0.1

* [llvm] Add enable-ios feature flag

This passes straight through to COMPILER_RT_ENABLE_IOS, which is
defaulted to ON in LLVM. This is a problem if your build host
doesn't have the iOS SDK installed, such as on vcpkg CI.

Co-authored-by: Josh Channings <josh@channings.me.uk>
2023-04-11 23:20:09 -07:00
Frank
9cc4d431a0
[vcpkg baseline][llvm] Fix file conflicts for libiomp5md.dll (#30457)
* [vcpkg_baseline][llvm] Fix file conflicts for libiomp5md.dll

* update version

* add llvm

* version

* Correct files

* update version

* lib

* vdb

* fix before install

* version

* fix in end line

* version

* bin not lib

* version

* test patch

* version

* revert intel-mkl and disable libomp on WIN32

* version

* disable create symlink

* version

* Optimization patch

* version

* remove sapce

* version

* patch name

* vdb
2023-04-02 21:03:32 -07:00
Alexandre Bique
4715616818
[LLVM] Update to 14.0.6 (#29152)
* [LLVM] Update to 14.0.6

* add version

* Use VERSION rather than making specific LLVM_VERSION.

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2023-01-24 20:21:30 -08:00
autoantwort
3ef276c10f
[llvm] fix feature pstl (#28415)
* [llvm] fix feature pstl

* Trigger Build
2023-01-18 11:42:07 -08:00
Luke Shore
52186bcf80
[llvm] updated to 14.0.4 + add spirv backend support (#25142)
* [llvm] updated to 14.0.4 + add spirv backend support

* [llvm] fix "Thomas1664 - Please add a final newline here."

* Fix version database.

* [llvm] fix Neumann-A corrections

* [llvm] run vcpkg x-add-version llvm

* [llvm] mistake fixes

* [llvm] removed not need platform type

* [llvm] run .\vcpkg.exe x-add-version --all

* [llvm] removed unstable script

* [llvm] run ./vcpkg x-add-version --all

Co-authored-by: Billy Robert O'Neal <bion@microsoft.com>
2022-06-14 09:07:45 -07:00
autoantwort
c40e73f7e9
[llvm] no absolute paths (#24878) 2022-05-24 16:10:34 -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
nicole mazzuca
9f074ffa17
[llvm] fix abi-breaking-checks to always be disabled (#24278)
* [llvm] fix abi-breaking-checks to always be disabled

in Debug builds, LLVM_ABI_BREAKING_CHECKS was on by default;
however, they use the release headers (which set it to OFF)
this results in a mismatch,
and means you can't link LLVM

* update port version

* version

Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
2022-04-21 09:02:13 -07:00
Eric Kilmer
1cbd04e45e
[llvm] Fix LLVM install for 'utils' feature (#23399)
* [llvm] Install utils when feature is selected

* Update version
2022-03-11 11:33:51 -08:00
Mengna Li
fc568b1867
[llvm] fix build error (#23334)
* fix link error

* Add license

* delete useless  patch
2022-03-03 12:31:21 -08:00
Jack·Boos·Yu
2689f785c9
[vcpkg baseline][llvm] Fix feature tools (#22230)
* [vcpkg baseline][llvm] Fix feature tools

* Trigger CI test

* version

* Trigger CI

* Clean up
2021-12-28 13:25:38 -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
autoantwort
e6ed80cfca
[llvm] update to 12.0.1 (#19741) 2021-08-27 17:05:04 -07:00
Alexandre Bique
8886d85ad0
[llvm] improve cross compilation (#18770) 2021-07-22 15:50:52 -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
Yury Bura
40449ff1cb
[llvm] update to 11.1.0, add features and fix issues (#16232)
* fix issue #16215

* add more projects and fix issue #16222

* add version

* exclude libc from default projects

* remove libc, add fland to default projects

* update to v11.1.0

* fix compiler-rt install path

* fix SHA for version 11.1.0

* fix libc++ install

* re-fix libc++ install

* fix pstl install

* fix flang's license file name

* install tools in tools/llvm, fix file names

* revert bin directory for libraries

* don't create clang sub-directory in llvm/tools

* overwrite version

* copy tool dependencies

* overwrite version

* remove vcpkg_copy_tools call

* overwrite version

* restore default features

* overwrite version

* overwrite version

* convert manifest to json

* install usage files

* overwrite version

* remove feature `default-projects`

* modernize CMake in usage files

* overwrite version

* update ordering

* override version
2021-04-13 15:17:17 -07:00
Alexandre Bique
9b90e8afc7
[llvm] add more features (#16877) 2021-03-29 09:39:04 -07:00
Jack·Boos·Yu
319b8f06eb
[llvm] Fix resource path when building tools (#16294)
* [llvm] Fix resource path when building tools

* update version record
2021-02-22 10:49:55 -08:00
yurybura
e95a7a8dc0
[llvm] update to 11.0.0 (#13998)
* [vcpkg] allow to use semicolons in COMMAND argument

* [llvm] update to 11.0.0

* [vcpkg] use latest version

* [vcpkg] allow to use semicolons in OPTIONS

* fix vcpkg_fixup_cmake_targets

* [llvm] fix more install paths, add /bigobj option, fix up CMake targets

* Apply suggestions from code review

* [llvm] fix clang, flang, lld, mlir and polly CMake targets

* [llvm] remove empty include directory /include/flang/Config

* [llvm] Flang requires C++17

* [llvm] add /Zc:__cplusplus

* [llvm] remove empty include directory include/clang-tidy/plugin

* [llvm] try to fix ClangConfig.cmake, LLVMConfig.cmake, LLDConfig.cmake etc. with patch

* [llvm] set tools install dir to tools/llvm

* [aws-sdk-cpp] fix build after changes in vcpkg_configure_cmake.cmake

* [llvm] disable Flang and OpenMP on Windows

Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
2020-11-30 09:56:22 -08:00
nicole mazzuca
d9b179fd46
[llvm] install tools in tools/llvm (#14399)
* [llvm] install tools in tools/llvm

* remove the giant commented out block of code

* update port-version

* hopefully fix the port?

There are still some issues, namely that the python scripts and DLLs that are copied into `tools/llvm`
are not considered to be "installed by llvm", and thus are not removed when llvm is removed

* format!

* apparently REGEX REPLACE fails if a thing doesn't match

* fix LLVM_REMOVE_EXTENSION_REGEX on windows

* actually read the cmake regex docs...

* fix the name of the variable

* turns out CMAKE_MATCH_1 is the one I want

* need to update VERSION for new policy

* stop removing debug/bin

* fix faulty merge
2020-11-12 17:31:34 -08:00
Alex Reinking
7e3d3beac5
[halide] Update to version 10.0.0 (#13860)
* fix LLVM target-all feature

* [halide] bump Halide to version 10.0.0

* Use empty package policy to allow plugins to be located in lib.

This is following the recommendations in a conversation I had
with Robert Schumacher on the #vcpkg CppLang Slack channel.
This recommendation was derived from the fact that "cmake
defaults module DLLs into the lib folder, which makes vcpkg's
current policy very inconvenient for authors" and that I do not
plan to enable build systems other than CMake.

* [halide] skip x86-windows due to MSVC bug

* [halide] restore x64-windows-static fail status

* add usage file to Halide

* Update CONTROL version

* Remove '!emscripten` from ports/halide/CONTROL

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

Co-authored-by: Lily <47812810+LilyWangL@users.noreply.github.com>
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
2020-10-13 17:54:46 -07:00
Billy O'Neal
8054263f15
[skia, ompl, capnproto] Update VMs for 2020-08-12 (including VS 16.7) (#12884)
Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
2020-08-27 12:27:39 -07:00
yurybura
8714f0d829
[llvm] fix issue #11916 (#11956)
* [llvm] fix issue #11916

* Remove include(vcpkg_common_functions)

Co-authored-by: Lily <47812810+LilyWangL@users.noreply.github.com>
2020-06-23 13:39:52 -07:00
yurybura
d7efa11dd0
fix llvm-tblgen build with MSVC v19.26 (#11703) 2020-06-02 22:39:30 -07:00
yurybura
99a832a161 [llvm] add more backend options, fix issues (#11268)
* [llvm] add more backend options, fix #11158

* [llvm] disable optional dependencies to libxml2 and zlib (merge PR #11180)

* [llvm] update version

* [llvm] fix copy-paste typo

* [llvm] disable dl library on Windows, fixes #11309
2020-05-15 13:28:48 -07:00
Billy O'Neal
6920b49047
[vcpkg] [llvm] [mpir] Bump Linux VM memory size and do all operations on the temporary disk. (#11174)
* [vcpkg] Bump Linux VM memory size and do all operations on the temporary disk.

* [llvm] disable optional dependencies to libxml2 and zlib

* [vcpkg] Reduce quotas on the share to something reasonable.

* [mpir] Skip on Linux because it conflicts with libgmp.

Co-authored-by: yurybura <yurybura@gmail.com>
2020-05-10 15:17:27 -07:00
yurybura
cfc05991f5
[llvm] Update to version 10.0.0 and add new features (#10295)
* [llvm] Update to version 10.0.0 and new features

* switch to llvmorg-10.0.0-rc3, allow to use bin directory for tools

* Fix CMake targets after vcpkg_fixup_cmake_targets call.

* [halide] Update to master version to support LLVM 10

* [halide] fix x64-osx build

* [llvm] add enable-assertions feature

* [llvm] fix comment

* [llvm] enable ci for x64-linux and x64-osx

* [llvm] update to v10.0.0-rc5
[llvm] disable assertions and ABI breaking checks by default
[llvm] limit the maximum number of concurrent link jobs to 1
[llvm] add postfix `d` and debug shared libraries in the `/bin` directory

* [llvm] revert debug postfix `d`
[llvm] don't remove debug version of tools and shared libs

* [llvm] fix debug tools path

* [llvm] update to release tag llvmorg-10.0.0
[llvm] build with CMAKE_DEBUG_POSTFIX=d
[llvm] remove debug binaries

* remove new CMake argument FOLLOW_SYMLINK_CHAIN

* [llvm] force TableGen to be built with optimization

* [llvm] add future disable-clang-static-analyzer

* [llvm] add futures for main targets
[llvm] remove utils and clang-tools-extra from default features list
[llvm] exclude tests

* [llvm] add features for main targets
[llvm] remove utils and clang-tools-extra from default features list
[llvm] exclude tests

* [llvm] update features description

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
2020-05-03 20:30:17 -07:00
Jack·Boos·Yu
d98696de85
[vcpkg baseline] Fix CI test (#10508)
* re-trigger ci test

* [kealib] Switch repo to github

* [mongo-c-driver] Set icu as a feature

* [monkeys-audio] Update version to 5.24

* [mongo-c-driver] Fix arm build

* [mongo-c-driver] Re-generate patch

* [mongo-c-driver] Remove key word PRIVATE in patch

* [llvm] Remove default feature tools

* [llvm] Add judgment to install tools

* [llvm] Add more condition

* [llvm] Fix clang cmake files when selecting feature tools

* [halide] Fix build depends info in CONTROL

* update baseline
2020-03-25 20:43:02 -07:00
Jack·Boos·Yu
9db90b397d
Fix baseline error (#10051)
* Fix osx baseline

* fix osg configure issue

* re-trigger ci test

* re-trigger ci test

* [osg] Revert changes with osg and temporarily skip osg detection

* trigger ci test

* update baseline

Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>
2020-02-19 16:45:58 -08:00
Phil Christensen
e62d136128
[vcpkg] Add Supports: field. Use contents of triplets instead of names for dependency resolution. (#8601)
* remove unfinished "supports" tag

* extract "supports" from control files
But do nothing with the value

* Start `Supports` documentation

* Use Supports in a bunch of control files

I only tried matching the already existing logic in the portfile.cmake.

* Cmake var provider (#8)

* Cmake var provider (#9)

* fix windows build (#10)

* Add missing files to build

* Fix test (#11)

* adding hooks for cmake variables in expressions

* Adding hooks for 'supports' in CI test

* Fix test (#12)

* Add overrides to evaluation environment

* use "supported" tag in CI testing

* cleanup comment

* Fix issues with PR

* [var_provider] Get library linkage variables from triplet

* Fix compilation errors in tests

* Add unimplemented functions

* Fix unit tests part 1

* Fix issue when buildtrees dir does not exist

* Change binary output hash

* Fix handling of * feature

* Add core feature when using *

* Do not add Default-Features when installing 'core'

* [vcpkg] WIP. 6 failing tests.

* [vcpkg] WIP. 1 failing tests.

* [vcpkg] WIP. 0 failing tests.

* [vcpkg] Removed 'remove_graph'. 0 failing tests.

* [vcpkg] Removed 'install_graph'. 0 failing tests.

* [vcpkg] Remove AnyAction; replace with ActionPlan

* [vcpkg] Minor cleanup.

* [vcpkg][z3][qt5-connectivity][qt5-purchasing] Improve error messages while parsing. Fix a few trivial port issues.

* [vcpkg] Work around ICE with MSVC v140

* [vcpkg] Add purge on fail to decompress for CI

* [vcpkg] Fix parsing of nested parentheses in qualifiers

* [vcpkg] Fix Linux builds (explicit qualification in declaration)

* [vcpkg] Fix Build-Depends implying default features. Fix qualified dependencies regression.

* [mmx] Add to skip list and full rebuild -- mmx causes problems by installing 'sched.h'

* [libpqxx][mqtt-cpp] Prevent installing include/CMakeLists.txt

* [cppitertools] Fix installed include namespace (should be include/cppitertools)

* [libsoundio] Move headers into soundio/ subdirectory as per original cmake

* [ci.baseline] Temporarily skip charls due to conflict with dcmtk

* [vcpkg] Add restricted include files post build check -- bump global abi version

* [libsoundio] Hotfix stray line in portfile

* [vcpkg] Fix regression: CMake information was not being displayed for build-and-install actions

* [jsonnet] Fix installation of internal headers; use system nlohmann-json

* [grpc][upb] Teach grpc to use packaged upb. Add find_package(upb). Remove inappropriate upb features.

* [zfp] Move problematic 'include/bitstream.h' to 'include/zfp/bitstream.h'

* [x265] Bump control version to trigger rebuild after zfp conflict

* [akali] Disable parallel configure

* [dirent][dlfcn-win32][getopt-win32][pthreads] Grandfather into VCPKG_POLICY_ALLOW_RESTRICTED_HEADERS

* [ci.baseline] Update baseline for improved upb support

* [tgui] Disable parallel configure

* [libiconv] Enable VCPKG_POLICY_ALLOW_RESTRICTED_HEADERS

* [aws-sdk-cpp] Disable parallel configure

* [vcpkg] Implement policy VCPKG_POLICY_ALLOW_RESTRICTED_HEADERS

* [aws-sdk-cpp] Fix amount of escaping semicolons -- Note: I do not know the root cause requiring this change

* [libodb-sqlite] Fix configuring into source directory

* [gettext] Grandfather into VCPKG_POLICY_ALLOW_RESTRICTED_HEADERS

* [libodb] DISABLE_PARALLEL_CONFIGURE

* [vcpkg] Add 'config.h' and 'local.h' to restricted header list

* [mcpp] Remove unused and problematic include 'config.h' from installed files

* [teemo] Move installed headers into subdirectory to prevent conflicts with x265

* [ci.baseline] Update current OSX. Skip libmesh on all platforms due to heavy conflicts.

* [vcpkg] Add 'slice.h' as a restricted header

* [osg] Improve accuracy of dependencies (disable some, add some to Depends)

* [vcpkg] Skip invoking a subprocess for 0 specs in load_tag_vars

* [ci.baseline] Skip mongo-c-driver on osx due to flakiness

* [teemo] Fix incorrect include file read

* [osg] Fix dependency typo: glut -> freeglut

* [vcpkg] Recover some lost performance with the addition of vcpkg_get_tags.

A huge performance cost was loading the triplet files over and over; instead, we splice the sources into a macro and load it once, then just call that macro for each port.
Remove use of hashing because we aren't cross-process-safe anyway (global static will do instead).

* [vcpkg] Change Supports atom 'windows' to include UWP. Improve Supports field documentation.

* [vcpkg] Add docs for VCPKG_ENV_PASSTHROUGH and VCPKG_DEP_INFO_OVERRIDE_VARS

* Fix typo

Co-authored-by: Curtis J Bezault <curtbezault@gmail.com>
Co-authored-by: Victor Romero <romerosanchezv@gmail.com>
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-02-03 14:22:52 -08:00
JackBoosY
9c8e4cdc76 [llvm]Add features. (#8771)
* [llvm]Add features.

* [llvm]Add ${FEATURE_OPTIONS}, set feature util to default feature.
2019-10-29 23:06:59 -07:00
Stefano Sinigardi
726c111481 [vcpkg] fatal_error when patch fails to apply (#8087)
vcpkg will now fail on failure to apply patches except when using `--head`.
2019-10-07 10:35:13 -07:00
JackBoosY
77a0a4a615 [halide]Upgrade to release_2019_08_27. (#8102)
* [halide]Upgrade to release_2019_08_27.

* [llvm]Fix llvm tools path in cmake.

* Re-trigger CI system.
2019-09-27 02:05:33 -07:00
JackBoosY
27cee9886a [llvm]Fix build error on Linux: cannot find -lxml2. (#7919) 2019-09-16 15:13:12 -07:00
Oliver Hitchcock
22bc820f5e Update to llvm-8.0.0 (#7209) 2019-07-09 10:59:47 -07:00
pravic
18b029a5e3 [WIP] Add a Homepage URL entry for vcpkg ports (#2933)
* [vcpkg] Add "Homepage" field to the CONTROL files.
2019-06-15 16:54:47 -07:00
JackBoosY
93ceb1a993 [llvm]Fix build error on x64-windows. (#6631) 2019-05-29 00:11:06 -07:00
Todor Prokopov
e81d8c5cc8 Fix LLVM cmake modules (#5848)
* [llvm] Reduce memory usage during linking

* [llvm] Fix cmake modules path
2019-04-05 09:41:16 -07:00
Daan De Meyer
5b5f904474 [LLVM] Fix error when using VCPKG_BUILD_TYPE 2018-12-02 21:59:20 +01:00
jadedrip
4518837f24
Update CONTROL 2018-10-10 20:00:04 +08:00
jadedrip
aa238ce8b7 update llvm to 7.0.0 2018-09-28 11:24:41 +08:00
Simon Hausmann
1bc3110a3b Fix build of llvm on Linux (#3751)
The mfcatl dependency is only needed on Windows.
2018-06-19 19:02:49 +02:00
Jason Juang
7c51f3a1a2 [llvm] fix issue #3282 (#3286) 2018-04-26 14:52:57 -07:00
jadedrip
60e63d3447 update llvm to 6.0.0 (#3118) 2018-04-19 10:43:10 -07:00
Robert Schumacher
910d3e5280 [llvm] Reenable package 2018-02-23 12:21:07 -08:00
Robert Schumacher
e3dda1a82d [azure-storage-cpp][cpp-redis][dirent][doctest][gdcm2][grpc][llvm][matio][spdlog][yaml-cpp] Upgrades 2018-02-23 03:27:04 -08:00
Force Charlie
ae82c74340 [llvm]: update llvm to 5.0.1 2018-01-06 10:07:16 +08:00
Robert Schumacher
de98ec658f [llvm] Fix installation of clang cmake targets 2018-01-03 20:12:49 -08:00
Robert Schumacher
bf1045db70 Merge branch 'llvm' of https://github.com/jasjuang/vcpkg into jasjuang-llvm 2017-12-21 10:55:05 -08:00