diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2011-04-21 21:04:35 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2011-04-21 21:04:35 +0000 |
commit | 4bd85f78e070f7cce2bd44fb16c7d481b69e1771 (patch) | |
tree | 0dc1317d9a5d4088ec0f724288971e0a1eb0336d /dev-cpp/tbb | |
parent | Fix SCROLLKEEPER_UPDATE variable documentation. (diff) | |
download | historical-4bd85f78e070f7cce2bd44fb16c7d481b69e1771.tar.gz historical-4bd85f78e070f7cce2bd44fb16c7d481b69e1771.tar.bz2 historical-4bd85f78e070f7cce2bd44fb16c7d481b69e1771.zip |
Version bump + gcc 4.6 patch for tests
Package-Manager: portage-2.1.9.46/cvs/Linux x86_64
Diffstat (limited to 'dev-cpp/tbb')
-rw-r--r-- | dev-cpp/tbb/ChangeLog | 11 | ||||
-rw-r--r-- | dev-cpp/tbb/Manifest | 18 | ||||
-rw-r--r-- | dev-cpp/tbb/files/tbb-3.0.056-tests.patch | 15 | ||||
-rw-r--r-- | dev-cpp/tbb/files/tbb-3.0.174-gcc46.patch | 33 | ||||
-rw-r--r-- | dev-cpp/tbb/tbb-3.0.104.ebuild | 94 | ||||
-rw-r--r-- | dev-cpp/tbb/tbb-3.0.174.ebuild (renamed from dev-cpp/tbb/tbb-3.0.131.ebuild) | 9 |
6 files changed, 55 insertions, 125 deletions
diff --git a/dev-cpp/tbb/ChangeLog b/dev-cpp/tbb/ChangeLog index e0bdefc6d4df..9e0ad02c2d9c 100644 --- a/dev-cpp/tbb/ChangeLog +++ b/dev-cpp/tbb/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-cpp/tbb -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-cpp/tbb/ChangeLog,v 1.10 2010/12/25 18:44:49 bicatali Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/tbb/ChangeLog,v 1.11 2011/04/21 21:04:35 bicatali Exp $ + +*tbb-3.0.174 (21 Apr 2011) + + 21 Apr 2011; SĂ©bastien Fabbro <bicatali@gentoo.org> + -files/tbb-3.0.056-tests.patch, -tbb-3.0.104.ebuild, -tbb-3.0.131.ebuild, + +tbb-3.0.174.ebuild, +files/tbb-3.0.174-gcc46.patch: + Version bump + gcc 4.6 patch for tests *tbb-3.0.131 (25 Dec 2010) diff --git a/dev-cpp/tbb/Manifest b/dev-cpp/tbb/Manifest index 46cd69fa6469..a2987a8e0d2b 100644 --- a/dev-cpp/tbb/Manifest +++ b/dev-cpp/tbb/Manifest @@ -1,20 +1,18 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -AUX tbb-3.0.056-tests.patch 885 RMD160 14af2f3f703376ab37668f8c21d57335e070a10a SHA1 688f884ce1fa255b774b6e8a0c684a24bc89beef SHA256 e35bb5e3b9ccf64b080763b52aa689c354ba5289aa01ca89c2610db50da146d8 AUX tbb-3.0.104-tests.patch 676 RMD160 08111b5f403e0b437e7c23a9905c6ecd4b4cab39 SHA1 b205d4123ca1ca3ec8fb7a839e048ef7ff6063f0 SHA256 7d486b4b462a9d13226a29f303a374209e52c4e5ef0d0c8a216ea0b503bb0b21 +AUX tbb-3.0.174-gcc46.patch 1600 RMD160 77c2aaf4cbf566ba11f8bb27a91d94aaa42600cb SHA1 98ffc2ccec74c94e522dafd27bbc1923db627154 SHA256 7d2b422d013defecbd62bd1f04db73b3038f4f4901e543d50c35fada8309d40b DIST tbb22_013oss_src.tgz 1519663 RMD160 158b62914b9467054eaf45c064fd0a940fe3a8d2 SHA1 b8e11fc8df5b6e27eec86a0588d9b376e520dfb5 SHA256 fc156e63cb4dbf4f31b412780ea798b95ecb5cbeb5f5f0f0a9510769f5205562 -DIST tbb30_104oss_src.tgz 1592084 RMD160 a034edabc44b7ccfb196d561dd5d2609d0c71854 SHA1 7987f82fc19fb8df2ff61a51767c7fe67c486f52 SHA256 29d0a274d96b8749c91f319571f4d7b257f201fd69eec9812f4af3822235ca81 -DIST tbb30_131oss_src.tgz 1743379 RMD160 8c4ae2d06b9e17ca686328241c7a06d9de41cfcd SHA1 d6d960d50c0462804999d79b2d2b1c1b7a603aa9 SHA256 a97cc64dd9826c2ab3b78c19e0800c79b520ddb423aecbc4e750f0f1320590f1 +DIST tbb30_174oss_src.tgz 1826899 RMD160 5f6f853cf2fc6c05bd11dcf2928d60c5e2459fbf SHA1 b68764d0d9d2517c60fd88c71a3554d194733b03 SHA256 c06eae08435cb7118d2f922303fd83b03e2754d45a6c8fa98721cb09b0a463cc EBUILD tbb-2.2.013-r1.ebuild 2021 RMD160 236b4c5f5b951fd93cbdcb057ee8d5d275a4d312 SHA1 b22338254a18f51f675f21adf32abc8346ac26d2 SHA256 af85f580290a478a996cf04d1f8d906f92bccd3aae324f1b2076b9f13c99301c -EBUILD tbb-3.0.104.ebuild 2900 RMD160 bcea1e36e065b7f71f2119cc0c2fb3584b4366aa SHA1 a368fb087f4ffbc6f49ea12f742ef41611745397 SHA256 d1b0b5b32ea339770ff1ae363376b8dbc227cfaa514ce1b108e9c1455f6786a7 -EBUILD tbb-3.0.131.ebuild 2958 RMD160 bd15cb8a7e8e3761fa17d88356a3b9986f9808b7 SHA1 6159a099ccfb5188f9e590ba3a72a6230b48193f SHA256 271c166d3d2328c6d318a706c3f1c00afb0f4fc2c9203c1e4835609dbc902cc5 -MISC ChangeLog 2297 RMD160 6e93dbc70c5450f6a5f34610a869ebe619da3156 SHA1 113fa1fd8324aca6f782d76093514a649755c181 SHA256 c1965f58f17373e49c1ccb6c43837e0849864b17b3834b4ce8d6a4b0664b21f2 +EBUILD tbb-3.0.174.ebuild 3006 RMD160 585e6d26de3ce0142a6474e912a69d4207a89ab0 SHA1 44c9aecc1734f6aeb48c8fb6eae74262b271035a SHA256 e6161a3b809d9437727e59afdbaaf33582dff394464d398ca9e9f23cebfbfedb +MISC ChangeLog 2553 RMD160 fad7dd751b121aae8465665b239d953de13b9752 SHA1 b86529e38f59d7bfd3c8a19a104c00bf20ad2b57 SHA256 998ae254ef647f01492164e749268ccdb2ac55bf361fef74c433fb92e38ea7fa MISC metadata.xml 717 RMD160 be2d076186bcee46082c531ff7e353a4c8ee1586 SHA1 bf683cdbaf02706d765d87beec9c9441d7f3f731 SHA256 1ea1ffacad0bf891171794c5f07ca78e1194d2b9438be5563b23a03f7acf39c2 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.16 (GNU/Linux) +Version: GnuPG v2.0.17 (GNU/Linux) -iEYEARECAAYFAk0WO6kACgkQ1ycZbhPLE2ATXQCeKy1RThl9wUwm852S2dtwXln/ -NuUAoKK/jQC8pbq37CKy65Woq+TBJXt2 -=Xonp +iEYEARECAAYFAk2wm/4ACgkQ1ycZbhPLE2CclACdHtcFG6iZkNxkmBiBe/T84Jsj +rOEAn04uuWbt0n5jgssyvXENNfrffweo +=KM/A -----END PGP SIGNATURE----- diff --git a/dev-cpp/tbb/files/tbb-3.0.056-tests.patch b/dev-cpp/tbb/files/tbb-3.0.056-tests.patch deleted file mode 100644 index 183f8c83e440..000000000000 --- a/dev-cpp/tbb/files/tbb-3.0.056-tests.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- build/Makefile.test.orig 2010-08-04 23:37:11.000000000 +0100 -+++ build/Makefile.test 2010-08-04 23:38:11.000000000 +0100 -@@ -191,10 +191,10 @@ - # If a component Y uses component X, then tests for Y should come after tests for X. - # Note that usually run_cmd is empty, and tests run directly - test_tbb_plain: $(TEST_PREREQUISITE) $(TASK_CPP_DIRECTLY_INCLUDED) $(TEST_TBB_PLAIN.EXE) -- $(run_cmd) ./test_tbb_version.$(TEST_EXT) $(args) -+ #$(run_cmd) ./test_tbb_version.$(TEST_EXT) $(args) - # Checking TBB version first to make sure the following testing has anything in it - $(run_cmd) ./test_assembly.$(TEST_EXT) $(args) -- $(run_cmd) ./test_compiler.$(TEST_EXT) $(args) -+ #$(run_cmd) ./test_compiler.$(TEST_EXT) $(args) - # Yes, 4:8 is intended on the next line. - $(run_cmd) ./test_yield.$(TEST_EXT) $(args) 4:8 - $(run_cmd) ./test_handle_perror.$(TEST_EXT) $(args) diff --git a/dev-cpp/tbb/files/tbb-3.0.174-gcc46.patch b/dev-cpp/tbb/files/tbb-3.0.174-gcc46.patch new file mode 100644 index 000000000000..a2b0ac54c512 --- /dev/null +++ b/dev-cpp/tbb/files/tbb-3.0.174-gcc46.patch @@ -0,0 +1,33 @@ +diff -Nur tbb30_174oss.orig/src/test/test_condition_variable.h tbb30_174oss/src/test/test_condition_variable.h +--- tbb30_174oss.orig/src/test/test_condition_variable.h 2011-04-21 21:57:36.000000000 +0100 ++++ tbb30_174oss/src/test/test_condition_variable.h 2011-04-21 21:58:57.000000000 +0100 +@@ -189,7 +189,7 @@ + Counter<M> counter; + counter.value = 0; + Order = 0; +- const long test_size = 100000; ++ const size_t test_size = 100000; + NativeParallelFor( nthread, WorkForLocks<Counter<M>, test_size>(counter) ); + + if( counter.value!=2*test_size ) +diff -Nur tbb30_174oss.orig/src/test/test_mutex_native_threads.cpp tbb30_174oss/src/test/test_mutex_native_threads.cpp +--- tbb30_174oss.orig/src/test/test_mutex_native_threads.cpp 2011-04-21 21:57:36.000000000 +0100 ++++ tbb30_174oss/src/test/test_mutex_native_threads.cpp 2011-04-21 21:58:57.000000000 +0100 +@@ -182,7 +182,7 @@ + Counter<M> counter; + counter.value = 0; + Order = 0; +- const long test_size = 100000; ++ const size_t test_size = 100000; + tbb::tick_count t0 = tbb::tick_count::now(); + NativeParallelFor( nthread, Work<Counter<M>, test_size>(counter) ); + tbb::tick_count t1 = tbb::tick_count::now(); +@@ -199,7 +199,7 @@ + REMARK("testing %s\n",mutex_name); + Invariant<M,8> invariant(mutex_name); + Order = 0; +- static const long test_size = 1000000; ++ static const size_t test_size = 1000000; + tbb::tick_count t0 = tbb::tick_count::now(); + NativeParallelFor( nthread, Work<Invariant<M,8>, test_size>(invariant) ); + tbb::tick_count t1 = tbb::tick_count::now(); diff --git a/dev-cpp/tbb/tbb-3.0.104.ebuild b/dev-cpp/tbb/tbb-3.0.104.ebuild deleted file mode 100644 index 1344084be835..000000000000 --- a/dev-cpp/tbb/tbb-3.0.104.ebuild +++ /dev/null @@ -1,94 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-cpp/tbb/tbb-3.0.104.ebuild,v 1.2 2010/11/19 06:11:07 bicatali Exp $ - -EAPI=3 -inherit eutils versionator toolchain-funcs -# url number -MYU="78/160" -# release update -MYR="%20update%20"3 - -PV1="$(get_version_component_range 1)" -PV2="$(get_version_component_range 2)" -PV3="$(get_version_component_range 3)" -MYP="${PN}${PV1}${PV2}_${PV3}oss" - -DESCRIPTION="High level abstract threading library" -HOMEPAGE="http://www.threadingbuildingblocks.org/" -SRC_URI="http://www.threadingbuildingblocks.org/uploads/${MYU}/${PV1}.${PV2}${MYR}/${MYP}_src.tgz" -LICENSE="GPL-2-with-exceptions" - -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="debug doc examples" - -DEPEND="!<=dev-cpp/tbb-2.1.016" -RDEPEND="${DEPEND}" -S="${WORKDIR}/${MYP}" - -src_prepare() { - epatch "${FILESDIR}"/${P}-tests.patch - # use fully qualified compilers. do not force pentium4 for x86 users - local CC="$(tc-getCC)" - sed -i \ - -e "s/-O2/${CXXFLAGS}/g" \ - -e 's/^\(CPLUS = \)g++ $/\1'"$(tc-getCXX)/" \ - -e 's/^\(CONLY = \)gcc$/\1'"${CC}/" \ - -e 's/\(shell \)gcc\( --version\)/\1'"${CC}"'\2/' \ - -e '/CPLUS_FLAGS +=/s/-march=pentium4//' \ - build/*.inc || die - # - Strip the $(shell ... >$(NUL) 2>$(NUL)) wrapping, leaving just the - # actual command. - # - Force generation of version_string.tmp immediately after the directory - # is created. This avoids a race when the user builds tbb and tbbmalloc - # concurrently. The choice of Makefile.tbb (instead of - # Makefile.tbbmalloc) is arbitrary. - sed -i \ - -e 's/^\t\$(shell \(.*\) >\$(NUL) 2>\$(NUL))\s*/\t\1/' \ - -e 's!^\t@echo Created \$(work_dir)_\(debug\|release\).*$!&\n\t$(MAKE) -C "$(work_dir)_\1" -r -f $(tbb_root)/build/Makefile.tbb cfg=\1 tbb_root=$(tbb_root) version_string.tmp!' \ - src/Makefile || die -} - -src_compile() { - if [[ $(tc-getCXX) == *g++ ]]; then - myconf="compiler=gcc" - elif [[ $(tc-getCXX) == *ic*c ]]; then - myconf="compiler=icc" - fi - local ccconf="${myconf}" - if use debug || use examples; then - ccconf="${ccconf} tbb_debug tbbmalloc_debug" - fi - emake -C src ${ccconf} tbb_release tbbmalloc_release || die "emake failed" -} - -src_test() { - local ccconf="${myconf}" - if use debug || use examples; then - ${ccconf}="${myconf} test_debug tbbmalloc_test_debug" - fi - emake -C src ${ccconf} test_release || die "emake test failed" -} - -src_install(){ - for l in $(find build -name lib\*.so.\*); do - dolib.so ${l} || die - local bl=$(basename ${l}) - dosym ${bl} /usr/$(get_libdir)/${bl%.*} - done - insinto /usr - doins -r include || die - - dodoc README CHANGES doc/Release_Notes.txt - if use doc ; then - insinto /usr/share/doc/${PF} - doins -r doc/html || die - fi - if use examples ; then - insinto /usr/share/doc/${PF}/examples/build - doins build/*.inc || die - insinto /usr/share/doc/${PF}/examples - doins -r examples || die - fi -} diff --git a/dev-cpp/tbb/tbb-3.0.131.ebuild b/dev-cpp/tbb/tbb-3.0.174.ebuild index 539aeb244b4b..ed0c806dc01c 100644 --- a/dev-cpp/tbb/tbb-3.0.131.ebuild +++ b/dev-cpp/tbb/tbb-3.0.174.ebuild @@ -1,15 +1,15 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-cpp/tbb/tbb-3.0.131.ebuild,v 1.1 2010/12/25 18:44:49 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/tbb/tbb-3.0.174.ebuild,v 1.1 2011/04/21 21:04:35 bicatali Exp $ EAPI=3 inherit eutils versionator toolchain-funcs # those 2 below change pretty much every release # url number -MYU="78/165" +MYU="78/166" # release update -MYR="%20Update%20"5 +MYR="%20update%20"6 PV1="$(get_version_component_range 1)" PV2="$(get_version_component_range 2)" @@ -31,6 +31,7 @@ S="${WORKDIR}/${MYP}" src_prepare() { epatch "${FILESDIR}"/${PN}-3.0.104-tests.patch + epatch "${FILESDIR}"/${PN}-3.0.174-gcc46.patch # use fully qualified compilers. do not force pentium4 for x86 users local CC="$(tc-getCC)" sed -i \ |