[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[patch] Make tbb build on PowerPC/SPE



Hi,

just saw that the tbb package is marked as 'not for us' on powerpcspe:

http://buildd.debian-ports.org/status/package.php?p=tbb

I have been building tbb myself from source for PPCSPE using the
attached 2-line patch.  It seems to work, at first glance, but I didn't
run very serious test-cases.

cheers,

David
-- 
GnuPG public key: http://user.cs.tu-berlin.de/~dvdkhlng/dk.gpg
Fingerprint: B17A DC95 D293 657B 4205  D016 7DEF 5323 C174 7D40

Index: /3rdparty/trunk/tbb_oss/include/tbb/tbb_machine.h
===================================================================
--- /3rdparty/trunk/tbb_oss/include/tbb/tbb_machine.h (revision 5710)
+++ /3rdparty/trunk/tbb_oss/include/tbb/tbb_machine.h (revision 9262)
@@ -63,6 +63,8 @@
 #include "machine/linux_ia64.h"
 #elif __arm__
 #include "machine/linux_arm.h"
+#elif __PPC__
+#include "machine/mac_ppc.h"
 #endif
 
 #elif __APPLE__

Attachment: pgp6ZZ6qJhzf4.pgp
Description: PGP signature


Reply to: