#26 Use make macros
Closed 3 years ago by sergesanspaille. Opened 3 years ago by tstellar.
rpms/ tstellar/compiler-rt make-macros  into  master

file modified
+7 -3
@@ -4,7 +4,7 @@ 

  %endif

  

  #%%global rc_ver 6

- %global baserelease 3

+ %global baserelease 4

  

  %global crt_srcdir compiler-rt-%{version}%{?rc_ver:rc%{rc_ver}}.src

  
@@ -66,11 +66,11 @@ 

  %endif

  	-DCOMPILER_RT_INCLUDE_TESTS:BOOL=OFF # could be on?

  

- make %{?_smp_mflags}

+ %make_build

  

  %install

  cd _build

- make install DESTDIR=%{buildroot}

+ %make_install

  

  # move blacklist/abilist files to where clang expect them

  mkdir -p %{buildroot}%{_libdir}/clang/%{version}/share
@@ -127,6 +127,10 @@ 

  %endif

  

  %changelog

+ * Mon Jul 13 2020 Tom Stellard <tstellar@redhat.com> - 10.0.0-4

+ - Use make macros

+ - https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro

+ 

  * Thu Jul 09 2020 Tom Stellard <tstellar@redhat.com> - 10.0.0-3

  - Drop dependency on llvm-static

  

This pull request was create automatically for the f33 change:
https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro

Please review the patch and if you approve the changes, merge it after the simple-koji-ci test passes.

This pull request will be automatically merged in 1 week if there are not objections.

We're now using the %cmake_* macros for compiler-rt

Pull-Request has been closed by sergesanspaille

3 years ago

We're now using the %cmake_* macros for compiler-rt

OK.