Blocks on your machine. Otherwise, install it according to the instructions in
Unfortunately, there does not seem to be any such file:
$ cd /tmp $ mkdir tbb $ cd tbb $ gunzip -c ~/tbb/tbb21_017oss_lin.tgz | tar xf - $ ls tbb21_017oss $ cd tbb21_017oss/ $ ls CHANGES COPYING README bin doc em64t examples ia32 include itanium $ find . -name '*inst*' $ find . -name '*INST*'
The README is not useful: it refers to a file that doesn't exist in this directory:
$ cat README Threading Building Blocks - README See index.html for directions and documentation. If source is present (./Makefile and src/ directories), type 'gmake' in this directory to build and test. See examples/index.html for runnable examples and directions. See http://threadingbuildingblocks.org for full documentation and software information. $ ls index.html ls: cannot access index.html: No such file or directory $There are other directories that *do* have an index.html, but I don't seem to be spotting one that explains installation. Did someone forget to package INSTALL.txt with the kit?
- unpack source
- unpack binary
- set the environment variable
- point a browser at the directory where you unpacked(*)
- make info
- make test
Of course, it would be useful to say these with a bit more detail, including, for example, how to interpret the results of "make test". I assume (1) that silence=success, and (2) that I don't have to worry about:
./test_concurrent_vector_v2.exe 1:4 Warning: grow_by is pathetically slow: t2==0.0672286 t128=0.113812
Since TBB is distributed as both open source and commercial product, there are pieces of it only relevant to commercial product and not distributed in the OSS packages, or distributed separately (as the PDF docs). For example, INSTALL.TXT describes install procedure in the commercial packages that is irrelevant to OSS TBB.
Nevertheless you are correct in the points you made; definitely we could do something better than just leaving orphaned links.