Skip to content

Commit

Permalink
update clang llvm lld with fixes and add libcxx spec (#10329)
Browse files Browse the repository at this point in the history
  • Loading branch information
anphel31 authored Oct 1, 2024
1 parent 36478d4 commit 15168cc
Show file tree
Hide file tree
Showing 9 changed files with 639 additions and 19 deletions.
2 changes: 1 addition & 1 deletion LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions LICENSES-AND-NOTICES/SPECS/data/licenses.json
Original file line number Diff line number Diff line change
Expand Up @@ -602,6 +602,7 @@
"libcmpiutil",
"libcomps",
"libcroco",
"libcxx",
"libdaemon",
"libdap",
"libdatrie",
Expand Down
9 changes: 7 additions & 2 deletions SPECS/clang/clang.spec
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Summary: C, C++, Objective C and Objective C++ front-end for the LLVM compiler.
Name: clang
Version: 18.1.2
Release: 2%{?dist}
Release: 3%{?dist}
License: NCSA
Vendor: Microsoft Corporation
Distribution: Azure Linux
Expand Down Expand Up @@ -112,7 +112,9 @@ export CXXFLAGS="`echo " %{build_cxxflags} " | sed 's/ -g//'`"

mkdir -p build
cd build
cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \
cmake \
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DLLVM_DIR=%{_libdir}/cmake/llvm \
-DLLVM_PARALLEL_LINK_JOBS=1 \
-DCLANG_ENABLE_STATIC_ANALYZER:BOOL=ON \
-DCMAKE_BUILD_TYPE=Release \
Expand Down Expand Up @@ -242,6 +244,9 @@ make clang-check
%{_includedir}/clang-tidy/

%changelog
* Tue Sep 03 2024 Andrew Phelps <[email protected]> - 18.1.2-3
- Define LLVM_DIR

* Wed May 29 2024 Neha Agarwal <[email protected]> - 18.1.2-2
- Bump release to build with new llvm to fix CVE-2024-31852

Expand Down
5 changes: 5 additions & 0 deletions SPECS/libcxx/libcxx.signatures.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"Signatures": {
"llvmorg-18.1.2.tar.gz": "8d686d5ece6f12b09985cb382a3a530dc06bb6e7eb907f57c7f8bf2d868ebb0b"
}
}
Loading

0 comments on commit 15168cc

Please sign in to comment.