Skip to content

Commit

Permalink
Committing Intel(R) TBB 2017 Update 4 source code
Browse files Browse the repository at this point in the history
  • Loading branch information
tbbdev committed Mar 3, 2017
1 parent e23398f commit dc82836
Show file tree
Hide file tree
Showing 1,206 changed files with 1,796 additions and 1,614 deletions.
23 changes: 23 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,25 @@
The list of most significant changes made over time in
Intel(R) Threading Building Blocks (Intel(R) TBB).

Intel TBB 2017 Update 4
TBB_INTERFACE_VERSION == 9104

Changes (w.r.t. Intel TBB 2017 Update 3):

- Added support for C++11 move semantics in parallel_do.
- Added support for FreeBSD* 11.

Changes affecting backward compatibility:

- Minimal compiler versions required for support of C++11 move semantics
raised to GCC 4.5, VS 2012, and Intel(R) C++ Compiler 14.0.

Bugs fixed:

- The workaround for crashes in the library compiled with GCC 6
(-flifetime-dse=1) was extended to Windows*.

------------------------------------------------------------------------
Intel TBB 2017 Update 3
TBB_INTERFACE_VERSION == 9103

Expand All @@ -20,6 +39,10 @@ Bugs fixed:
- Fixed a possible deadlock caused by missed wakeup signals in
task_arena::execute().

Open-source contributions integrated:

- A build fix for Linux* s390x platform by Jerry J.

------------------------------------------------------------------------
Intel TBB 2017 Update 2
TBB_INTERFACE_VERSION == 9102
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2005-2016 Intel Corporation
# Copyright (c) 2005-2017 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Intel(R) Threading Building Blocks 2017 Update 3
[![Stable release](https://img.shields.io/badge/version-2017_U3-green.svg)] (https://github.com/01org/tbb/releases/tag/2017_U3)
# Intel(R) Threading Building Blocks 2017 Update 4
[![Stable release](https://img.shields.io/badge/version-2017_U4-green.svg)] (https://github.com/01org/tbb/releases/tag/2017_U4)
[![Apache License Version 2.0](https://img.shields.io/badge/license-Apache_2.0-green.svg)](LICENSE)

Intel(R) Threading Building Blocks (Intel(R) TBB) lets you easily write parallel C++ programs that take
Expand All @@ -22,7 +22,7 @@ Please report issues and suggestions via
## How to Contribute
Please, read the instructions on the official [Intel(R) TBB open source site] (https://www.threadingbuildingblocks.org/submit-contribution).

## Сontact engineering team
## Engineering team contacts
* [E-mail us.] (mailto:[email protected])

------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion build/AIX.gcc.inc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2005-2016 Intel Corporation
# Copyright (c) 2005-2017 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion build/AIX.inc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2005-2016 Intel Corporation
# Copyright (c) 2005-2017 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions build/FreeBSD.clang.inc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2005-2016 Intel Corporation
# Copyright (c) 2005-2017 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -35,7 +35,7 @@ CPLUS = clang++
CONLY = clang
LIB_LINK_FLAGS = $(DYLIB_KEY) -Wl,-soname=$(BUILDING_LIBRARY)
LIBS += -lpthread -lrt
LINK_FLAGS = -Wl,-rpath-link=. -rdynamic
LINK_FLAGS = -Wl,-rpath-link=. -Wl,-rpath=. -rdynamic
C_FLAGS = $(CPLUS_FLAGS)

ifeq ($(cfg), release)
Expand Down
2 changes: 1 addition & 1 deletion build/FreeBSD.gcc.inc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2005-2016 Intel Corporation
# Copyright (c) 2005-2017 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
10 changes: 5 additions & 5 deletions build/FreeBSD.inc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2005-2016 Intel Corporation
# Copyright (c) 2005-2017 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -29,14 +29,14 @@ ifndef arch
endif

ifndef runtime
gcc_version:=$(shell gcc -dumpversion)
clang_version:=$(shell clang -v 2>&1 | grep version | sed "s/.*version \([0-9]*\.[0-9]*\).*/\1/")
os_version:=$(shell uname -r)
os_kernel_version:=$(shell uname -r | sed -e 's/-.*$$//')
export runtime:=cc$(gcc_version)_kernel$(os_kernel_version)
export runtime:=cc$(clang_version)_kernel$(os_kernel_version)
endif

native_compiler := gcc
export compiler ?= gcc
native_compiler := clang
export compiler ?= clang
debugger ?= gdb

CMD=$(SHELL) -c
Expand Down
2 changes: 1 addition & 1 deletion build/Makefile.rml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2005-2016 Intel Corporation
# Copyright (c) 2005-2017 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion build/Makefile.tbb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2005-2016 Intel Corporation
# Copyright (c) 2005-2017 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion build/Makefile.tbbmalloc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2005-2016 Intel Corporation
# Copyright (c) 2005-2017 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion build/Makefile.tbbproxy
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2005-2016 Intel Corporation
# Copyright (c) 2005-2017 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion build/Makefile.test
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2005-2016 Intel Corporation
# Copyright (c) 2005-2017 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion build/SunOS.gcc.inc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2005-2016 Intel Corporation
# Copyright (c) 2005-2017 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion build/SunOS.inc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2005-2016 Intel Corporation
# Copyright (c) 2005-2017 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion build/SunOS.suncc.inc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2005-2016 Intel Corporation
# Copyright (c) 2005-2017 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion build/android.clang.inc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2005-2016 Intel Corporation
# Copyright (c) 2005-2017 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion build/android.gcc.inc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2005-2016 Intel Corporation
# Copyright (c) 2005-2017 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion build/android.icc.inc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2005-2016 Intel Corporation
# Copyright (c) 2005-2017 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion build/android.inc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2005-2016 Intel Corporation
# Copyright (c) 2005-2017 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion build/android.linux.inc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2005-2016 Intel Corporation
# Copyright (c) 2005-2017 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion build/android.linux.launcher.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh
#
# Copyright (c) 2005-2016 Intel Corporation
# Copyright (c) 2005-2017 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion build/android.macos.inc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2005-2016 Intel Corporation
# Copyright (c) 2005-2017 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion build/android.windows.inc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2005-2016 Intel Corporation
# Copyright (c) 2005-2017 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion build/big_iron.inc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2005-2016 Intel Corporation
# Copyright (c) 2005-2017 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion build/common.inc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2005-2016 Intel Corporation
# Copyright (c) 2005-2017 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion build/common_rules.inc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2005-2016 Intel Corporation
# Copyright (c) 2005-2017 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion build/detect.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2005-2016 Intel Corporation
// Copyright (c) 2005-2017 Intel Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion build/generate_tbbvars.bat
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@echo off
REM
REM Copyright (c) 2005-2016 Intel Corporation
REM Copyright (c) 2005-2017 Intel Corporation
REM
REM Licensed under the Apache License, Version 2.0 (the "License");
REM you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion build/generate_tbbvars.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
#
# Copyright (c) 2005-2016 Intel Corporation
# Copyright (c) 2005-2017 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
14 changes: 7 additions & 7 deletions build/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ <H2>Files</H2>
<DT>&lt;os&gt;.&lt;compiler&gt;.inc
<DD>Compiler-specific Makefile for a particular &lt;os&gt; / &lt;compiler&gt; combination.
<DT>*.sh
<DD>Infrastructure utilities for Linux* OS, OS X*, and UNIX*-related operating systems.
<DD>Infrastructure utilities for Linux* OS, macOS*, and UNIX*-related operating systems.
<DT>*.js, *.bat
<DD>Infrastructure utilities for Windows* OS.
</DL>
Expand All @@ -43,7 +43,7 @@ <H3>Software prerequisites:</H3>
<LI>C++ compiler for the platform, operating system and architecture of interest.
Either the native compiler for your system, or, optionally, the appropriate Intel&reg; C++ compiler, may be used.
<LI>GNU make utility. On Windows OS, if a UNIX* emulator is used to run GNU make,
it should be able to run Windows OS utilities and commands. On Linux OS, OS X, etc.,
it should be able to run Windows OS utilities and commands. On Linux OS, macOS, etc.,
shell commands issued by GNU make should execute in a Bourne or BASH compatible shell.
In the following examples, replace <TT>make</TT> with the correct GNU make command for
your system (for example, <TT>gmake</TT>). GNU make version 3.80 and more recent are supported.
Expand All @@ -53,7 +53,7 @@ <H3>Software prerequisites:</H3>
Intel TBB libraries can be built by performing the following steps.
On systems that support only one ABI (e.g., 32-bit), these steps build the libraries for that ABI.
On systems that support both 64-bit and 32-bit libraries, these steps build the 64-bit libraries
(Linux OS, OS X, and related systems) or whichever ABI is selected in the development environment (Windows OS).
(Linux OS, macOS, and related systems) or whichever ABI is selected in the development environment (Windows OS).
</P>
<OL>
<LI>Change to the <A HREF="../index.html">top-level directory</A> of the installed software.
Expand All @@ -63,7 +63,7 @@ <H3>Software prerequisites:</H3>
</OL>

<P>
To build Intel TBB libraries for other than the default ABI (e.g., to build 32-bit libraries on Linux OS, OS X,
To build Intel TBB libraries for other than the default ABI (e.g., to build 32-bit libraries on Linux OS, macOS,
or related systems that support both 64-bit and 32-bit libraries), perform the following steps:
</P>
<OL>
Expand All @@ -88,7 +88,7 @@ <H3>Software prerequisites:</H3>
By default, the libraries will be built in sub-directories within the build/ directory.
The sub-directories are named according to the operating system, architecture, compiler and software environment used
(the sub-directory names also distinguish release vs. debug libraries). On Linux OS, the software environment comprises
the GCC, libc and kernel version used. On OS X, the software environment comprises the GCC and OS version used.
the GCC, libc and kernel version used. On macOS, the software environment comprises the GCC and OS version used.
On Windows OS, the software environment comprises the Microsoft* Visual Studio* version used.
See below for how to change the default build directory.
</P>
Expand Down Expand Up @@ -124,7 +124,7 @@ <H3>Software prerequisites:</H3>
<DT><TT>make compiler=<B>{</B>icl, icc, gcc, clang<B>}</B> <B>[</B>(above options or targets)<B>]</B></TT>
<DD>Build and run as above, but use specified compilers instead of default, native compilers
<ol>
<li><tt><b> {</b>icl, icc<b>}</b> </tt> - to use Intel&reg; compilers (<tt>icl</tt> on Windows OS, <tt>icc</tt> on Linux OS or OS X). </li>
<li><tt><b> {</b>icl, icc<b>}</b> </tt> - to use Intel&reg; compilers (<tt>icl</tt> on Windows OS, <tt>icc</tt> on Linux OS or macOS). </li>
<li><tt>gcc</tt> - to use g++ (e.g. MinGW on Windows OS)</li>
<li><tt>clang</tt> - to use Clang compiler</li>
</ol>
Expand Down Expand Up @@ -233,7 +233,7 @@ <H4>To port the Makefile infrastructure:</H4>
<HR>
<A HREF="../index.html">Up to parent directory</A>
<P></P>
Copyright &copy; 2005-2016 Intel Corporation. All Rights Reserved.
Copyright &copy; 2005-2017 Intel Corporation. All Rights Reserved.
<P></P>
Intel, the Intel logo and Itanium are trademarks of Intel Corporation or its subsidiaries in the U.S. and/or other countries.
<p></p>
Expand Down
2 changes: 1 addition & 1 deletion build/ios.clang.inc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2005-2016 Intel Corporation
# Copyright (c) 2005-2017 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion build/ios.macos.inc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2005-2016 Intel Corporation
# Copyright (c) 2005-2017 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion build/linux.clang.inc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2005-2016 Intel Corporation
# Copyright (c) 2005-2017 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion build/linux.gcc.inc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2005-2016 Intel Corporation
# Copyright (c) 2005-2017 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion build/linux.icc.inc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2005-2016 Intel Corporation
# Copyright (c) 2005-2017 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions build/linux.inc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2005-2016 Intel Corporation
# Copyright (c) 2005-2017 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -99,7 +99,7 @@ SONAME_SUFFIX =$(shell grep TBB_COMPATIBLE_INTERFACE_VERSION $(tbb_root)/include
ifeq ($(arch),ia64)
def_prefix = lin64ipf
endif
ifeq ($(arch),sparc s390x)
ifneq (,$(findstring $(arch),sparc s390x))
def_prefix = lin64
endif
ifeq ($(arch),armv7)
Expand Down
2 changes: 1 addition & 1 deletion build/linux.pathcc.inc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2005-2016 Intel Corporation
# Copyright (c) 2005-2017 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion build/linux.xl.inc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2005-2016 Intel Corporation
# Copyright (c) 2005-2017 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion build/macos.clang.inc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2005-2016 Intel Corporation
# Copyright (c) 2005-2017 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion build/macos.gcc.inc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2005-2016 Intel Corporation
# Copyright (c) 2005-2017 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion build/macos.icc.inc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2005-2016 Intel Corporation
# Copyright (c) 2005-2017 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion build/macos.inc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2005-2016 Intel Corporation
# Copyright (c) 2005-2017 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
Loading

0 comments on commit dc82836

Please sign in to comment.