Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[llvm-core] bring package up to date. Support for Conan 2. #22997

Merged
merged 83 commits into from
Sep 24, 2024
Merged
Show file tree
Hide file tree
Changes from 58 commits
Commits
Show all changes
83 commits
Select commit Hold shift + click to select a range
2a7b4bf
[llvm-core] bring package up to date. Initial support for 13.0.0
planetmarshall Mar 5, 2024
e94c89c
[llvm-core] add support for job pool resource limits from @jusito
planetmarshall Mar 5, 2024
060ef41
[llvm-core] add cmake patch for 12.0.0
planetmarshall Mar 5, 2024
38e08a5
[llvm-core] add cmake patch for 11.1.0
planetmarshall Mar 6, 2024
e45b3bc
[llvm-core] allow conan 1.x
planetmarshall Mar 6, 2024
026b59e
[llvm-core] fix zlib detection for 11.1.0
planetmarshall Mar 6, 2024
2c1a863
[llvm-core] additional patches for missing includes and patch metadata
planetmarshall Mar 6, 2024
d361f4e
[llvm-core] resolve v1 hooks issues
planetmarshall Mar 6, 2024
88d783e
[llvm-core] use llvm generated config file to extract components
planetmarshall Mar 7, 2024
ca87842
[llvm-core] add custom cmake build script
planetmarshall Mar 7, 2024
b159852
Merge branch 'master' into llvm-core-conan2
planetmarshall Mar 7, 2024
3326832
[llvm-core] use run env during build and force ninja
planetmarshall Mar 8, 2024
79f3f86
[llvm-core] fix patches for libxml
planetmarshall Mar 8, 2024
7402534
[llvm-core] bump up default ram per link job
planetmarshall Mar 8, 2024
2bc8422
[llvm-core] backport split-dwarf patches from 14.x
planetmarshall Mar 10, 2024
0cc2f30
[llvm-core] add support for cross compiling
planetmarshall Mar 11, 2024
a834335
[llvm-core] fix patch files for split dwarf
planetmarshall Mar 11, 2024
b78cc12
[llvm-core] disable cross compilation
planetmarshall Mar 11, 2024
d18fa46
[llvm-core] add CCI build service specific behaviour
planetmarshall Mar 11, 2024
990b211
[llvm-core] fix cci resource limitations
planetmarshall Mar 11, 2024
2bd013f
[llvm-core] implement component dependencies
planetmarshall Mar 11, 2024
42efcc7
[llvm-core] sanitize component names
planetmarshall Mar 12, 2024
c3475d1
[llvm-core] bump ram per link job for cci shared debug
planetmarshall Mar 13, 2024
e20d481
[llvm-core] exclude cmake find modules
planetmarshall Mar 13, 2024
3c7c219
[llvm-core] skip rpath on macos
planetmarshall Mar 13, 2024
60d902f
Merge branch 'master' into llvm-core-conan2
planetmarshall Mar 13, 2024
e847430
[llvm-core] reformat and fix linting issues
planetmarshall Mar 13, 2024
cf693ed
[llvm-core] delete 18x patch (added in error)
planetmarshall Mar 13, 2024
cb232af
[llvm-core] rename references to LLVM-Config
planetmarshall Mar 13, 2024
e1c78fb
[llvm-core] retain LLVMConfigExtensions.cmake
planetmarshall Mar 13, 2024
735e7fe
[llvm-core] add fake targets for *-gen
planetmarshall Mar 13, 2024
4f7afc5
[llvm-core] use the actual cmake target name as component name
planetmarshall Mar 13, 2024
d71e0bc
[llvm-core] fix component dependencies
planetmarshall Mar 13, 2024
b09a60e
[llvm-core] add target options
planetmarshall Mar 13, 2024
53efb4a
[llvm-core] add editline requirement (WIP)
planetmarshall Mar 13, 2024
d06773a
[llvm-core] support for libedit (editline) in 13.x
planetmarshall Mar 14, 2024
fd3fcbd
Merge branch 'master' into llvm-core-conan2
planetmarshall Mar 14, 2024
81bf61c
Merge branch 'master' into llvm-core-conan2
planetmarshall Mar 14, 2024
916acf6
[llvm-core] disable shared debug for CCI, update license identifier a…
planetmarshall Mar 15, 2024
43ac3ac
[llvm-core] require cxx std 14 for test package
planetmarshall Mar 16, 2024
9bb46e2
[llvm-core] handle edge case of static libiconv being linked into a d…
planetmarshall Mar 16, 2024
b3d17c9
[llvm-core] skip rpath handling for build on macos
planetmarshall Mar 16, 2024
954a396
[llvm-core] propagate DYLD_LIBRARY_PATH to tblgen during build
planetmarshall Mar 17, 2024
42847cf
[llvm-core] propagate DYLD_LIBRARY_PATH to tblgen during build
planetmarshall Mar 17, 2024
87f40f4
[llvm-core] do not build shared libs with the install rpath
planetmarshall Mar 18, 2024
652d4b3
[llvm-core] use original test package
planetmarshall Mar 18, 2024
8562e9e
[llvm-core] do not package static libraries with shared build
planetmarshall Mar 18, 2024
d86e987
[llvm-core] fix test_package
planetmarshall Mar 18, 2024
5b96fd2
[llvm-core] support linking in lib for native codegen
planetmarshall Mar 19, 2024
0e05f9f
[llvm-core] add windows support
planetmarshall Mar 20, 2024
59caae7
[llvm-core] remove pdb files
planetmarshall Mar 20, 2024
f5f03ec
[llvm-core] require cmake_path support in test package
planetmarshall Mar 21, 2024
5af042a
[llvm-core] handle legacy conan msvcrt setting
planetmarshall Mar 21, 2024
3ce579f
[llvm-core] missing patch type
planetmarshall Mar 22, 2024
a589ae5
Merge branch 'master' into llvm-core-conan2
planetmarshall Apr 17, 2024
8c67aba
Merge branch 'master' into llvm-core-conan2
planetmarshall Apr 18, 2024
d445f23
Apply suggestions from code review
planetmarshall May 25, 2024
83e44ce
[llvm-core] revert changes to license
planetmarshall May 26, 2024
4c50124
[llvm-core] apply review suggestions
planetmarshall May 28, 2024
5383310
[llvm-core] add patch source for include file fix
planetmarshall Aug 8, 2024
1402f41
[llvm-core] use user-config for compiler resource settings
planetmarshall Aug 8, 2024
9135932
[llvm-core] add link for further info on cross compilation
planetmarshall Aug 8, 2024
41a9cd9
[llvm-core] use PurePosixPath only
planetmarshall Aug 8, 2024
2ed5ee9
Trying 'as_posix()' function
franramirez688 Aug 19, 2024
6f8a4e2
More 'as_posix()' function
franramirez688 Aug 19, 2024
9d8bf0c
Typo
franramirez688 Aug 20, 2024
9f54096
[llvm-core] revert usage of 'load' to workaround regex error
planetmarshall Aug 27, 2024
7b2e085
[llvm-core] try relaxing restrictions on cross-building
planetmarshall Aug 27, 2024
0b15816
[llvm-core] use semi-colon separated string for targets instead of in…
planetmarshall Aug 27, 2024
145f2f0
[llvm-core] set default fPIC fallback to 'True'
planetmarshall Aug 27, 2024
33d3fcf
[llvm-core] use version range for ninja
planetmarshall Aug 27, 2024
af433da
[llvm-core] move cci check to 'validate_build'
planetmarshall Aug 27, 2024
e01fc0f
[llvm-core] allow CCI to use llvm-core user config for resource limits
planetmarshall Aug 27, 2024
49b1cc8
[llvm-core] dont activate build environment for llvm-tblgen
planetmarshall Aug 27, 2024
149c9a9
[llvm-core] add patch for link failure with lld
planetmarshall Sep 1, 2024
edaf401
[llvm-core] explicitly list shared libraries
planetmarshall Sep 1, 2024
186645e
[llvm-core] revert to using
planetmarshall Sep 2, 2024
37eb80e
Revert "[llvm-core] try relaxing restrictions on cross-building"
planetmarshall Sep 2, 2024
37c3d7b
[llvm-core] workaround for #13560
planetmarshall Sep 3, 2024
85c1e97
[llvm-core] increase ram available for link jobs in CCI
planetmarshall Sep 3, 2024
3d6d309
[llvm-core] remove the split-dwarf patch
planetmarshall Sep 4, 2024
1aa8107
[llvm-core] disable shared debug builds entirely and debug builds for…
planetmarshall Sep 4, 2024
bd3f92f
[llvm-core] remove remaining split-dwarf capability
planetmarshall Sep 5, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 0 additions & 26 deletions recipes/llvm-core/all/CMakeLists.txt

This file was deleted.

67 changes: 53 additions & 14 deletions recipes/llvm-core/all/conandata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,57 @@ 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
jcar87 marked this conversation as resolved.
Show resolved Hide resolved
- patch_file: patches/13x/0003-split-dwarf.patch
patch_description: enable split dwarf option from 14.x
patch_source: https://reviews.llvm.org/D108776
jcar87 marked this conversation as resolved.
Show resolved Hide resolved
patch_type: bugfix
- patch_file: patches/13x/0004-no-build-with-install-rpath.patch
patch_description: do not build shared libs with install rpath
patch_type: conan
"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_file: patches/12x/0003-split-dwarf.patch
patch_description: enable split dwarf option from 14.x
patch_source: https://reviews.llvm.org/D108776
patch_type: bugfix
- patch_file: patches/12x/0004-no-build-with-install-rpath.patch
patch_description: do not build shared libs with install rpath
patch_type: conan
"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_file: patches/11x/0003-split-dwarf.patch
patch_description: enable split dwarf option from 14.x
patch_source: https://reviews.llvm.org/D108776
patch_type: bugfix
- patch_file: patches/11x/0004-no-build-with-install-rpath.patch
patch_description: do not build shared libs with install rpath
patch_type: conan
Loading
Loading