#3 Use make macros
Merged 3 years ago by jjames. Opened 3 years ago by tstellar.
rpms/ tstellar/tbb make-macros  into  master

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

  Name:    tbb

  Summary: The Threading Building Blocks library abstracts low-level threading details

  Version: 2020.2

- Release: 3%{?dist}

+ Release: 4%{?dist}

  License: ASL 2.0

  URL:     http://threadingbuildingblocks.org/

  
@@ -103,7 +103,7 @@ 

      compiler="%{__cc}"

  fi

  

- make %{?_smp_mflags} tbb_build_prefix=obj stdver=c++14 \

+ %make_build tbb_build_prefix=obj stdver=c++14 \

      compiler=${compiler} \

      CXXFLAGS="%{optflags} -DDO_ITT_NOTIFY -DUSE_PTHREAD" \

      LDFLAGS="$RPM_LD_FLAGS -lpthread"
@@ -116,7 +116,7 @@ 

  # Build for python 3

  . build/obj_release/tbbvars.sh

  pushd python

- make %{?_smp_mflags} -C rml stdver=c++14 \

+ %make_build -C rml stdver=c++14 \

      compiler=${compiler} \

      CPLUS_FLAGS="%{optflags} -DDO_ITT_NOTIFY -DUSE_PTHREAD" \

      LDFLAGS="$RPM_LD_FLAGS -lpthread"
@@ -205,6 +205,10 @@ 

  %{python3_sitearch}/__pycache__/TBB*

  

  %changelog

+ * Tue Jul 14 2020 Tom Stellard <tstellar@redhat.com> - 2020.2-4

+ - Use make macros

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

+ 

  * Tue May 26 2020 Miro HronĨok <mhroncok@redhat.com> - 2020.2-3

  - Rebuilt for Python 3.9

  

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.

rebased onto 15df25a

3 years ago

Pull-Request has been merged by jjames

3 years ago