Skip to content

Commit

Permalink
Showing 2 changed files with 9 additions and 16 deletions.
15 changes: 9 additions & 6 deletions SPECS/compiler-rt/compiler-rt.spec
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
%global maj_ver %(echo %{version} | cut -d. -f1)
%global maj_ver 18

%global compiler_rt_srcdir llvm-project-llvmorg-%{version}

Summary: LLVM compiler support routines
Name: compiler-rt
Version: 18.1.2
Release: 2%{?dist}
Release: 3%{?dist}
License: Apache 2.0 WITH exceptions
Vendor: Microsoft Corporation
Distribution: Azure Linux
@@ -30,9 +30,10 @@ BlocksRuntime is an implementation of Apple "blocks" interface.
%build
mkdir -p build
cd build
%cmake -DCMAKE_BUILD_TYPE=Release \
-DCOMPILER_RT_INSTALL_PATH=%{_prefix}/lib/clang/%{maj_ver} \
-Wno-dev ../compiler-rt
%cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCOMPILER_RT_INSTALL_PATH=%{_prefix}/lib/clang/%{maj_ver} \
-Wno-dev ../compiler-rt

%make_build

@@ -43,13 +44,15 @@ cd build
%files
%defattr(-,root,root)
%license LICENSE.TXT

%{_libdir}/clang/%{maj_ver}/bin/*
%{_libdir}/clang/%{maj_ver}/include/*
%{_libdir}/clang/%{maj_ver}/lib/*
%{_libdir}/clang/%{maj_ver}/share/*

%changelog
* Thu Jul 25 2024 Andrew Phelps <anphel@microsoft.com> - 18.1.2-3
- Fix installation path

* Wed May 29 2024 Neha Agarwal <nehaagarwal@microsoft.com> - 18.1.2-2
- Bump release to build with new llvm to fix CVE-2024-31852

10 changes: 0 additions & 10 deletions cgmanifest.json
Original file line number Diff line number Diff line change
@@ -10356,16 +10356,6 @@
}
}
},
{
"component": {
"type": "other",
"other": {
"name": "libomp",
"version": "10.0.1",
"downloadUrl": "https://github.com/llvm/llvm-project/releases/download/llvmorg-10.0.1/openmp-10.0.1.src.tar.xz"
}
}
},
{
"component": {
"type": "other",

0 comments on commit dcac5b8

Please sign in to comment.