Skip to content

Commit

Permalink
(conan-io#22997) [llvm-core] bring package up to date. Support for Co…
Browse files Browse the repository at this point in the history
…nan 2.

* [llvm-core] bring package up to date. Initial support for 13.0.0

* [llvm-core] add support for job pool resource limits from @jusito

* [llvm-core] add cmake patch for 12.0.0

* [llvm-core] add cmake patch for 11.1.0

* [llvm-core] allow conan 1.x

* [llvm-core] fix zlib detection for 11.1.0

* [llvm-core] additional patches for missing includes and patch metadata

* [llvm-core] resolve v1 hooks issues

* [llvm-core] use llvm generated config file to extract components

* [llvm-core] add custom cmake build script

* [llvm-core] use run env during build and force ninja

* [llvm-core] fix patches for libxml

* [llvm-core] bump up default ram per link job

* [llvm-core] backport split-dwarf patches from 14.x

* [llvm-core] add support for cross compiling

* [llvm-core] fix patch files for split dwarf

* [llvm-core] disable cross compilation

* [llvm-core] add CCI build service specific behaviour

* [llvm-core] fix cci resource limitations

* [llvm-core] implement component dependencies

* [llvm-core] sanitize component names

* [llvm-core] bump ram per link job for cci shared debug

* [llvm-core] exclude cmake find modules

* [llvm-core] skip rpath on macos

* [llvm-core] reformat and fix linting issues

* [llvm-core] delete 18x patch (added in error)

* [llvm-core] rename references to LLVM-Config

* [llvm-core] retain LLVMConfigExtensions.cmake

* [llvm-core] add fake targets for *-gen

* [llvm-core] use the actual cmake target name as component name

* [llvm-core] fix component dependencies

* [llvm-core] add target options

* [llvm-core] add editline requirement (WIP)

* [llvm-core] support for libedit (editline) in 13.x

* [llvm-core] disable shared debug for CCI, update license identifier and refactor

* [llvm-core] require cxx std 14 for test package

* [llvm-core] handle edge case of static libiconv being linked into a dynamic library on macos

* [llvm-core] skip rpath handling for build on macos

* [llvm-core] propagate DYLD_LIBRARY_PATH to tblgen during build

* [llvm-core] propagate DYLD_LIBRARY_PATH to tblgen during build

* [llvm-core] do not build shared libs with the install rpath

* [llvm-core] use original test package

* [llvm-core] do not package static libraries with shared build

* [llvm-core] fix test_package

* [llvm-core] support linking in lib for native codegen

* [llvm-core] add windows support

* [llvm-core] remove pdb files

* [llvm-core] require cmake_path support in test package

* [llvm-core] handle legacy conan msvcrt setting

* [llvm-core] missing patch type

* Apply suggestions from code review

Co-authored-by: Michael Keck <git@cr0ydon.com>

* [llvm-core] revert changes to license

* [llvm-core] apply review suggestions

* [llvm-core] add patch source for include file fix

* [llvm-core] use user-config for compiler resource settings

* [llvm-core] add link for further info on cross compilation

* [llvm-core] use PurePosixPath only

* Trying 'as_posix()' function

* More 'as_posix()' function

* Typo

* [llvm-core] revert usage of 'load' to workaround regex error

* [llvm-core] try relaxing restrictions on cross-building

* [llvm-core] use semi-colon separated string for targets instead of individual options

* [llvm-core] set default fPIC fallback to 'True'

* [llvm-core] use version range for ninja

* [llvm-core] move cci check to 'validate_build'

* [llvm-core] allow CCI to use llvm-core user config for resource limits

* [llvm-core] dont activate build environment for llvm-tblgen

* [llvm-core] add patch for link failure with lld

* [llvm-core] explicitly list shared libraries

* [llvm-core] revert to using

* Revert "[llvm-core] try relaxing restrictions on cross-building"

This reverts commit 7b2e085

* [llvm-core] workaround for conan-io#13560

* [llvm-core] increase ram available for link jobs in CCI

* [llvm-core] remove the split-dwarf patch

* [llvm-core] disable shared debug builds entirely and debug builds for linux

* [llvm-core] remove remaining split-dwarf capability

---------

Co-authored-by: Michael Keck <git@cr0ydon.com>
Co-authored-by: Francisco Ramirez de Anton <franchuti688@gmail.com>
  • Loading branch information
3 people authored Sep 24, 2024
1 parent 21f5452 commit d3985d3
Show file tree
Hide file tree
Showing 26 changed files with 1,140 additions and 864 deletions.
26 changes: 0 additions & 26 deletions recipes/llvm-core/all/CMakeLists.txt

This file was deleted.

70 changes: 56 additions & 14 deletions recipes/llvm-core/all/conandata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,60 @@ sources:
sha256: ce8508e318a01a63d4e8b3090ab2ded3c598a50258cc49e2625b9120d4c03ea5

patches:
"11.1.0":
- base_path: "source"
patch_file: "patches/11x/11.1.0-cmake.patch"
- base_path: "source"
patch_file: "patches/11x/11.1.0-native.patch"
"12.0.0":
- base_path: "source"
patch_file: "patches/12x/12.0.0-cmake.patch"
- base_path: "source"
patch_file: "patches/12x/12.0.0-native.patch"
"13.0.0":
- base_path: "source"
patch_file: "patches/13x/13.0.0-cmake.patch"
- base_path: "source"
patch_file: "patches/13x/13.0.0-native.patch"
- patch_file: patches/13x/0000-cmake-dependencies.patch
patch_description: fix references to third party libs to match conan variables and targets
patch_type: conan
- patch_file: patches/13x/0001-calculate-job-pools.patch
patch_description: calculate resource limits for compiling LLVM
patch_type: portability
patch_source: https://github.com/llvm/llvm-project/pull/65274
- patch_file: patches/13x/0002-missing-includes.patch
patch_description: fix missing header files
patch_type: portability
patch_source: https://github.com/llvm/llvm-project-release-prs/pull/3
- patch_file: patches/13x/0003-no-build-with-install-rpath.patch
patch_description: do not build shared libs with install rpath
patch_type: conan
- patch_file: patches/13x/0004-remove-lto-exports.patch
patch_description: remove LTO exports causing link error with lld
patch_source: https://github.com/llvm/llvm-project-release-prs/pull/279
patch_type: portability
"12.0.0":
- patch_file: patches/12x/0000-cmake-dependencies.patch
patch_description: fix references to third party libs to match conan variables and targets
patch_type: conan
- patch_file: patches/12x/0001-calculate-job-pools.patch
patch_description: calculate resource limits for compiling LLVM
patch_type: portability
patch_source: https://github.com/llvm/llvm-project/pull/65274
- patch_file: patches/12x/0002-missing-includes.patch
patch_description: fix missing header files
patch_type: portability
patch_source: https://github.com/llvm/llvm-project-release-prs/pull/3
- patch_file: patches/12x/0003-no-build-with-install-rpath.patch
patch_description: do not build shared libs with install rpath
patch_type: conan
- patch_file: patches/12x/0004-remove-lto-exports.patch
patch_description: remove LTO exports causing link error with lld
patch_source: https://github.com/llvm/llvm-project-release-prs/pull/279
patch_type: portability
"11.1.0":
- patch_file: patches/11x/0000-cmake-dependencies.patch
patch_description: fix references to third party libs to match conan variables and targets
patch_type: conan
- patch_file: "patches/11x/0001-calculate-job-pools.patch"
patch_description: calculate resource limits for compiling LLVM
patch_type: portability
patch_source: https://github.com/llvm/llvm-project/pull/65274
- patch_file: patches/11x/0002-missing-includes.patch
patch_description: fix missing header files
patch_type: portability
patch_source: https://github.com/llvm/llvm-project-release-prs/pull/3
- patch_file: patches/11x/0003-no-build-with-install-rpath.patch
patch_description: do not build shared libs with install rpath
patch_type: conan
- patch_file: patches/11x/0004-remove-lto-exports.patch
patch_description: remove LTO exports causing link error with lld
patch_source: https://github.com/llvm/llvm-project-release-prs/pull/279
patch_type: portability
Loading

0 comments on commit d3985d3

Please sign in to comment.