Compare commits
1
Commits
tbb_tutorials
..
4.4
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a0eae696ad |
@@ -1,45 +0,0 @@
|
||||
# Set the default behavior, in case people don't have core.autocrlf set.
|
||||
* text=auto
|
||||
|
||||
# Explicitly declare text files you want to always be normalized and converted
|
||||
# to native line endings on checkout.
|
||||
*.c text
|
||||
*.h text
|
||||
*.cpp text
|
||||
*.def text
|
||||
*.rc text
|
||||
*.i text
|
||||
*.sh text
|
||||
*.csh text
|
||||
*.mk text
|
||||
*.java text
|
||||
*.csv text
|
||||
*.lst text
|
||||
*.asm text
|
||||
*.cfg text
|
||||
*.css text
|
||||
*.inc text
|
||||
*.js text
|
||||
*.rb text
|
||||
*.strings text
|
||||
*.txt text
|
||||
*export.lst text
|
||||
*.xml text
|
||||
*.py text
|
||||
*.md text
|
||||
*.classpath text
|
||||
*.cproject text
|
||||
*.project text
|
||||
*.properties text
|
||||
*.java text
|
||||
*.gradle text
|
||||
|
||||
# Declare files that will always have CRLF line endings on checkout.
|
||||
*.sln text eol=crlf
|
||||
*.bat text eol=crlf
|
||||
|
||||
# Denote all files that are truly binary and should not be modified.
|
||||
*.png binary
|
||||
*.jpg binary
|
||||
*.ico binary
|
||||
*.spir binary
|
||||
-86
@@ -1,86 +0,0 @@
|
||||
# Ignore the debug and release directories created with Makefile builds #
|
||||
#########################################################################
|
||||
build/*_debug/
|
||||
build/*_release/
|
||||
|
||||
# Compiled source #
|
||||
###################
|
||||
*.com
|
||||
*.class
|
||||
*.dll
|
||||
*.lib
|
||||
*.pdb
|
||||
*.exe
|
||||
*.o
|
||||
*.so
|
||||
*.so.1
|
||||
*.so.2
|
||||
*.dylib
|
||||
*.a
|
||||
*.obj
|
||||
*.pyc
|
||||
|
||||
*.orig
|
||||
*.raw
|
||||
*.sample
|
||||
*.slo
|
||||
*.swp
|
||||
*.config
|
||||
*.la
|
||||
*.lai
|
||||
*.lo
|
||||
*.nhdr
|
||||
*.nii.gz
|
||||
*.nrrd
|
||||
|
||||
# Packages #
|
||||
############
|
||||
# it's better to unpack these files and commit the raw source
|
||||
# git has its own built in compression methods
|
||||
*.7z
|
||||
*.dmg
|
||||
*.gz
|
||||
*.iso
|
||||
*.jar
|
||||
*.rar
|
||||
*.tar
|
||||
*.tgz
|
||||
*.zip
|
||||
|
||||
# Logs and databases #
|
||||
######################
|
||||
*.log
|
||||
*.sql
|
||||
*.sqlite
|
||||
|
||||
# OS generated files #
|
||||
######################
|
||||
.DS_Store
|
||||
.DS_Store?
|
||||
._*
|
||||
.Spotlight-V100
|
||||
.Trashes
|
||||
ehthumbs.db
|
||||
Thumbs.db
|
||||
|
||||
# IDE generated files #
|
||||
######################
|
||||
/.ninja_deps
|
||||
/.ninja_log
|
||||
/build.ninja
|
||||
/rules.ninja
|
||||
*~
|
||||
.emacs.desktop
|
||||
|
||||
# Build system generated files #
|
||||
################################
|
||||
CMakeCache.txt
|
||||
CMakeFiles/
|
||||
|
||||
# Other #
|
||||
#########
|
||||
.clang_complete
|
||||
.idea
|
||||
.svn
|
||||
crash*
|
||||
*.tmp
|
||||
@@ -2,498 +2,9 @@
|
||||
The list of most significant changes made over time in
|
||||
Intel(R) Threading Building Blocks (Intel(R) TBB).
|
||||
|
||||
Intel TBB 2018 Update 2
|
||||
TBB_INTERFACE_VERSION == 10002
|
||||
|
||||
Changes (w.r.t. Intel TBB 2018 Update 1):
|
||||
|
||||
- Added support for Android* NDK r16, macOS* 10.13, Fedora* 26.
|
||||
- Binaries for Universal Windows Driver (vc14_uwd) now link with static
|
||||
Microsoft* runtime libraries, and are only available in commercial
|
||||
releases.
|
||||
- Extended flow graph documentation with more code samples.
|
||||
|
||||
Preview Features:
|
||||
|
||||
- Added a Python* module for multi-processing computations in numeric
|
||||
Python* libraries.
|
||||
|
||||
Bugs fixed:
|
||||
|
||||
- Fixed constructors of concurrent_hash_map to be exception-safe.
|
||||
- Fixed auto-initialization in the main thread to be cleaned up at
|
||||
shutdown.
|
||||
- Fixed a crash when tbbmalloc_proxy is used together with dbghelp.
|
||||
- Fixed static_partitioner to assign tasks properly in case of nested
|
||||
parallelism.
|
||||
|
||||
------------------------------------------------------------------------
|
||||
Intel TBB 2018 Update 1
|
||||
TBB_INTERFACE_VERSION == 10001
|
||||
|
||||
Changes (w.r.t. Intel TBB 2018):
|
||||
|
||||
- Added lambda-friendly overloads for parallel_scan.
|
||||
- Added support of static and simple partitioners in
|
||||
parallel_deterministic_reduce.
|
||||
|
||||
Preview Features:
|
||||
|
||||
- Added initial support for Flow Graph Analyzer to parallel_for.
|
||||
- Added reservation support in overwrite_node and write_once_node.
|
||||
|
||||
Bugs fixed:
|
||||
|
||||
- Fixed a potential deadlock scenario in the flow graph that affected
|
||||
Intel TBB 2018.
|
||||
|
||||
------------------------------------------------------------------------
|
||||
Intel TBB 2018
|
||||
TBB_INTERFACE_VERSION == 10000
|
||||
|
||||
Changes (w.r.t. Intel TBB 2017 Update 7):
|
||||
|
||||
- Introduced Parallel STL, an implementation of the C++ standard
|
||||
library algorithms with support for execution policies. For more
|
||||
information, see Getting Started with Parallel STL
|
||||
(https://software.intel.com/en-us/get-started-with-pstl).
|
||||
- this_task_arena::isolate() function is now a fully supported feature.
|
||||
- this_task_arena::isolate() function and task_arena::execute() method
|
||||
were extended to pass on the value returned by the executed functor
|
||||
(requires C++11).
|
||||
- task_arena::enqueue() and task_group::run() methods extended to accept
|
||||
move-only functors.
|
||||
- A flow graph now spawns all tasks into the same task arena,
|
||||
and waiting for graph completion also happens in that arena.
|
||||
- Improved support for Flow Graph Analyzer in async_node, opencl_node,
|
||||
and composite_node.
|
||||
- Added support for Android* NDK r15, r15b.
|
||||
- Added support for Universal Windows Platform.
|
||||
- Increased minimally supported version of macOS*
|
||||
(MACOSX_DEPLOYMENT_TARGET) to 10.11.
|
||||
|
||||
Changes affecting backward compatibility:
|
||||
|
||||
- Internal layout changes in some flow graph classes;
|
||||
- Several undocumented methods are removed from class graph,
|
||||
including set_active() and is_active().
|
||||
- Due to incompatible changes, the namespace version is updated
|
||||
for the flow graph; recompilation is recommended for all
|
||||
binaries that use the flow graph classes.
|
||||
|
||||
Preview Features:
|
||||
|
||||
- opencl_node can be used with any graph object; class opencl_graph
|
||||
is removed.
|
||||
- graph::wait_for_all() now automatically waits for all not yet consumed
|
||||
async_msg objects.
|
||||
- Improved concurrent_lru_cache::handle_object to support C++11 move
|
||||
semantics, default construction, and conversion to bool.
|
||||
|
||||
Bugs fixed:
|
||||
|
||||
- Fixed a bug preventing use of streaming_node and opencl_node with
|
||||
Clang; inspired by a contribution from Francisco Facioni.
|
||||
- Fixed this_task_arena::isolate() function to work correctly with
|
||||
parallel_invoke and parallel_do algorithms.
|
||||
- Fixed a memory leak in composite_node.
|
||||
- Fixed an assertion failure in debug tbbmalloc binaries when
|
||||
TBBMALLOC_CLEAN_ALL_BUFFERS is used.
|
||||
|
||||
------------------------------------------------------------------------
|
||||
Intel TBB 2017 Update 8
|
||||
TBB_INTERFACE_VERSION == 9108
|
||||
|
||||
Changes (w.r.t. Intel TBB 2017 Update 7):
|
||||
|
||||
Bugs fixed:
|
||||
|
||||
- Fixed an assertion failure in debug tbbmalloc binaries when
|
||||
TBBMALLOC_CLEAN_ALL_BUFFERS is used.
|
||||
|
||||
------------------------------------------------------------------------
|
||||
Intel TBB 2017 Update 7
|
||||
TBB_INTERFACE_VERSION == 9107
|
||||
|
||||
Changes (w.r.t. Intel TBB 2017 Update 6):
|
||||
|
||||
- In the huge pages mode, the memory allocator now is also able to use
|
||||
transparent huge pages.
|
||||
|
||||
Preview Features:
|
||||
|
||||
- Added support for Intel TBB integration into CMake-aware
|
||||
projects, with valuable guidance and feedback provided by Brad King
|
||||
(Kitware).
|
||||
|
||||
Bugs fixed:
|
||||
|
||||
- Fixed scalable_allocation_command(TBBMALLOC_CLEAN_ALL_BUFFERS, 0)
|
||||
to process memory left after exited threads.
|
||||
|
||||
------------------------------------------------------------------------
|
||||
Intel TBB 2017 Update 6
|
||||
TBB_INTERFACE_VERSION == 9106
|
||||
|
||||
Changes (w.r.t. Intel TBB 2017 Update 5):
|
||||
|
||||
- Added support for Android* NDK r14.
|
||||
|
||||
Preview Features:
|
||||
|
||||
- Added a blocking terminate extension to the task_scheduler_init class
|
||||
that allows an object to wait for termination of worker threads.
|
||||
|
||||
Bugs fixed:
|
||||
|
||||
- Fixed compilation and testing issues with MinGW (GCC 6).
|
||||
- Fixed compilation with /std:c++latest option of VS 2017
|
||||
(https://github.com/01org/tbb/issues/13).
|
||||
|
||||
------------------------------------------------------------------------
|
||||
Intel TBB 2017 Update 5
|
||||
TBB_INTERFACE_VERSION == 9105
|
||||
|
||||
Changes (w.r.t. Intel TBB 2017 Update 4):
|
||||
|
||||
- Added support for Microsoft* Visual Studio* 2017.
|
||||
- Added graph/matmult example to demonstrate support for compute offload
|
||||
to Intel(R) Graphics Technology in the flow graph API.
|
||||
- The "compiler" build option now allows to specify a full path to the
|
||||
compiler.
|
||||
|
||||
Changes affecting backward compatibility:
|
||||
|
||||
- Constructors for many classes, including graph nodes, concurrent
|
||||
containers, thread-local containers, etc., are declared explicit and
|
||||
cannot be used for implicit conversions anymore.
|
||||
|
||||
Bugs fixed:
|
||||
|
||||
- Added a workaround for bug 16657 in the GNU C Library (glibc)
|
||||
affecting the debug version of tbb::mutex.
|
||||
- Fixed a crash in pool_identify() called for an object allocated in
|
||||
another thread.
|
||||
|
||||
------------------------------------------------------------------------
|
||||
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
|
||||
|
||||
Changes (w.r.t. Intel TBB 2017 Update 2):
|
||||
|
||||
- Added support for Android* 7.0 and Android* NDK r13, r13b.
|
||||
|
||||
Preview Features:
|
||||
|
||||
- Added template class gfx_factory to the flow graph API. It implements
|
||||
the Factory concept for streaming_node to offload computations to
|
||||
Intel(R) processor graphics.
|
||||
|
||||
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
|
||||
|
||||
Changes (w.r.t. Intel TBB 2017 Update 1):
|
||||
|
||||
- Removed the long-outdated support for Xbox* consoles.
|
||||
|
||||
Bugs fixed:
|
||||
|
||||
- Fixed the issue with task_arena::execute() not being processed when
|
||||
the calling thread cannot join the arena.
|
||||
- Fixed dynamic memory allocation replacement failure on macOS* 10.12.
|
||||
|
||||
------------------------------------------------------------------------
|
||||
Intel TBB 2017 Update 1
|
||||
TBB_INTERFACE_VERSION == 9101
|
||||
|
||||
Changes (w.r.t. Intel TBB 2017):
|
||||
|
||||
Bugs fixed:
|
||||
|
||||
- Fixed dynamic memory allocation replacement failures on Windows* 10
|
||||
Anniversary Update.
|
||||
- Fixed emplace() method of concurrent unordered containers to not
|
||||
require a copy constructor.
|
||||
|
||||
------------------------------------------------------------------------
|
||||
Intel TBB 2017
|
||||
TBB_INTERFACE_VERSION == 9100
|
||||
|
||||
Changes (w.r.t. Intel TBB 4.4 Update 5):
|
||||
|
||||
- static_partitioner class is now a fully supported feature.
|
||||
- async_node class is now a fully supported feature.
|
||||
- Improved dynamic memory allocation replacement on Windows* OS to skip
|
||||
DLLs for which replacement cannot be done, instead of aborting.
|
||||
- Intel TBB no longer performs dynamic memory allocation replacement
|
||||
for Microsoft* Visual Studio* 2008.
|
||||
- For 64-bit platforms, quadrupled the worst-case limit on the amount
|
||||
of memory the Intel TBB allocator can handle.
|
||||
- Added TBB_USE_GLIBCXX_VERSION macro to specify the version of GNU
|
||||
libstdc++ when it cannot be properly recognized, e.g. when used
|
||||
with Clang on Linux* OS. Inspired by a contribution from David A.
|
||||
- Added graph/stereo example to demostrate tbb::flow::async_msg.
|
||||
- Removed a few cases of excessive user data copying in the flow graph.
|
||||
- Reworked split_node to eliminate unnecessary overheads.
|
||||
- Added support for C++11 move semantics to the argument of
|
||||
tbb::parallel_do_feeder::add() method.
|
||||
- Added C++11 move constructor and assignment operator to
|
||||
tbb::combinable template class.
|
||||
- Added tbb::this_task_arena::max_concurrency() function and
|
||||
max_concurrency() method of class task_arena returning the maximal
|
||||
number of threads that can work inside an arena.
|
||||
- Deprecated tbb::task_arena::current_thread_index() static method;
|
||||
use tbb::this_task_arena::current_thread_index() function instead.
|
||||
- All examples for commercial version of library moved online:
|
||||
https://software.intel.com/en-us/product-code-samples. Examples are
|
||||
available as a standalone package or as a part of Intel(R) Parallel
|
||||
Studio XE or Intel(R) System Studio Online Samples packages.
|
||||
|
||||
Changes affecting backward compatibility:
|
||||
|
||||
- Renamed following methods and types in async_node class:
|
||||
Old New
|
||||
async_gateway_type => gateway_type
|
||||
async_gateway() => gateway()
|
||||
async_try_put() => try_put()
|
||||
async_reserve() => reserve_wait()
|
||||
async_commit() => release_wait()
|
||||
- Internal layout of some flow graph nodes has changed; recompilation
|
||||
is recommended for all binaries that use the flow graph.
|
||||
|
||||
Preview Features:
|
||||
|
||||
- Added template class streaming_node to the flow graph API. It allows
|
||||
a flow graph to offload computations to other devices through
|
||||
streaming or offloading APIs.
|
||||
- Template class opencl_node reimplemented as a specialization of
|
||||
streaming_node that works with OpenCL*.
|
||||
- Added tbb::this_task_arena::isolate() function to isolate execution
|
||||
of a group of tasks or an algorithm from other tasks submitted
|
||||
to the scheduler.
|
||||
|
||||
Bugs fixed:
|
||||
|
||||
- Added a workaround for GCC bug #62258 in std::rethrow_exception()
|
||||
to prevent possible problems in case of exception propagation.
|
||||
- Fixed parallel_scan to provide correct result if the initial value
|
||||
of an accumulator is not the operation identity value.
|
||||
- Fixed a memory corruption in the memory allocator when it meets
|
||||
internal limits.
|
||||
- Fixed the memory allocator on 64-bit platforms to align memory
|
||||
to 16 bytes by default for all allocations bigger than 8 bytes.
|
||||
- As a workaround for crashes in the Intel TBB library compiled with
|
||||
GCC 6, added -flifetime-dse=1 to compilation options on Linux* OS.
|
||||
- Fixed a race in the flow graph implementation.
|
||||
|
||||
Open-source contributions integrated:
|
||||
|
||||
- Enabling use of C++11 'override' keyword by Raf Schietekat.
|
||||
|
||||
------------------------------------------------------------------------
|
||||
Intel TBB 4.4 Update 6
|
||||
TBB_INTERFACE_VERSION == 9006
|
||||
|
||||
Changes (w.r.t. Intel TBB 4.4 Update 5):
|
||||
|
||||
- For 64-bit platforms, quadrupled the worst-case limit on the amount
|
||||
of memory the Intel TBB allocator can handle.
|
||||
|
||||
Bugs fixed:
|
||||
|
||||
- Fixed a memory corruption in the memory allocator when it meets
|
||||
internal limits.
|
||||
- Fixed the memory allocator on 64-bit platforms to align memory
|
||||
to 16 bytes by default for all allocations bigger than 8 bytes.
|
||||
- Fixed parallel_scan to provide correct result if the initial value
|
||||
of an accumulator is not the operation identity value.
|
||||
- As a workaround for crashes in the Intel TBB library compiled with
|
||||
GCC 6, added -flifetime-dse=1 to compilation options on Linux* OS.
|
||||
|
||||
------------------------------------------------------------------------
|
||||
Intel TBB 4.4 Update 5
|
||||
TBB_INTERFACE_VERSION == 9005
|
||||
|
||||
Changes (w.r.t. Intel TBB 4.4 Update 4):
|
||||
|
||||
- Modified graph/fgbzip2 example to remove unnecessary data queuing.
|
||||
|
||||
Preview Features:
|
||||
|
||||
- Added a Python* module which is able to replace Python's thread pool
|
||||
class with the implementation based on Intel TBB task scheduler.
|
||||
|
||||
Bugs fixed:
|
||||
|
||||
- Fixed the implementation of 64-bit tbb::atomic for IA-32 architecture
|
||||
to work correctly with GCC 5.2 in C++11/14 mode.
|
||||
- Fixed a possible crash when tasks with affinity (e.g. specified via
|
||||
affinity_partitioner) are used simultaneously with task priority
|
||||
changes.
|
||||
|
||||
------------------------------------------------------------------------
|
||||
Intel TBB 4.4 Update 4
|
||||
TBB_INTERFACE_VERSION == 9004
|
||||
|
||||
Changes (w.r.t. Intel TBB 4.4 Update 3):
|
||||
|
||||
- Removed a few cases of excessive user data copying in the flow graph.
|
||||
- Improved robustness of concurrent_bounded_queue::abort() in case of
|
||||
simultaneous push and pop operations.
|
||||
|
||||
Preview Features:
|
||||
|
||||
- Added tbb::flow::async_msg, a special message type to support
|
||||
communications between the flow graph and external asynchronous
|
||||
activities.
|
||||
- async_node modified to support use with C++03 compilers.
|
||||
|
||||
Bugs fixed:
|
||||
|
||||
- Fixed a bug in dynamic memory allocation replacement for Windows* OS.
|
||||
- Fixed excessive memory consumption on Linux* OS caused by enabling
|
||||
zero-copy realloc.
|
||||
- Fixed performance regression on Intel(R) Xeon Phi(tm) coprocessor with
|
||||
auto_partitioner.
|
||||
|
||||
------------------------------------------------------------------------
|
||||
Intel TBB 4.4 Update 3
|
||||
TBB_INTERFACE_VERSION == 9003
|
||||
|
||||
Changes (w.r.t. Intel TBB 4.4 Update 2):
|
||||
|
||||
- Modified parallel_sort to not require a default constructor for values
|
||||
and to use iter_swap() for value swapping.
|
||||
- Added support for creating or initializing a task_arena instance that
|
||||
is connected to the arena currently used by the thread.
|
||||
- graph/binpack example modified to use multifunction_node.
|
||||
- For performance analysis, use Intel(R) VTune(TM) Amplifier XE 2015
|
||||
and higher; older versions are no longer supported.
|
||||
- Improved support for compilation with disabled RTTI, by omitting its use
|
||||
in auxiliary code, such as assertions. However some functionality,
|
||||
particularly the flow graph, does not work if RTTI is disabled.
|
||||
- The tachyon example for Android* can be built using Android Studio 1.5
|
||||
and higher with experimental Gradle plugin 0.4.0.
|
||||
|
||||
Preview Features:
|
||||
|
||||
- Added class opencl_subbufer that allows using OpenCL* sub-buffer
|
||||
objects with opencl_node.
|
||||
- Class global_control supports the value of 1 for
|
||||
max_allowed_parallelism.
|
||||
|
||||
Bugs fixed:
|
||||
|
||||
- Fixed a race causing "TBB Warning: setaffinity syscall failed" message.
|
||||
- Fixed a compilation issue on OS X* with Intel(R) C++ Compiler 15.0.
|
||||
- Fixed a bug in queuing_rw_mutex::downgrade() that could temporarily
|
||||
block new readers.
|
||||
- Fixed speculative_spin_rw_mutex to stop using the lazy subscription
|
||||
technique due to its known flaws.
|
||||
- Fixed memory leaks in the tool support code.
|
||||
|
||||
------------------------------------------------------------------------
|
||||
Intel TBB 4.4 Update 2
|
||||
TBB_INTERFACE_VERSION == 9002
|
||||
|
||||
Changes (w.r.t. Intel TBB 4.4 Update 1):
|
||||
|
||||
- Improved interoperability with Intel(R) OpenMP RTL (libiomp) on Linux:
|
||||
OpenMP affinity settings do not affect the default number of threads
|
||||
used in the task scheduler. Intel(R) C++ Compiler 16.0 Update 1
|
||||
or later is required.
|
||||
- Added a new flow graph example with different implementations of the
|
||||
Cholesky Factorization algorithm.
|
||||
|
||||
Preview Features:
|
||||
|
||||
- Added template class opencl_node to the flow graph API. It allows a
|
||||
flow graph to offload computations to OpenCL* devices.
|
||||
- Extended join_node to use type-specified message keys. It simplifies
|
||||
the API of the node by obtaining message keys via functions
|
||||
associated with the message type (instead of node ports).
|
||||
- Added static_partitioner that minimizes overhead of parallel_for and
|
||||
parallel_reduce for well-balanced workloads.
|
||||
- Improved template class async_node in the flow graph API to support
|
||||
user settable concurrency limits.
|
||||
|
||||
Bugs fixed:
|
||||
|
||||
- Fixed a possible crash in the GUI layer for library examples on Linux.
|
||||
|
||||
------------------------------------------------------------------------
|
||||
Intel TBB 4.4 Update 1
|
||||
TBB_INTERFACE_VERSION == 9001
|
||||
|
||||
Changes (w.r.t. Intel TBB 4.4):
|
||||
|
||||
- Added support for Microsoft* Visual Studio* 2015.
|
||||
- Intel TBB no longer performs dynamic replacement of memory allocation
|
||||
functions for Microsoft Visual Studio 2005 and earlier versions.
|
||||
- For GCC 4.7 and higher, the intrinsics-based platform isolation layer
|
||||
uses __atomic_* built-ins instead of the legacy __sync_* ones.
|
||||
This change is inspired by a contribution from Mathieu Malaterre.
|
||||
- Improvements in task_arena:
|
||||
Several application threads may join a task_arena and execute tasks
|
||||
simultaneously. The amount of concurrency reserved for application
|
||||
threads at task_arena construction can be set to any value between
|
||||
0 and the arena concurrency limit.
|
||||
- The fractal example was modified to demonstrate class task_arena
|
||||
and moved to examples/task_arena/fractal.
|
||||
|
||||
Bugs fixed:
|
||||
|
||||
- Fixed a deadlock during destruction of task_scheduler_init objects
|
||||
when one of destructors is set to wait for worker threads.
|
||||
- Added a workaround for a possible crash on OS X* when dynamic memory
|
||||
allocator replacement (libtbbmalloc_proxy) is used and memory is
|
||||
released during application startup.
|
||||
- Usage of mutable functors with task_group::run_and_wait() and
|
||||
task_arena::enqueue() is disabled. An attempt to pass a functor
|
||||
which operator()() is not const will produce compilation errors.
|
||||
- Makefiles and environment scripts now properly recognize GCC 5.0 and
|
||||
higher.
|
||||
|
||||
Open-source contributions integrated:
|
||||
|
||||
- Improved performance of parallel_for_each for inputs allowing random
|
||||
access, by Raf Schietekat.
|
||||
|
||||
------------------------------------------------------------------------
|
||||
Intel TBB 4.4
|
||||
TBB_INTERFACE_VERSION == 9000
|
||||
|
||||
Changes (w.r.t. Intel TBB 4.3 Update 6):
|
||||
|
||||
- The following features are now fully supported:
|
||||
tbb::flow::composite_node;
|
||||
additional policies of tbb::flow::graph_node::reset().
|
||||
@@ -549,7 +60,6 @@ Intel TBB 4.3 Update 6
|
||||
TBB_INTERFACE_VERSION == 8006
|
||||
|
||||
Changes (w.r.t. Intel TBB 4.3 Update 5):
|
||||
|
||||
- Supported zero-copy realloc for objects >1MB under Linux* via
|
||||
mremap system call.
|
||||
- C++11 move-aware insert and emplace methods have been added to
|
||||
@@ -557,7 +67,6 @@ Changes (w.r.t. Intel TBB 4.3 Update 5):
|
||||
- install_name is set to @rpath/<library name> on OS X*.
|
||||
|
||||
Preview Features:
|
||||
|
||||
- Added template class async_node to the flow graph API. It allows a
|
||||
flow graph to communicate with an external activity managed by
|
||||
the user or another runtime.
|
||||
@@ -566,7 +75,6 @@ Preview Features:
|
||||
- extract() method of graph nodes now takes no arguments.
|
||||
|
||||
Bugs fixed:
|
||||
|
||||
- concurrent_unordered_{set,map} behaves correctly for degenerate
|
||||
hashes.
|
||||
- Fixed a race condition in the memory allocator that may lead to
|
||||
@@ -577,11 +85,9 @@ Intel TBB 4.3 Update 5
|
||||
TBB_INTERFACE_VERSION == 8005
|
||||
|
||||
Changes (w.r.t. Intel TBB 4.3 Update 4):
|
||||
|
||||
- Added add_ref_count() method of class tbb::task.
|
||||
|
||||
Preview Features:
|
||||
|
||||
- Added class global_control for application-wide control of allowed
|
||||
parallelism and thread stack size.
|
||||
- memory_pool_allocator now throws the std::bad_alloc exception on
|
||||
@@ -590,7 +96,6 @@ Preview Features:
|
||||
std::bad_alloc to std::invalid_argument and std::runtime_error.
|
||||
|
||||
Bugs fixed:
|
||||
|
||||
- scalable_allocator now throws the std::bad_alloc exception on
|
||||
allocation failure.
|
||||
- Fixed a race condition in the memory allocator that may lead to
|
||||
@@ -599,7 +104,6 @@ Bugs fixed:
|
||||
might be unable to modify the number of worker threads.
|
||||
|
||||
Open-source contributions integrated:
|
||||
|
||||
- (Added but not enabled) push_front() method of class tbb::task_list
|
||||
by Raf Schietekat.
|
||||
|
||||
@@ -608,7 +112,6 @@ Intel TBB 4.3 Update 4
|
||||
TBB_INTERFACE_VERSION == 8004
|
||||
|
||||
Changes (w.r.t. Intel TBB 4.3 Update 3):
|
||||
|
||||
- Added a C++11 variadic constructor for enumerable_thread_specific.
|
||||
The arguments from this constructor are used to construct
|
||||
thread-local values.
|
||||
@@ -620,7 +123,6 @@ Changes (w.r.t. Intel TBB 4.3 Update 3):
|
||||
concurrent unordered containers.
|
||||
|
||||
Preview Features:
|
||||
|
||||
- Interface-breaking change: typedefs changed for node predecessor and
|
||||
successor lists, affecting copy_predecessors and copy_successors
|
||||
methods.
|
||||
@@ -630,7 +132,6 @@ Preview Features:
|
||||
automatically using the node port with index 0 for an edge.
|
||||
|
||||
Open-source contributions integrated:
|
||||
|
||||
- Draft code for enumerable_thread_specific constructor with multiple
|
||||
arguments (see above) by Adrien Guinet.
|
||||
- Fix for GCC invocation on IBM* Blue Gene*
|
||||
@@ -858,7 +359,7 @@ Bugs fixed:
|
||||
|
||||
- Fixed data races in preview extensions of task_scheduler_observer.
|
||||
- Added noexcept(false) for destructor of task_group_base to avoid
|
||||
crash on cancellation of structured task group in C++11.
|
||||
crash on cancelation of structured task group in C++11.
|
||||
|
||||
Open-source contributions integrated:
|
||||
|
||||
@@ -874,7 +375,7 @@ TBB_INTERFACE_VERSION == 7003
|
||||
Changes (w.r.t. Intel TBB 4.2 Update 2):
|
||||
|
||||
- Added support for Microsoft* Visual Studio* 2013.
|
||||
- Improved Microsoft* PPL-compatible form of parallel_for for better
|
||||
- Improved Microsoft* PPL-compatible form of parallel_for for better
|
||||
support of auto-vectorization.
|
||||
- Added a new example for cancellation and reset in the flow graph:
|
||||
Kohonen self-organizing map (examples/graph/som).
|
||||
@@ -940,7 +441,7 @@ Preview Features:
|
||||
- Class task_arena no longer requires linking with a preview library,
|
||||
though still remains a community preview feature.
|
||||
- The method task_arena::wait_until_empty() is removed.
|
||||
- The method task_arena::current_slot() now returns -1 if
|
||||
- The method task_arena::current_slot() now returns -1 if
|
||||
the task scheduler is not initialized in the thread.
|
||||
|
||||
Changes affecting backward compatibility:
|
||||
@@ -1121,7 +622,7 @@ Changes (w.r.t. Intel TBB 4.1):
|
||||
any platform supported by compiler version 12.1 and newer.
|
||||
- Using GetNativeSystemInfo() instead of GetSystemInfo() to support
|
||||
more than 32 processors for 32-bit applications under WOW64.
|
||||
- The following form of parallel_for:
|
||||
- The following form of parallel_for:
|
||||
parallel_for(first, last, [step,] f[, context]) now accepts an
|
||||
optional partitioner parameter after the function f.
|
||||
|
||||
@@ -1192,7 +693,7 @@ Changes (w.r.t. Intel TBB 4.0 Update 4):
|
||||
|
||||
Bugs fixed:
|
||||
|
||||
- Fixed a tv_nsec overflow bug in condition_variable::wait_for.
|
||||
- Fixed a tv_nsec overflow bug in condition_variable::wait_for.
|
||||
- Fixed execution order of enqueued tasks with different priorities.
|
||||
- Fixed a bug with task priority changes causing lack of progress
|
||||
for fire-and-forget tasks when TBB was initialized to use 1 thread.
|
||||
@@ -1261,7 +762,7 @@ Changes (w.r.t. Intel TBB 4.0 Update 2):
|
||||
Backward-incompatible API changes:
|
||||
|
||||
- a graph reference parameter is now required to be passed to the
|
||||
constructors of the following flow graph nodes: overwrite_node,
|
||||
constructors of the following flow graph nodes: overwrite_node,
|
||||
write_once_node, broadcast_node, and the CPF or_node.
|
||||
- the following tbb::flow node methods and typedefs have been renamed:
|
||||
Old New
|
||||
@@ -1282,10 +783,10 @@ TBB_INTERFACE_VERSION == 6002
|
||||
|
||||
Changes (w.r.t. Intel TBB 4.0 Update 1 commercial-aligned release):
|
||||
|
||||
- concurrent_bounded_queue now has an abort() operation that releases
|
||||
threads involved in pending push or pop operations. The released
|
||||
- concurrent_bounded_queue now has an abort() operation that releases
|
||||
threads involved in pending push or pop operations. The released
|
||||
threads will receive a tbb::user_abort exception.
|
||||
- Added Community Preview Feature: concurrent_lru_cache container,
|
||||
- Added Community Preview Feature: concurrent_lru_cache container,
|
||||
a concurrent implementation of LRU (least-recently-used) cache.
|
||||
|
||||
Bugs fixed:
|
||||
@@ -1376,8 +877,8 @@ TBB_INTERFACE_VERSION == 5006 (forgotten to increment)
|
||||
|
||||
Changes (w.r.t. Intel TBB 3.0 Update 6 commercial-aligned release):
|
||||
|
||||
- Added implementation of the platform isolation layer based on
|
||||
GCC atomic built-ins; it is supposed to work on any platform
|
||||
- Added implementation of the platform isolation layer based on
|
||||
GCC atomic built-ins; it is supposed to work on any platform
|
||||
where GCC has these built-ins.
|
||||
|
||||
Community Preview Features:
|
||||
@@ -1454,9 +955,9 @@ Changes (w.r.t. Intel TBB 3.0 Update 3 commercial-aligned release):
|
||||
- Fixed library loading to avoid possibility for remote code execution,
|
||||
see http://www.microsoft.com/technet/security/advisory/2269637.mspx.
|
||||
- Added support of more than 64 cores for appropriate Microsoft*
|
||||
Windows* versions. For more details, see
|
||||
Windows* versions. For more details, see
|
||||
http://msdn.microsoft.com/en-us/library/dd405503.aspx.
|
||||
- Default number of worker threads is adjusted in accordance with
|
||||
- Default number of worker threads is adjusted in accordance with
|
||||
process affinity mask.
|
||||
|
||||
Bugs fixed:
|
||||
@@ -1541,7 +1042,7 @@ Bugs fixed:
|
||||
was a temporary object.
|
||||
- Incorrect usage of memory fences on PowerPC and XBOX360 platforms.
|
||||
- A subtle issue in task group context binding that could result
|
||||
in cancellation signal being missed by nested task groups.
|
||||
in cancelation signal being missed by nested task groups.
|
||||
- Incorrect construction of concurrent_unordered_map if specified
|
||||
number of buckets is not power of two.
|
||||
- Broken count() and equal_range() of concurrent_unordered_map.
|
||||
@@ -2462,8 +1963,7 @@ Packaging:
|
||||
are provided separately on Intel(R) Premier.
|
||||
|
||||
------------------------------------------------------------------------
|
||||
Intel, the Intel logo, Xeon, Intel Xeon Phi, and Cilk are registered
|
||||
trademarks or trademarks of Intel Corporation or its subsidiaries in
|
||||
the United States and other countries.
|
||||
Intel and Cilk are registered trademarks or trademarks of Intel Corporation or its
|
||||
subsidiaries in the United States and other countries.
|
||||
|
||||
* Other names and brands may be claimed as the property of others.
|
||||
|
||||
@@ -0,0 +1,353 @@
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 2, June 1991
|
||||
|
||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The licenses for most software are designed to take away your
|
||||
freedom to share and change it. By contrast, the GNU General Public
|
||||
License is intended to guarantee your freedom to share and change free
|
||||
software--to make sure the software is free for all its users. This
|
||||
General Public License applies to most of the Free Software
|
||||
Foundation's software and to any other program whose authors commit to
|
||||
using it. (Some other Free Software Foundation software is covered by
|
||||
the GNU Lesser General Public License instead.) You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
this service if you wish), that you receive source code or can get it
|
||||
if you want it, that you can change the software or use pieces of it
|
||||
in new free programs; and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to make restrictions that forbid
|
||||
anyone to deny you these rights or to ask you to surrender the rights.
|
||||
These restrictions translate to certain responsibilities for you if you
|
||||
distribute copies of the software, or if you modify it.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must give the recipients all the rights that
|
||||
you have. You must make sure that they, too, receive or can get the
|
||||
source code. And you must show them these terms so they know their
|
||||
rights.
|
||||
|
||||
We protect your rights with two steps: (1) copyright the software, and
|
||||
(2) offer you this license which gives you legal permission to copy,
|
||||
distribute and/or modify the software.
|
||||
|
||||
Also, for each author's protection and ours, we want to make certain
|
||||
that everyone understands that there is no warranty for this free
|
||||
software. If the software is modified by someone else and passed on, we
|
||||
want its recipients to know that what they have is not the original, so
|
||||
that any problems introduced by others will not reflect on the original
|
||||
authors' reputations.
|
||||
|
||||
Finally, any free program is threatened constantly by software
|
||||
patents. We wish to avoid the danger that redistributors of a free
|
||||
program will individually obtain patent licenses, in effect making the
|
||||
program proprietary. To prevent this, we have made it clear that any
|
||||
patent must be licensed for everyone's free use or not licensed at all.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. This License applies to any program or other work which contains
|
||||
a notice placed by the copyright holder saying it may be distributed
|
||||
under the terms of this General Public License. The "Program", below,
|
||||
refers to any such program or work, and a "work based on the Program"
|
||||
means either the Program or any derivative work under copyright law:
|
||||
that is to say, a work containing the Program or a portion of it,
|
||||
either verbatim or with modifications and/or translated into another
|
||||
language. (Hereinafter, translation is included without limitation in
|
||||
the term "modification".) Each licensee is addressed as "you".
|
||||
|
||||
Activities other than copying, distribution and modification are not
|
||||
covered by this License; they are outside its scope. The act of
|
||||
running the Program is not restricted, and the output from the Program
|
||||
is covered only if its contents constitute a work based on the
|
||||
Program (independent of having been made by running the Program).
|
||||
Whether that is true depends on what the Program does.
|
||||
|
||||
1. You may copy and distribute verbatim copies of the Program's
|
||||
source code as you receive it, in any medium, provided that you
|
||||
conspicuously and appropriately publish on each copy an appropriate
|
||||
copyright notice and disclaimer of warranty; keep intact all the
|
||||
notices that refer to this License and to the absence of any warranty;
|
||||
and give any other recipients of the Program a copy of this License
|
||||
along with the Program.
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy, and
|
||||
you may at your option offer warranty protection in exchange for a fee.
|
||||
|
||||
2. You may modify your copy or copies of the Program or any portion
|
||||
of it, thus forming a work based on the Program, and copy and
|
||||
distribute such modifications or work under the terms of Section 1
|
||||
above, provided that you also meet all of these conditions:
|
||||
|
||||
a) You must cause the modified files to carry prominent notices
|
||||
stating that you changed the files and the date of any change.
|
||||
|
||||
b) You must cause any work that you distribute or publish, that in
|
||||
whole or in part contains or is derived from the Program or any
|
||||
part thereof, to be licensed as a whole at no charge to all third
|
||||
parties under the terms of this License.
|
||||
|
||||
c) If the modified program normally reads commands interactively
|
||||
when run, you must cause it, when started running for such
|
||||
interactive use in the most ordinary way, to print or display an
|
||||
announcement including an appropriate copyright notice and a
|
||||
notice that there is no warranty (or else, saying that you provide
|
||||
a warranty) and that users may redistribute the program under
|
||||
these conditions, and telling the user how to view a copy of this
|
||||
License. (Exception: if the Program itself is interactive but
|
||||
does not normally print such an announcement, your work based on
|
||||
the Program is not required to print an announcement.)
|
||||
|
||||
These requirements apply to the modified work as a whole. If
|
||||
identifiable sections of that work are not derived from the Program,
|
||||
and can be reasonably considered independent and separate works in
|
||||
themselves, then this License, and its terms, do not apply to those
|
||||
sections when you distribute them as separate works. But when you
|
||||
distribute the same sections as part of a whole which is a work based
|
||||
on the Program, the distribution of the whole must be on the terms of
|
||||
this License, whose permissions for other licensees extend to the
|
||||
entire whole, and thus to each and every part regardless of who wrote it.
|
||||
|
||||
Thus, it is not the intent of this section to claim rights or contest
|
||||
your rights to work written entirely by you; rather, the intent is to
|
||||
exercise the right to control the distribution of derivative or
|
||||
collective works based on the Program.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Program
|
||||
with the Program (or with a work based on the Program) on a volume of
|
||||
a storage or distribution medium does not bring the other work under
|
||||
the scope of this License.
|
||||
|
||||
3. You may copy and distribute the Program (or a work based on it,
|
||||
under Section 2) in object code or executable form under the terms of
|
||||
Sections 1 and 2 above provided that you also do one of the following:
|
||||
|
||||
a) Accompany it with the complete corresponding machine-readable
|
||||
source code, which must be distributed under the terms of Sections
|
||||
1 and 2 above on a medium customarily used for software interchange; or,
|
||||
|
||||
b) Accompany it with a written offer, valid for at least three
|
||||
years, to give any third party, for a charge no more than your
|
||||
cost of physically performing source distribution, a complete
|
||||
machine-readable copy of the corresponding source code, to be
|
||||
distributed under the terms of Sections 1 and 2 above on a medium
|
||||
customarily used for software interchange; or,
|
||||
|
||||
c) Accompany it with the information you received as to the offer
|
||||
to distribute corresponding source code. (This alternative is
|
||||
allowed only for noncommercial distribution and only if you
|
||||
received the program in object code or executable form with such
|
||||
an offer, in accord with Subsection b above.)
|
||||
|
||||
The source code for a work means the preferred form of the work for
|
||||
making modifications to it. For an executable work, complete source
|
||||
code means all the source code for all modules it contains, plus any
|
||||
associated interface definition files, plus the scripts used to
|
||||
control compilation and installation of the executable. However, as a
|
||||
special exception, the source code distributed need not include
|
||||
anything that is normally distributed (in either source or binary
|
||||
form) with the major components (compiler, kernel, and so on) of the
|
||||
operating system on which the executable runs, unless that component
|
||||
itself accompanies the executable.
|
||||
|
||||
If distribution of executable or object code is made by offering
|
||||
access to copy from a designated place, then offering equivalent
|
||||
access to copy the source code from the same place counts as
|
||||
distribution of the source code, even though third parties are not
|
||||
compelled to copy the source along with the object code.
|
||||
|
||||
4. You may not copy, modify, sublicense, or distribute the Program
|
||||
except as expressly provided under this License. Any attempt
|
||||
otherwise to copy, modify, sublicense or distribute the Program is
|
||||
void, and will automatically terminate your rights under this License.
|
||||
However, parties who have received copies, or rights, from you under
|
||||
this License will not have their licenses terminated so long as such
|
||||
parties remain in full compliance.
|
||||
|
||||
5. You are not required to accept this License, since you have not
|
||||
signed it. However, nothing else grants you permission to modify or
|
||||
distribute the Program or its derivative works. These actions are
|
||||
prohibited by law if you do not accept this License. Therefore, by
|
||||
modifying or distributing the Program (or any work based on the
|
||||
Program), you indicate your acceptance of this License to do so, and
|
||||
all its terms and conditions for copying, distributing or modifying
|
||||
the Program or works based on it.
|
||||
|
||||
6. Each time you redistribute the Program (or any work based on the
|
||||
Program), the recipient automatically receives a license from the
|
||||
original licensor to copy, distribute or modify the Program subject to
|
||||
these terms and conditions. You may not impose any further
|
||||
restrictions on the recipients' exercise of the rights granted herein.
|
||||
You are not responsible for enforcing compliance by third parties to
|
||||
this License.
|
||||
|
||||
7. If, as a consequence of a court judgment or allegation of patent
|
||||
infringement or for any other reason (not limited to patent issues),
|
||||
conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot
|
||||
distribute so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you
|
||||
may not distribute the Program at all. For example, if a patent
|
||||
license would not permit royalty-free redistribution of the Program by
|
||||
all those who receive copies directly or indirectly through you, then
|
||||
the only way you could satisfy both it and this License would be to
|
||||
refrain entirely from distribution of the Program.
|
||||
|
||||
If any portion of this section is held invalid or unenforceable under
|
||||
any particular circumstance, the balance of the section is intended to
|
||||
apply and the section as a whole is intended to apply in other
|
||||
circumstances.
|
||||
|
||||
It is not the purpose of this section to induce you to infringe any
|
||||
patents or other property right claims or to contest validity of any
|
||||
such claims; this section has the sole purpose of protecting the
|
||||
integrity of the free software distribution system, which is
|
||||
implemented by public license practices. Many people have made
|
||||
generous contributions to the wide range of software distributed
|
||||
through that system in reliance on consistent application of that
|
||||
system; it is up to the author/donor to decide if he or she is willing
|
||||
to distribute software through any other system and a licensee cannot
|
||||
impose that choice.
|
||||
|
||||
This section is intended to make thoroughly clear what is believed to
|
||||
be a consequence of the rest of this License.
|
||||
|
||||
8. If the distribution and/or use of the Program is restricted in
|
||||
certain countries either by patents or by copyrighted interfaces, the
|
||||
original copyright holder who places the Program under this License
|
||||
may add an explicit geographical distribution limitation excluding
|
||||
those countries, so that distribution is permitted only in or among
|
||||
countries not thus excluded. In such case, this License incorporates
|
||||
the limitation as if written in the body of this License.
|
||||
|
||||
9. The Free Software Foundation may publish revised and/or new versions
|
||||
of the General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Program
|
||||
specifies a version number of this License which applies to it and "any
|
||||
later version", you have the option of following the terms and conditions
|
||||
either of that version or of any later version published by the Free
|
||||
Software Foundation. If the Program does not specify a version number of
|
||||
this License, you may choose any version ever published by the Free Software
|
||||
Foundation.
|
||||
|
||||
10. If you wish to incorporate parts of the Program into other free
|
||||
programs whose distribution conditions are different, write to the author
|
||||
to ask for permission. For software which is copyrighted by the Free
|
||||
Software Foundation, write to the Free Software Foundation; we sometimes
|
||||
make exceptions for this. Our decision will be guided by the two goals
|
||||
of preserving the free status of all derivatives of our free software and
|
||||
of promoting the sharing and reuse of software generally.
|
||||
|
||||
NO WARRANTY
|
||||
|
||||
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
||||
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
||||
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
||||
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
||||
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
||||
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
||||
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
||||
REPAIR OR CORRECTION.
|
||||
|
||||
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
||||
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
||||
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
||||
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
||||
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
||||
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGES.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
convey the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program is interactive, make it output a short notice like this
|
||||
when it starts in an interactive mode:
|
||||
|
||||
Gnomovision version 69, Copyright (C) year name of author
|
||||
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, the commands you use may
|
||||
be called something other than `show w' and `show c'; they could even be
|
||||
mouse-clicks or menu items--whatever suits your program.
|
||||
|
||||
You should also get your employer (if you work as a programmer) or your
|
||||
school, if any, to sign a "copyright disclaimer" for the program, if
|
||||
necessary. Here is a sample; alter the names:
|
||||
|
||||
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
||||
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
||||
|
||||
<signature of Ty Coon>, 1 April 1989
|
||||
Ty Coon, President of Vice
|
||||
|
||||
This General Public License does not permit incorporating your program into
|
||||
proprietary programs. If your program is a subroutine library, you may
|
||||
consider it more useful to permit linking proprietary applications with the
|
||||
library. If this is what you want to do, use the GNU Lesser General
|
||||
Public License instead of this License.
|
||||
---------------- END OF Gnu General Public License ----------------
|
||||
|
||||
The source code of Threading Building Blocks is distributed under version 2
|
||||
of the GNU General Public License, with the so-called "runtime exception,"
|
||||
as follows (or see any header or implementation file):
|
||||
|
||||
As a special exception, you may use this file as part of a free software
|
||||
library without restriction. Specifically, if other files instantiate
|
||||
templates or use macros or inline functions from this file, or you compile
|
||||
this file and link it with other files to produce an executable, this
|
||||
file does not by itself cause the resulting executable to be covered by
|
||||
the GNU General Public License. This exception does not however
|
||||
invalidate any other reasons why the executable file might be covered by
|
||||
the GNU General Public License.
|
||||
@@ -1,201 +0,0 @@
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following
|
||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||
replaced with your own identifying information. (Don't include
|
||||
the brackets!) The text should be enclosed in the appropriate
|
||||
comment syntax for the file format. We also recommend that a
|
||||
file or class name and description of purpose be included on the
|
||||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright [yyyy] [name of copyright owner]
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
@@ -1,20 +1,20 @@
|
||||
# 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.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
#
|
||||
# Copyright 2005-2015 Intel Corporation. All Rights Reserved.
|
||||
#
|
||||
# This file is part of Threading Building Blocks. Threading Building Blocks is free software;
|
||||
# you can redistribute it and/or modify it under the terms of the GNU General Public License
|
||||
# version 2 as published by the Free Software Foundation. Threading Building Blocks is
|
||||
# distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the GNU General Public License for more details. You should have received a copy of
|
||||
# the GNU General Public License along with Threading Building Blocks; if not, write to the
|
||||
# Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
# As a special exception, you may use this file as part of a free software library without
|
||||
# restriction. Specifically, if other files instantiate templates or use macros or inline
|
||||
# functions from this file, or you compile this file and link it with other files to produce
|
||||
# an executable, this file does not by itself cause the resulting executable to be covered
|
||||
# by the GNU General Public License. This exception does not however invalidate any other
|
||||
# reasons why the executable file might be covered by the GNU General Public License.
|
||||
|
||||
tbb_root?=.
|
||||
include $(tbb_root)/build/common.inc
|
||||
@@ -50,12 +50,10 @@ rml: mkdir
|
||||
$(MAKE) -C "$(work_dir)_debug" -r -f $(tbb_root)/build/Makefile.rml cfg=debug
|
||||
$(MAKE) -C "$(work_dir)_release" -r -f $(tbb_root)/build/Makefile.rml cfg=release
|
||||
|
||||
|
||||
examples: tbb tbbmalloc
|
||||
$(MAKE) -C examples -r -f Makefile tbb_root=.. release test
|
||||
|
||||
python: tbb
|
||||
$(MAKE) -C "$(work_dir)_release" -rf $(tbb_root)/python/Makefile install
|
||||
|
||||
.PHONY: clean clean_examples mkdir info
|
||||
|
||||
clean: clean_examples
|
||||
|
||||
@@ -1,32 +1,19 @@
|
||||
# Intel(R) Threading Building Blocks 2018 Update 2
|
||||
[](https://github.com/01org/tbb/releases/tag/2018_U2)
|
||||
[](LICENSE)
|
||||
# Intel(R) Threading Building Blocks 4.4
|
||||
|
||||
Intel(R) Threading Building Blocks (Intel(R) TBB) lets you easily write parallel C++ programs that take
|
||||
full advantage of multicore performance, that are portable, composable and have future-proof scalability.
|
||||
|
||||
## Release Information
|
||||
Here are the latest [Changes](CHANGES) and [Release Notes](doc/Release_Notes.txt) (contains system requirements and known issues).
|
||||
Here are the latest [Changes] (CHANGES) and [Release Notes]
|
||||
(doc/Release_Notes.txt) (contains system requirements and known issues).
|
||||
|
||||
## tbb_tutorials branch information
|
||||
This release provides additional TBB examples for workshops, conferences, etc.
|
||||
Head revision contains tutorials for all events and code base for the latest event. To get tutorials with original code base, please use specific tags.
|
||||
|
||||
* [PPoPP 2018](https://ppopp18.sigplan.org/) - code base: TBB 2018 U2 - tag: [tutorials_ppopp18](https://github.com/01org/tbb/tree/tutorials_ppopp18)
|
||||
* [examples/ppopp18](examples/ppopp18): exercises 3, 4 and 5 depend on OpenCL\* (lab2)
|
||||
* [SC 17](https://sc17.supercomputing.org/) - code base: TBB 2018 U1 - tag: [tutorials_sc17](https://github.com/01org/tbb/tree/tutorials_sc17)
|
||||
* [doc/sc17_slides](doc/sc17_slides)
|
||||
* [examples/sc17_hands_on](examples/sc17_hands_on): exercises depend on OpenCV 3.1.0, exercise 2 requires a video file (sc17_hands_on/input/input.avi) that is not part of this branch
|
||||
* [examples/sc17_hetero](examples/sc17_hetero): exercises 3, 4 and 5 depend on OpenCL\*
|
||||
* [EURO-PAR 2017](https://europar2017.usc.es/) - code base: TBB 2017 U3 - tag: [tutorials_europar17](https://github.com/01org/tbb/tree/tutorials_europar17)
|
||||
* [examples/europar17](examples/europar17)
|
||||
* [PPoPP 2017](https://ppopp18.sigplan.org/) - code base: TBB 2017 U3 - tag: [tutorials_ppopp17](https://github.com/01org/tbb/tree/tutorials_ppopp17)
|
||||
* [examples/ppopp17](examples/ppopp17)
|
||||
## Licensing
|
||||
Intel(R) TBB 4.4 is licensed under [GPLv2] (COPYING) with the runtime exception.
|
||||
|
||||
## Documentation
|
||||
* Intel(R) TBB [tutorial](https://software.intel.com/en-us/tbb-tutorial)
|
||||
* Intel(R) TBB general documentation: [stable](https://software.intel.com/en-us/tbb-documentation)
|
||||
and [latest](https://www.threadingbuildingblocks.org/docs/help/index.htm)
|
||||
* Intel(R) TBB [tutorial] (https://software.intel.com/en-us/tbb-tutorial)
|
||||
* Intel(R) TBB general documentation: [stable] (https://software.intel.com/en-us/tbb-documentation)
|
||||
and [latest] (https://www.threadingbuildingblocks.org/docs/help/index.htm)
|
||||
|
||||
## Support
|
||||
Please report issues and suggestions via
|
||||
@@ -34,10 +21,7 @@ Please report issues and suggestions via
|
||||
[Intel(R) TBB forum](http://software.intel.com/en-us/forums/intel-threading-building-blocks/).
|
||||
|
||||
## How to Contribute
|
||||
Please, read the instructions on the official [Intel(R) TBB open source site](https://www.threadingbuildingblocks.org/submit-contribution).
|
||||
|
||||
## Engineering team contacts
|
||||
* [E-mail us.](mailto:inteltbbdevelopers@intel.com)
|
||||
Please read the instructions on the official [Intel(R) TBB open source site] (https://www.threadingbuildingblocks.org/submit-contribution).
|
||||
|
||||
------------------------------------------------------------------------
|
||||
Intel and the Intel logo are trademarks of Intel Corporation or its subsidiaries in the U.S. and/or other countries.
|
||||
|
||||
+15
-15
@@ -1,20 +1,20 @@
|
||||
# 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.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
#
|
||||
# Copyright 2005-2015 Intel Corporation. All Rights Reserved.
|
||||
#
|
||||
# This file is part of Threading Building Blocks. Threading Building Blocks is free software;
|
||||
# you can redistribute it and/or modify it under the terms of the GNU General Public License
|
||||
# version 2 as published by the Free Software Foundation. Threading Building Blocks is
|
||||
# distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the GNU General Public License for more details. You should have received a copy of
|
||||
# the GNU General Public License along with Threading Building Blocks; if not, write to the
|
||||
# Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
# As a special exception, you may use this file as part of a free software library without
|
||||
# restriction. Specifically, if other files instantiate templates or use macros or inline
|
||||
# functions from this file, or you compile this file and link it with other files to produce
|
||||
# an executable, this file does not by itself cause the resulting executable to be covered
|
||||
# by the GNU General Public License. This exception does not however invalidate any other
|
||||
# reasons why the executable file might be covered by the GNU General Public License.
|
||||
|
||||
COMPILE_ONLY = -c -MMD
|
||||
PREPROC_ONLY = -E -x c++
|
||||
|
||||
+15
-15
@@ -1,20 +1,20 @@
|
||||
# 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.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
#
|
||||
# Copyright 2005-2015 Intel Corporation. All Rights Reserved.
|
||||
#
|
||||
# This file is part of Threading Building Blocks. Threading Building Blocks is free software;
|
||||
# you can redistribute it and/or modify it under the terms of the GNU General Public License
|
||||
# version 2 as published by the Free Software Foundation. Threading Building Blocks is
|
||||
# distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the GNU General Public License for more details. You should have received a copy of
|
||||
# the GNU General Public License along with Threading Building Blocks; if not, write to the
|
||||
# Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
# As a special exception, you may use this file as part of a free software library without
|
||||
# restriction. Specifically, if other files instantiate templates or use macros or inline
|
||||
# functions from this file, or you compile this file and link it with other files to produce
|
||||
# an executable, this file does not by itself cause the resulting executable to be covered
|
||||
# by the GNU General Public License. This exception does not however invalidate any other
|
||||
# reasons why the executable file might be covered by the GNU General Public License.
|
||||
|
||||
ifndef arch
|
||||
arch:=$(shell uname -p)
|
||||
|
||||
+25
-19
@@ -1,20 +1,20 @@
|
||||
# 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.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
#
|
||||
# Copyright 2005-2015 Intel Corporation. All Rights Reserved.
|
||||
#
|
||||
# This file is part of Threading Building Blocks. Threading Building Blocks is free software;
|
||||
# you can redistribute it and/or modify it under the terms of the GNU General Public License
|
||||
# version 2 as published by the Free Software Foundation. Threading Building Blocks is
|
||||
# distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the GNU General Public License for more details. You should have received a copy of
|
||||
# the GNU General Public License along with Threading Building Blocks; if not, write to the
|
||||
# Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
# As a special exception, you may use this file as part of a free software library without
|
||||
# restriction. Specifically, if other files instantiate templates or use macros or inline
|
||||
# functions from this file, or you compile this file and link it with other files to produce
|
||||
# an executable, this file does not by itself cause the resulting executable to be covered
|
||||
# by the GNU General Public License. This exception does not however invalidate any other
|
||||
# reasons why the executable file might be covered by the GNU General Public License.
|
||||
|
||||
COMPILE_ONLY = -c -MMD
|
||||
PREPROC_ONLY = -E -x c++
|
||||
@@ -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=. -Wl,-rpath=. -rdynamic
|
||||
LINK_FLAGS = -Wl,-rpath-link=. -rdynamic
|
||||
C_FLAGS = $(CPLUS_FLAGS)
|
||||
|
||||
ifeq ($(cfg), release)
|
||||
@@ -45,9 +45,15 @@ ifeq ($(cfg), debug)
|
||||
CPLUS_FLAGS = -DTBB_USE_DEBUG $(ITT_NOTIFY) -g -O0 -DUSE_PTHREAD
|
||||
endif
|
||||
|
||||
ifneq (,$(stdlib))
|
||||
CPLUS_FLAGS += -stdlib=$(stdlib)
|
||||
LIB_LINK_FLAGS += -stdlib=$(stdlib)
|
||||
ifeq (libc++,$(stdlib))
|
||||
CPLUS_FLAGS += -stdlib=libc++
|
||||
LIB_LINK_FLAGS += -stdlib=libc++
|
||||
endif
|
||||
|
||||
CPP11_FLAGS = -std=c++11 -D_TBB_CPP0X
|
||||
|
||||
ifneq (00,$(lambdas)$(cpp0x))
|
||||
CXX_ONLY_FLAGS += $(CPP11_FLAGS)
|
||||
endif
|
||||
|
||||
TBB_ASM.OBJ=
|
||||
|
||||
+15
-22
@@ -1,20 +1,20 @@
|
||||
# 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.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
#
|
||||
# Copyright 2005-2015 Intel Corporation. All Rights Reserved.
|
||||
#
|
||||
# This file is part of Threading Building Blocks. Threading Building Blocks is free software;
|
||||
# you can redistribute it and/or modify it under the terms of the GNU General Public License
|
||||
# version 2 as published by the Free Software Foundation. Threading Building Blocks is
|
||||
# distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the GNU General Public License for more details. You should have received a copy of
|
||||
# the GNU General Public License along with Threading Building Blocks; if not, write to the
|
||||
# Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
# As a special exception, you may use this file as part of a free software library without
|
||||
# restriction. Specifically, if other files instantiate templates or use macros or inline
|
||||
# functions from this file, or you compile this file and link it with other files to produce
|
||||
# an executable, this file does not by itself cause the resulting executable to be covered
|
||||
# by the GNU General Public License. This exception does not however invalidate any other
|
||||
# reasons why the executable file might be covered by the GNU General Public License.
|
||||
|
||||
COMPILE_ONLY = -c -MMD
|
||||
PREPROC_ONLY = -E -x c++
|
||||
@@ -34,13 +34,6 @@ LIB_LINK_FLAGS = -shared
|
||||
LIBS = -lpthread
|
||||
C_FLAGS = $(CPLUS_FLAGS)
|
||||
|
||||
# gcc 6.0 and later have -flifetime-dse option that controls
|
||||
# elimination of stores done outside the object lifetime
|
||||
ifneq (,$(shell gcc -dumpversion | egrep "^([6-9])"))
|
||||
# keep pre-contruction stores for zero initialization
|
||||
DSE_KEY = -flifetime-dse=1
|
||||
endif
|
||||
|
||||
ifeq ($(cfg), release)
|
||||
CPLUS_FLAGS = -g -O2 -DUSE_PTHREAD
|
||||
endif
|
||||
|
||||
+19
-19
@@ -1,20 +1,20 @@
|
||||
# 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.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
#
|
||||
# Copyright 2005-2015 Intel Corporation. All Rights Reserved.
|
||||
#
|
||||
# This file is part of Threading Building Blocks. Threading Building Blocks is free software;
|
||||
# you can redistribute it and/or modify it under the terms of the GNU General Public License
|
||||
# version 2 as published by the Free Software Foundation. Threading Building Blocks is
|
||||
# distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the GNU General Public License for more details. You should have received a copy of
|
||||
# the GNU General Public License along with Threading Building Blocks; if not, write to the
|
||||
# Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
# As a special exception, you may use this file as part of a free software library without
|
||||
# restriction. Specifically, if other files instantiate templates or use macros or inline
|
||||
# functions from this file, or you compile this file and link it with other files to produce
|
||||
# an executable, this file does not by itself cause the resulting executable to be covered
|
||||
# by the GNU General Public License. This exception does not however invalidate any other
|
||||
# reasons why the executable file might be covered by the GNU General Public License.
|
||||
|
||||
ifndef arch
|
||||
ifeq ($(shell uname -m),i386)
|
||||
@@ -29,14 +29,14 @@ ifndef arch
|
||||
endif
|
||||
|
||||
ifndef runtime
|
||||
clang_version:=$(shell clang -v 2>&1 | grep version | sed "s/.*version \([0-9]*\.[0-9]*\).*/\1/")
|
||||
gcc_version:=$(shell gcc -dumpversion)
|
||||
os_version:=$(shell uname -r)
|
||||
os_kernel_version:=$(shell uname -r | sed -e 's/-.*$$//')
|
||||
export runtime:=cc$(clang_version)_kernel$(os_kernel_version)
|
||||
export runtime:=cc$(gcc_version)_kernel$(os_kernel_version)
|
||||
endif
|
||||
|
||||
native_compiler := clang
|
||||
export compiler ?= clang
|
||||
native_compiler := gcc
|
||||
export compiler ?= gcc
|
||||
debugger ?= gdb
|
||||
|
||||
CMD=$(SHELL) -c
|
||||
|
||||
+19
-23
@@ -1,23 +1,20 @@
|
||||
# Copyright (c) 2005-2017 Intel Corporation
|
||||
# Copyright 2005-2015 Intel Corporation. All Rights Reserved.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
# This file is part of Threading Building Blocks. Threading Building Blocks is free software;
|
||||
# you can redistribute it and/or modify it under the terms of the GNU General Public License
|
||||
# version 2 as published by the Free Software Foundation. Threading Building Blocks is
|
||||
# distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the GNU General Public License for more details. You should have received a copy of
|
||||
# the GNU General Public License along with Threading Building Blocks; if not, write to the
|
||||
# Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
#
|
||||
#
|
||||
#
|
||||
|
||||
# TODO: investigate why version_string.ver is not complete when $(RML_SERVER.OBJ) is being compiled.
|
||||
.NOTPARALLEL:
|
||||
# As a special exception, you may use this file as part of a free software library without
|
||||
# restriction. Specifically, if other files instantiate templates or use macros or inline
|
||||
# functions from this file, or you compile this file and link it with other files to produce
|
||||
# an executable, this file does not by itself cause the resulting executable to be covered
|
||||
# by the GNU General Public License. This exception does not however invalidate any other
|
||||
# reasons why the executable file might be covered by the GNU General Public License.
|
||||
|
||||
tbb_root ?= $(TBBROOT)
|
||||
BUILDING_PHASE=1
|
||||
@@ -81,18 +78,18 @@ R_CPLUS_FLAGS = $(subst DO_ITT_NOTIFY,DO_ITT_NOTIFY=0,$(CPLUS_FLAGS)) $(WARNING
|
||||
$(DEFINE_KEY)TBB_USE_THREADING_TOOLS=0 $(DEFINE_KEY)__TBB_RML_STATIC=1 $(DEFINE_KEY)__TBB_NO_IMPLICIT_LINKAGE=1
|
||||
|
||||
%.$(OBJ): %.cpp
|
||||
$(CPLUS) $(COMPILE_ONLY) $(R_CPLUS_FLAGS) $(PIC_KEY) $(DSE_KEY) $(INCLUDES) $<
|
||||
$(CPLUS) $(COMPILE_ONLY) $(R_CPLUS_FLAGS) $(PIC_KEY) $(INCLUDES) $<
|
||||
|
||||
ifeq (linux,$(tbb_os))
|
||||
omp_dynamic_link.$(OBJ): CPLUS_FLAGS+=-fno-exceptions
|
||||
endif
|
||||
|
||||
tbb_misc_rml.$(OBJ) $(RML_SERVER.OBJ): version_string.ver
|
||||
tbb_misc_rml.$(OBJ): version_string.ver
|
||||
|
||||
RML_TEST.OBJ = test_job_automaton.$(OBJ) test_thread_monitor.$(OBJ) test_rml_tbb.$(OBJ) test_rml_omp.$(OBJ) test_rml_mixed.$(OBJ)
|
||||
|
||||
$(RML_TBB_DEP): %_rml.$(OBJ): %.cpp
|
||||
$(CPLUS) $(COMPILE_ONLY) $(OUTPUTOBJ_KEY)$@ $(R_CPLUS_FLAGS) $(PIC_KEY) $(DSE_KEY) $(INCLUDES) $<
|
||||
$(CPLUS) $(COMPILE_ONLY) $(OUTPUTOBJ_KEY)$@ $(R_CPLUS_FLAGS) $(PIC_KEY) $(INCLUDES) $<
|
||||
|
||||
$(RML_TEST.OBJ): %.$(OBJ): %.cpp
|
||||
$(CPLUS) $(COMPILE_ONLY) $(R_CPLUS_FLAGS) $(PIC_KEY) $(T_INCLUDES) $<
|
||||
@@ -105,7 +102,6 @@ LIB_LINK_FLAGS += $(EXPORT_KEY)rml.def
|
||||
$(RML.DLL): rml.def
|
||||
endif
|
||||
|
||||
$(RML.DLL): CPLUS_FLAGS += $(SDL_FLAGS)
|
||||
$(RML.DLL): BUILDING_LIBRARY = $(RML.DLL)
|
||||
$(RML.DLL): $(RML_TBB_DEP) $(RML_SERVER.OBJ) $(RML.RES) $(RML_NO_VERSION.DLL) $(RML_ASM.OBJ)
|
||||
$(LIB_LINK_CMD) $(LIB_OUTPUT_KEY)$(RML.DLL) $(RML_SERVER.OBJ) $(RML_TBB_DEP) $(RML_ASM.OBJ) $(RML.RES) $(LIB_LINK_LIBS) $(LIB_LINK_FLAGS)
|
||||
@@ -162,5 +158,5 @@ rml_test: $(call cross_suffix,$(RML.DLL)) $(TEST_PREREQUISITE) $(RML_TESTS) $(RM
|
||||
# End of rules for making the TBBMalloc unit tests
|
||||
#------------------------------------------------------
|
||||
|
||||
# Include automatically generated dependencies
|
||||
# Include automatically generated dependences
|
||||
-include *.d
|
||||
|
||||
+22
-18
@@ -1,20 +1,20 @@
|
||||
# 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.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
#
|
||||
# Copyright 2005-2015 Intel Corporation. All Rights Reserved.
|
||||
#
|
||||
# This file is part of Threading Building Blocks. Threading Building Blocks is free software;
|
||||
# you can redistribute it and/or modify it under the terms of the GNU General Public License
|
||||
# version 2 as published by the Free Software Foundation. Threading Building Blocks is
|
||||
# distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the GNU General Public License for more details. You should have received a copy of
|
||||
# the GNU General Public License along with Threading Building Blocks; if not, write to the
|
||||
# Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
# As a special exception, you may use this file as part of a free software library without
|
||||
# restriction. Specifically, if other files instantiate templates or use macros or inline
|
||||
# functions from this file, or you compile this file and link it with other files to produce
|
||||
# an executable, this file does not by itself cause the resulting executable to be covered
|
||||
# by the GNU General Public License. This exception does not however invalidate any other
|
||||
# reasons why the executable file might be covered by the GNU General Public License.
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# Define rules for making the TBB shared library.
|
||||
@@ -23,7 +23,6 @@
|
||||
tbb_root ?= "$(TBBROOT)"
|
||||
BUILDING_PHASE=1
|
||||
include $(tbb_root)/build/common.inc
|
||||
CPLUS_FLAGS += $(SDL_FLAGS)
|
||||
DEBUG_SUFFIX=$(findstring _debug,_$(cfg))
|
||||
|
||||
#------------------------------------------------------------
|
||||
@@ -37,7 +36,12 @@ default_tbb: $(TBB.DLL)
|
||||
|
||||
VPATH = $(tbb_root)/src/tbb/$(ASSEMBLY_SOURCE) $(tbb_root)/src/tbb $(tbb_root)/src/old $(tbb_root)/src/rml/client
|
||||
|
||||
CPLUS_FLAGS += $(PIC_KEY) $(DSE_KEY) $(DEFINE_KEY)__TBB_BUILD=1
|
||||
CPLUS_FLAGS += $(PIC_KEY) $(DEFINE_KEY)__TBB_BUILD=1
|
||||
|
||||
# suppress warnings for build of itt_notify by GCC3
|
||||
ifneq (,$(findstring gcc_cc3., $(compiler)_$(runtime)))
|
||||
KNOWN_WARNINGS += itt_notify.$(OBJ)
|
||||
endif
|
||||
|
||||
# Object files (that were compiled from C++ code) that gmake up TBB
|
||||
TBB_CPLUS.OBJ = concurrent_hash_map.$(OBJ) \
|
||||
@@ -114,5 +118,5 @@ endif
|
||||
#clean:
|
||||
# $(RM) *.$(OBJ) *.$(DLL) *.res *.map *.ilk *.pdb *.exp *.manifest *.tmp *.d core core.*[0-9][0-9] *.ver
|
||||
|
||||
# Include automatically generated dependencies
|
||||
# Include automatically generated dependences
|
||||
-include *.d
|
||||
|
||||
+25
-31
@@ -1,20 +1,20 @@
|
||||
# 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.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
#
|
||||
# Copyright 2005-2015 Intel Corporation. All Rights Reserved.
|
||||
#
|
||||
# This file is part of Threading Building Blocks. Threading Building Blocks is free software;
|
||||
# you can redistribute it and/or modify it under the terms of the GNU General Public License
|
||||
# version 2 as published by the Free Software Foundation. Threading Building Blocks is
|
||||
# distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the GNU General Public License for more details. You should have received a copy of
|
||||
# the GNU General Public License along with Threading Building Blocks; if not, write to the
|
||||
# Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
# As a special exception, you may use this file as part of a free software library without
|
||||
# restriction. Specifically, if other files instantiate templates or use macros or inline
|
||||
# functions from this file, or you compile this file and link it with other files to produce
|
||||
# an executable, this file does not by itself cause the resulting executable to be covered
|
||||
# by the GNU General Public License. This exception does not however invalidate any other
|
||||
# reasons why the executable file might be covered by the GNU General Public License.
|
||||
|
||||
# default target
|
||||
default_malloc: malloc malloc_test
|
||||
@@ -60,16 +60,16 @@ $(MALLOC.OBJ): M_CPLUS_FLAGS += $(WARNING_SUPPRESS)
|
||||
$(PROXY.OBJ): CPLUS_FLAGS += $(WARNING_SUPPRESS)
|
||||
|
||||
frontend.$(OBJ): frontend.cpp version_string.ver
|
||||
$(CPLUS) $(COMPILE_ONLY) $(M_CPLUS_FLAGS) $(PIC_KEY) $(DSE_KEY) $(M_INCLUDES) $(INCLUDE_KEY). $<
|
||||
$(CPLUS) $(COMPILE_ONLY) $(M_CPLUS_FLAGS) $(PIC_KEY) $(M_INCLUDES) $(INCLUDE_KEY). $<
|
||||
|
||||
$(PROXY.OBJ): %.$(OBJ): %.cpp
|
||||
$(CPLUS) $(COMPILE_ONLY) $(CPLUS_FLAGS) $(PIC_KEY) $(DSE_KEY) $(DEFINE_KEY)__TBBMALLOC_BUILD=1 $(M_INCLUDES) $<
|
||||
$(CPLUS) $(COMPILE_ONLY) $(CPLUS_FLAGS) $(PIC_KEY) $(DEFINE_KEY)__TBBMALLOC_BUILD=1 $(M_INCLUDES) $<
|
||||
|
||||
$(MALLOC_CPLUS.OBJ): %.$(OBJ): %.cpp
|
||||
$(CPLUS) $(COMPILE_ONLY) $(M_CPLUS_FLAGS) $(PIC_KEY) $(DSE_KEY) $(M_INCLUDES) $<
|
||||
$(CPLUS) $(COMPILE_ONLY) $(M_CPLUS_FLAGS) $(PIC_KEY) $(M_INCLUDES) $<
|
||||
|
||||
itt_notify_malloc.$(OBJ): itt_notify.cpp
|
||||
$(CPLUS) $(COMPILE_ONLY) $(M_CPLUS_FLAGS) $(PIC_KEY) $(DSE_KEY) $(OUTPUTOBJ_KEY)$@ $(INCLUDES) $<
|
||||
$(CPLUS) $(COMPILE_ONLY) $(M_CPLUS_FLAGS) $(PIC_KEY) $(OUTPUTOBJ_KEY)$@ $(INCLUDES) $<
|
||||
|
||||
MALLOC_LINK_FLAGS = $(LIB_LINK_FLAGS)
|
||||
PROXY_LINK_FLAGS = $(LIB_LINK_FLAGS)
|
||||
@@ -82,8 +82,6 @@ MALLOC_LINK_FLAGS += $(EXPORT_KEY)tbbmalloc.def
|
||||
$(MALLOC.DLL): tbbmalloc.def
|
||||
endif
|
||||
|
||||
$(MALLOC.DLL) $(MALLOCPROXY.DLL): CPLUS_FLAGS += $(SDL_FLAGS)
|
||||
$(MALLOC.DLL) $(MALLOCPROXY.DLL): M_CPLUS_FLAGS += $(SDL_FLAGS)
|
||||
$(MALLOC.DLL): BUILDING_LIBRARY = $(MALLOC.DLL)
|
||||
$(MALLOC.DLL): $(MALLOC.OBJ) $(MALLOC.RES) $(MALLOC_NO_VERSION.DLL)
|
||||
$(subst $(CPLUS),$(CONLY),$(LIB_LINK_CMD)) $(LIB_OUTPUT_KEY)$(MALLOC.DLL) $(MALLOC.OBJ) $(MALLOC.RES) $(LIB_LINK_LIBS) $(MALLOC_LINK_FLAGS)
|
||||
@@ -147,12 +145,6 @@ endif
|
||||
# -----------------------------------------------------
|
||||
|
||||
# ------------ Set test specific variables ------------
|
||||
# TODO: implement accurate warning suppression for tests to unify with Makefile.test.
|
||||
$(MALLOC_TESTS): CPLUS_FLAGS += $(TEST_WARNING_KEY) $(if $(no_exceptions),$(DEFINE_KEY)__TBB_TEST_NO_EXCEPTIONS=1)
|
||||
$(MALLOC_TESTS): M_CPLUS_FLAGS += $(TEST_WARNING_KEY) $(if $(no_exceptions),$(DEFINE_KEY)__TBB_TEST_NO_EXCEPTIONS=1)
|
||||
$(MALLOC_TESTS): INCLUDES += $(INCLUDE_TEST_HEADERS)
|
||||
$(MALLOC_TESTS): M_INCLUDES += $(INCLUDE_TEST_HEADERS)
|
||||
|
||||
ifeq (windows.gcc,$(tbb_os).$(compiler))
|
||||
test_malloc_overload.$(TEST_EXT): LIBS += $(MALLOCPROXY.LIB)
|
||||
endif
|
||||
@@ -165,6 +157,8 @@ MALLOC_LINK_PROXY_TESTS = test_malloc_overload_proxy.$(TEST_EXT)
|
||||
MALLOC_ADD_DLL_TESTS = test_malloc_lib_unload.$(TEST_EXT) test_malloc_used_by_lib.$(TEST_EXT) \
|
||||
test_malloc_atexit.$(TEST_EXT)
|
||||
|
||||
# TODO: implement accurate warning suppression for tests to unify with Makefile.test.
|
||||
|
||||
$(MALLOC_M_CPLUS_TESTS): CPLUS_FLAGS=$(M_CPLUS_FLAGS)
|
||||
$(MALLOC_M_CPLUS_TESTS): INCLUDES=$(M_INCLUDES)
|
||||
$(MALLOC_NO_LIB_TESTS): LINK_MALLOC.LIB=
|
||||
@@ -182,7 +176,7 @@ test_malloc_overload_proxy.$(TEST_EXT): LINK_FLAGS+=$(LIBDL)
|
||||
test_malloc_atexit_dll.$(DLL): CPLUS_FLAGS=$(subst /MT,/MD,$(M_CPLUS_FLAGS))
|
||||
test_malloc_atexit.$(TEST_EXT): CPLUS_FLAGS=$(subst /MT,/MD,$(M_CPLUS_FLAGS))
|
||||
test_malloc_atexit.$(TEST_EXT): LINK_FLAGS+=$(LIBDL)
|
||||
# on Ubuntu 11.10 linker called with --as-needed, so dependency on libtbbmalloc_proxy
|
||||
# on Ubuntu 11.10 linker called with --as-needed, so dependence on libtbbmalloc_proxy
|
||||
# is not created, and malloc overload via linking with -ltbbmalloc_proxy is not working.
|
||||
# Overcome with --no-as-needed.
|
||||
ifeq (linux.gcc,$(tbb_os).$(compiler))
|
||||
@@ -202,8 +196,8 @@ test_malloc_whitebox.$(TEST_EXT): LINK_FILES+=$(MALLOC_ASM.OBJ)
|
||||
|
||||
# Some _dll targets need to restore variables since they are changed by parent
|
||||
# target-specific rule of its .exe targets
|
||||
test_malloc_lib_unload_dll.$(DLL): CPLUS_FLAGS=$(ORIG_CPLUS_FLAGS) $(if $(no_exceptions),$(DEFINE_KEY)__TBB_TEST_NO_EXCEPTIONS=1)
|
||||
test_malloc_lib_unload_dll.$(DLL): INCLUDES=$(ORIG_INCLUDES) $(INCLUDE_TEST_HEADERS)
|
||||
test_malloc_lib_unload_dll.$(DLL): CPLUS_FLAGS=$(ORIG_CPLUS_FLAGS)
|
||||
test_malloc_lib_unload_dll.$(DLL): INCLUDES=$(ORIG_INCLUDES)
|
||||
|
||||
test_malloc_used_by_lib_dll.$(DLL): CPLUS_FLAGS=$(subst /MT,/LD,$(M_CPLUS_FLAGS))
|
||||
test_malloc_used_by_lib_dll.$(DLL): LINK_FILES+=$(ORIG_LINK_MALLOC.LIB)
|
||||
@@ -236,5 +230,5 @@ endif
|
||||
# End of rules for making the TBBMalloc unit tests
|
||||
#------------------------------------------------------
|
||||
|
||||
# Include automatically generated dependencies
|
||||
# Include automatically generated dependences
|
||||
-include *.d
|
||||
|
||||
+18
-18
@@ -1,20 +1,20 @@
|
||||
# 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.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
#
|
||||
# Copyright 2005-2015 Intel Corporation. All Rights Reserved.
|
||||
#
|
||||
# This file is part of Threading Building Blocks. Threading Building Blocks is free software;
|
||||
# you can redistribute it and/or modify it under the terms of the GNU General Public License
|
||||
# version 2 as published by the Free Software Foundation. Threading Building Blocks is
|
||||
# distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the GNU General Public License for more details. You should have received a copy of
|
||||
# the GNU General Public License along with Threading Building Blocks; if not, write to the
|
||||
# Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
# As a special exception, you may use this file as part of a free software library without
|
||||
# restriction. Specifically, if other files instantiate templates or use macros or inline
|
||||
# functions from this file, or you compile this file and link it with other files to produce
|
||||
# an executable, this file does not by itself cause the resulting executable to be covered
|
||||
# by the GNU General Public License. This exception does not however invalidate any other
|
||||
# reasons why the executable file might be covered by the GNU General Public License.
|
||||
|
||||
# default target
|
||||
default_tbbproxy: tbbproxy tbbproxy_test
|
||||
@@ -33,7 +33,7 @@ VPATH += $(PROXY_ROOT) $(PROXY_SOURCE_ROOT)
|
||||
CPLUS_FLAGS += $(DEFINE_KEY)__TBB_DLL_NAME=$(TBB.DLL)
|
||||
CPLUS_FLAGS += $(DEFINE_KEY)__TBB_LST=$(TBB.LST)
|
||||
CPLUS_FLAGS += $(foreach dir,$(VPATH),$(INCLUDE_KEY)$(dir))
|
||||
CPLUS_FLAGS += $(PIC_KEY) $(DSE_KEY)
|
||||
CPLUS_FLAGS += $(PIC_KEY)
|
||||
|
||||
include $(tbb_root)/build/common_rules.inc
|
||||
|
||||
@@ -46,7 +46,7 @@ PROXY_CPLUS.OBJ = tbbproxy.$(OBJ)
|
||||
PROXY_ASM.OBJ = tbbproxy-asm.$(OBJ)
|
||||
PROXY.OBJ := $(PROXY_CPLUS.OBJ) $(PROXY_ASM.OBJ)
|
||||
|
||||
# Not using intrinsics prevents undesired dependence on ICL libraries (e.g. libirc).
|
||||
# Not using intrinsics prevents undesired dependence from ICL libraries (e.g. libirc).
|
||||
# Not using default libs prevents link issues caused by different CRT versions in tbbproxy and in an app.
|
||||
$(PROXY.OBJ): CPLUS_FLAGS += $(DEFINE_KEY)ARCH_$(arch) $(DEFINE_KEY)OS_$(tbb_os) $(NOINTRINSIC_KEY) $(NODEFAULTLIB_KEY)
|
||||
|
||||
@@ -105,5 +105,5 @@ $(PROXY_TESTS_OBJS): %.$(OBJ): %.cpp
|
||||
# End of rules for making the TBB Proxy unit tests
|
||||
#------------------------------------------------------
|
||||
|
||||
# Include automatically generated dependencies
|
||||
# Include automatically generated dependences
|
||||
-include *.d
|
||||
|
||||
+34
-53
@@ -1,20 +1,20 @@
|
||||
# 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.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
#
|
||||
# Copyright 2005-2015 Intel Corporation. All Rights Reserved.
|
||||
#
|
||||
# This file is part of Threading Building Blocks. Threading Building Blocks is free software;
|
||||
# you can redistribute it and/or modify it under the terms of the GNU General Public License
|
||||
# version 2 as published by the Free Software Foundation. Threading Building Blocks is
|
||||
# distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the GNU General Public License for more details. You should have received a copy of
|
||||
# the GNU General Public License along with Threading Building Blocks; if not, write to the
|
||||
# Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
# As a special exception, you may use this file as part of a free software library without
|
||||
# restriction. Specifically, if other files instantiate templates or use macros or inline
|
||||
# functions from this file, or you compile this file and link it with other files to produce
|
||||
# an executable, this file does not by itself cause the resulting executable to be covered
|
||||
# by the GNU General Public License. This exception does not however invalidate any other
|
||||
# reasons why the executable file might be covered by the GNU General Public License.
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# Define rules for making the TBB tests.
|
||||
@@ -35,9 +35,7 @@ DEBUG_SUFFIX=$(findstring _debug,$(call cross_cfg,_$(cfg)))
|
||||
#------------------------------------------------------------
|
||||
|
||||
VPATH = $(tbb_root)/src/tbb/$(ASSEMBLY_SOURCE) $(tbb_root)/src/tbb $(tbb_root)/src/rml/client $(tbb_root)/src/old $(tbb_root)/src/test $(tbb_root)/src/perf
|
||||
CPLUS_FLAGS += $(if $(crosstest),$(DEFINE_KEY)__TBB_NO_IMPLICIT_LINKAGE=1) \
|
||||
$(if $(no_exceptions),$(DEFINE_KEY)__TBB_TEST_NO_EXCEPTIONS=1) \
|
||||
$(if $(LINK_TBB.LIB),$(DEFINE_KEY)TEST_USES_TBB=1)
|
||||
CPLUS_FLAGS += $(if $(crosstest),$(DEFINE_KEY)__TBB_NO_IMPLICIT_LINKAGE=1) $(if $(LINK_TBB.LIB),$(DEFINE_KEY)TEST_USES_TBB=1)
|
||||
|
||||
TEST_PREREQUISITE+=$(TBB.LIB)
|
||||
LINK_FILES+=$(LINK_TBB.LIB)
|
||||
@@ -65,15 +63,14 @@ SCHEDULER_DEPENDENCIES = $(TBB_ASM.OBJ) tbb_misc.$(OBJ)
|
||||
|
||||
# These executables don't depend on the TBB library, but include core .cpp files directly
|
||||
SCHEDULER_DIRECTLY_INCLUDED = test_task_leaks.$(TEST_EXT) \
|
||||
test_task_assertions.$(TEST_EXT) \
|
||||
test_fast_random.$(TEST_EXT) \
|
||||
test_global_control_whitebox.$(TEST_EXT) \
|
||||
test_concurrent_queue_whitebox.$(TEST_EXT)
|
||||
test_task_assertions.$(TEST_EXT) \
|
||||
test_fast_random.$(TEST_EXT) \
|
||||
test_global_control_whitebox.$(TEST_EXT) \
|
||||
test_concurrent_queue_whitebox.$(TEST_EXT)
|
||||
|
||||
# Necessary to locate version_string.ver referenced from directly included tbb_misc.cpp
|
||||
INCLUDES += $(INCLUDE_KEY). $(INCLUDE_TEST_HEADERS)
|
||||
INCLUDES += $(INCLUDE_KEY).
|
||||
|
||||
$(SCHEDULER_DIRECTLY_INCLUDED): CPLUS_FLAGS += $(DSE_KEY)
|
||||
$(SCHEDULER_DIRECTLY_INCLUDED): WARNING_KEY += $(WARNING_SUPPRESS)
|
||||
$(SCHEDULER_DIRECTLY_INCLUDED): LIBS += $(LIBDL)
|
||||
#tbb.lib must not be linked to scheduler white box tests in order to not violate ODR
|
||||
@@ -81,6 +78,15 @@ $(SCHEDULER_DIRECTLY_INCLUDED): LINK_TBB.LIB =
|
||||
$(SCHEDULER_DIRECTLY_INCLUDED): LINK_FILES += $(SCHEDULER_DEPENDENCIES)
|
||||
$(SCHEDULER_DIRECTLY_INCLUDED): $(SCHEDULER_DEPENDENCIES)
|
||||
|
||||
# Tests that use some features of C++11
|
||||
TEST_TBB_CPP11 = test_lambda.$(TEST_EXT) test_cache_aligned_allocator_STL.$(TEST_EXT)
|
||||
|
||||
ifneq (0,$(cpp0x))
|
||||
# Made CPP11 tests use NOSTRICT flags because -strict-ansi combined with
|
||||
# -std=c++0x on ICC 13.0 results in a compile error when stdlib is included
|
||||
$(TEST_TBB_CPP11): CPLUS_FLAGS := $(CPLUS_FLAGS_NOSTRICT)
|
||||
endif
|
||||
|
||||
# test_tbb_header detects "multiple definition" linker error using the test that covers the whole library
|
||||
TWICE_LINKED_TESTS = test_tbb_header.$(TEST_EXT) \
|
||||
test_concurrent_unordered_set.$(TEST_EXT)
|
||||
@@ -103,19 +109,6 @@ $(TWICE_LINKED_TESTS): LINK_FILES+=$(@:.$(TEST_EXT)=_secondary.$(OBJ))
|
||||
test_dynamic_link%.$(TEST_EXT): LINK_TBB.LIB =
|
||||
test_dynamic_link.$(TEST_EXT): LIBS += $(LIBDL)
|
||||
|
||||
# Resolving issue with the number of sections that an object file can contain
|
||||
ifneq (,$(BIGOBJ_KEY))
|
||||
TEST_BIGOBJ = test_opencl_node.$(TEST_EXT) \
|
||||
test_atomic.$(TEST_EXT) \
|
||||
test_concurrent_unordered_set.$(TEST_EXT) \
|
||||
test_concurrent_unordered_map.$(TEST_EXT) \
|
||||
test_join_node_key_matching.$(TEST_EXT) \
|
||||
test_join_node_msg_key_matching.$(TEST_EXT) \
|
||||
test_join_node.$(TEST_EXT)
|
||||
$(TEST_BIGOBJ): override CXXFLAGS += $(BIGOBJ_KEY)
|
||||
endif
|
||||
|
||||
# TODO: remove repetition of .$(TEST_EXT) in the list bellow
|
||||
# The main list of TBB tests
|
||||
TEST_TBB_PLAIN.EXE = test_assembly.$(TEST_EXT) \
|
||||
test_global_control.$(TEST_EXT) \
|
||||
@@ -141,7 +134,6 @@ TEST_TBB_PLAIN.EXE = test_assembly.$(TEST_EXT) \
|
||||
test_mutex_native_threads.$(TEST_EXT) \
|
||||
test_rwm_upgrade_downgrade.$(TEST_EXT) \
|
||||
test_cache_aligned_allocator.$(TEST_EXT) \
|
||||
test_cache_aligned_allocator_STL.$(TEST_EXT) \
|
||||
test_parallel_for.$(TEST_EXT) \
|
||||
test_parallel_reduce.$(TEST_EXT) \
|
||||
test_parallel_sort.$(TEST_EXT) \
|
||||
@@ -151,7 +143,6 @@ TEST_TBB_PLAIN.EXE = test_assembly.$(TEST_EXT) \
|
||||
test_pipeline.$(TEST_EXT) \
|
||||
test_pipeline_with_tbf.$(TEST_EXT) \
|
||||
test_parallel_pipeline.$(TEST_EXT) \
|
||||
test_lambda.$(TEST_EXT) \
|
||||
test_task_scheduler_init.$(TEST_EXT) \
|
||||
test_task_scheduler_observer.$(TEST_EXT) \
|
||||
test_task.$(TEST_EXT) \
|
||||
@@ -190,8 +181,6 @@ TEST_TBB_PLAIN.EXE = test_assembly.$(TEST_EXT) \
|
||||
test_function_node.$(TEST_EXT) \
|
||||
test_limiter_node.$(TEST_EXT) \
|
||||
test_join_node.$(TEST_EXT) \
|
||||
test_join_node_key_matching.$(TEST_EXT) \
|
||||
test_join_node_msg_key_matching.$(TEST_EXT) \
|
||||
test_buffer_node.$(TEST_EXT) \
|
||||
test_queue_node.$(TEST_EXT) \
|
||||
test_priority_queue_node.$(TEST_EXT) \
|
||||
@@ -213,14 +202,9 @@ TEST_TBB_PLAIN.EXE = test_assembly.$(TEST_EXT) \
|
||||
test_flow_graph_whitebox.$(TEST_EXT) \
|
||||
test_composite_node.$(TEST_EXT) \
|
||||
test_async_node.$(TEST_EXT) \
|
||||
test_async_msg.$(TEST_EXT) \
|
||||
test_tbb_version.$(TEST_EXT) # insert new files right above
|
||||
|
||||
# These tests depend on other technologies
|
||||
TEST_TBB_SPECIAL.EXE = test_openmp.$(TEST_EXT) \
|
||||
test_cilk_interop.$(TEST_EXT) \
|
||||
test_gfx_factory.$(TEST_EXT) \
|
||||
test_opencl_node.$(TEST_EXT)
|
||||
TEST_TBB_PLAIN.EXE += $(TEST_TBB_CPP11)
|
||||
|
||||
# skip mode_plugin for now
|
||||
skip_tests += test_model_plugin
|
||||
@@ -240,7 +224,6 @@ ifdef CILK_AVAILABLE
|
||||
# The issue reveals itself if a version of binutils is prior to 2.17
|
||||
ifeq (linux_icc,$(tbb_os)_$(compiler))
|
||||
test_cilk_interop.$(TEST_EXT): LIBS += -lcilkrts
|
||||
test_gfx_factory.$(TEST_EXT): LIBS += -lcilkrts
|
||||
endif
|
||||
test_tbb_cilk: test_cilk_interop.$(TEST_EXT)
|
||||
$(run_cmd) ./test_cilk_interop.$(TEST_EXT) $(args)
|
||||
@@ -249,9 +232,7 @@ test_tbb_cilk:
|
||||
@echo "Intel(R) Cilk(TM) Plus is not available"
|
||||
endif
|
||||
|
||||
test_opencl_node.$(TEST_EXT): LIBS += $(OPENCL.LIB)
|
||||
|
||||
$(TEST_TBB_PLAIN.EXE) $(TEST_TBB_SPECIAL.EXE): WARNING_KEY += $(TEST_WARNING_KEY)
|
||||
$(TEST_TBB_PLAIN.EXE): WARNING_KEY += $(TEST_WARNING_KEY)
|
||||
|
||||
# Run tests that are in SCHEDULER_DIRECTLY_INCLUDED and TEST_TBB_PLAIN.EXE but not in skip_tests (which is specified by user)
|
||||
TESTS_TO_RUN := $(filter-out $(addsuffix .$(TEST_EXT),$(skip_tests)),$(TEST_TBB_PLAIN.EXE) $(SCHEDULER_DIRECTLY_INCLUDED))
|
||||
@@ -271,7 +252,7 @@ test_tbb_plain: $(TEST_PREREQUISITE) $(TESTS_TO_RUN)
|
||||
|
||||
|
||||
# For deprecated files, we don't mind warnings etc., thus compilation rules are most relaxed
|
||||
CPLUS_FLAGS_DEPRECATED = $(DEFINE_KEY)__TBB_TEST_DEPRECATED=1 $(subst $(WARNING_KEY),,$(CPLUS_FLAGS)) $(WARNING_SUPPRESS) $(INCLUDE_KEY)$(tbb_root)/src/test
|
||||
CPLUS_FLAGS_DEPRECATED = $(DEFINE_KEY)TBB_DEPRECATED=1 $(subst $(WARNING_KEY),,$(CPLUS_FLAGS)) $(WARNING_SUPPRESS) $(INCLUDE_KEY)$(tbb_root)/src/test
|
||||
TEST_TBB_OLD.OBJ = test_concurrent_vector_v2.$(OBJ) test_concurrent_queue_v2.$(OBJ) test_mutex_v2.$(OBJ) test_task_scheduler_observer_v3.$(OBJ)
|
||||
|
||||
$(TEST_TBB_OLD.OBJ): CPLUS_FLAGS := $(CPLUS_FLAGS_DEPRECATED)
|
||||
@@ -313,5 +294,5 @@ clean_%:
|
||||
clean:
|
||||
$(RM) *.$(OBJ) *.exe *.$(DLL) *.$(LIBEXT) *.res *.map *.ilk *.pdb *.exp *.manifest *.tmp *.d pgopti.* *.dyn core core.*[0-9][0-9] *.ver
|
||||
|
||||
# Include automatically generated dependencies
|
||||
# Include automatically generated dependences
|
||||
-include *.d
|
||||
|
||||
+16
-16
@@ -1,20 +1,20 @@
|
||||
# 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.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
#
|
||||
# Copyright 2005-2015 Intel Corporation. All Rights Reserved.
|
||||
#
|
||||
# This file is part of Threading Building Blocks. Threading Building Blocks is free software;
|
||||
# you can redistribute it and/or modify it under the terms of the GNU General Public License
|
||||
# version 2 as published by the Free Software Foundation. Threading Building Blocks is
|
||||
# distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the GNU General Public License for more details. You should have received a copy of
|
||||
# the GNU General Public License along with Threading Building Blocks; if not, write to the
|
||||
# Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
# As a special exception, you may use this file as part of a free software library without
|
||||
# restriction. Specifically, if other files instantiate templates or use macros or inline
|
||||
# functions from this file, or you compile this file and link it with other files to produce
|
||||
# an executable, this file does not by itself cause the resulting executable to be covered
|
||||
# by the GNU General Public License. This exception does not however invalidate any other
|
||||
# reasons why the executable file might be covered by the GNU General Public License.
|
||||
|
||||
COMPILE_ONLY = -c -MMD
|
||||
PREPROC_ONLY = -E -x c++
|
||||
@@ -25,7 +25,7 @@ OUTPUTOBJ_KEY = -o #
|
||||
PIC_KEY = -fPIC
|
||||
WARNING_AS_ERROR_KEY = -Werror
|
||||
WARNING_KEY = -Wall
|
||||
TEST_WARNING_KEY = -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra
|
||||
TEST_WARNING_KEY = -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor $(if $(findstring cc4., $(runtime)),-Wextra)
|
||||
WARNING_SUPPRESS = -Wno-parentheses -Wno-non-virtual-dtor
|
||||
DYLIB_KEY = -shared
|
||||
LIBDL = -ldl
|
||||
|
||||
+15
-15
@@ -1,20 +1,20 @@
|
||||
# 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.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
#
|
||||
# Copyright 2005-2015 Intel Corporation. All Rights Reserved.
|
||||
#
|
||||
# This file is part of Threading Building Blocks. Threading Building Blocks is free software;
|
||||
# you can redistribute it and/or modify it under the terms of the GNU General Public License
|
||||
# version 2 as published by the Free Software Foundation. Threading Building Blocks is
|
||||
# distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the GNU General Public License for more details. You should have received a copy of
|
||||
# the GNU General Public License along with Threading Building Blocks; if not, write to the
|
||||
# Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
# As a special exception, you may use this file as part of a free software library without
|
||||
# restriction. Specifically, if other files instantiate templates or use macros or inline
|
||||
# functions from this file, or you compile this file and link it with other files to produce
|
||||
# an executable, this file does not by itself cause the resulting executable to be covered
|
||||
# by the GNU General Public License. This exception does not however invalidate any other
|
||||
# reasons why the executable file might be covered by the GNU General Public License.
|
||||
|
||||
ifndef arch
|
||||
arch:=$(shell uname -p)
|
||||
|
||||
+15
-17
@@ -1,20 +1,20 @@
|
||||
# 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.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
#
|
||||
# Copyright 2005-2015 Intel Corporation. All Rights Reserved.
|
||||
#
|
||||
# This file is part of Threading Building Blocks. Threading Building Blocks is free software;
|
||||
# you can redistribute it and/or modify it under the terms of the GNU General Public License
|
||||
# version 2 as published by the Free Software Foundation. Threading Building Blocks is
|
||||
# distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the GNU General Public License for more details. You should have received a copy of
|
||||
# the GNU General Public License along with Threading Building Blocks; if not, write to the
|
||||
# Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
# As a special exception, you may use this file as part of a free software library without
|
||||
# restriction. Specifically, if other files instantiate templates or use macros or inline
|
||||
# functions from this file, or you compile this file and link it with other files to produce
|
||||
# an executable, this file does not by itself cause the resulting executable to be covered
|
||||
# by the GNU General Public License. This exception does not however invalidate any other
|
||||
# reasons why the executable file might be covered by the GNU General Public License.
|
||||
|
||||
COMPILE_ONLY = -c -xMMD -errtags
|
||||
PREPROC_ONLY = -E -xMMD
|
||||
@@ -33,8 +33,6 @@ tbb_strict=0
|
||||
|
||||
CPLUS = CC
|
||||
CONLY = cc
|
||||
|
||||
OPENMP_FLAG = -xopenmp
|
||||
LIB_LINK_FLAGS = -G -R . -M$(tbb_root)/build/suncc.map.pause
|
||||
LINK_FLAGS += -M$(tbb_root)/build/suncc.map.pause
|
||||
LIBS = -lpthread -lrt -R .
|
||||
|
||||
@@ -1,130 +0,0 @@
|
||||
# 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.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
#
|
||||
#
|
||||
#
|
||||
|
||||
|
||||
COMPILE_ONLY = -c -MMD
|
||||
PREPROC_ONLY = -E -x c++
|
||||
INCLUDE_KEY = -I
|
||||
DEFINE_KEY = -D
|
||||
OUTPUT_KEY = -o #
|
||||
OUTPUTOBJ_KEY = -o #
|
||||
PIC_KEY = -fPIC
|
||||
WARNING_AS_ERROR_KEY = -Werror
|
||||
WARNING_KEY = -Wall
|
||||
SDL_FLAGS = -fPIE -fPIC -fstack-protector -Wformat -Wformat-security
|
||||
TEST_WARNING_KEY = -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra
|
||||
|
||||
WARNING_SUPPRESS = -Wno-parentheses -Wno-non-virtual-dtor
|
||||
DYLIB_KEY = -shared
|
||||
EXPORT_KEY = -Wl,--version-script,
|
||||
LIBDL = -ldl
|
||||
|
||||
CPLUS = $(TARGET_CXX)
|
||||
CONLY = $(TARGET_CC)
|
||||
|
||||
# -soname is necessary for proper linkage to TBB prebuilt libraries when building application with Android SDK
|
||||
LIB_LINK_FLAGS = $(DYLIB_KEY) -Wl,-soname=$(BUILDING_LIBRARY) -z relro -z now
|
||||
|
||||
# pie is necessary for test executables to work and might be removed if newer NDK will add it implicitly
|
||||
PIE_FLAG = -pie
|
||||
ifeq ($(APP_PIE), false)
|
||||
PIE_FLAG=
|
||||
endif
|
||||
|
||||
LINK_FLAGS = -Wl,-rpath-link=. -rdynamic
|
||||
C_FLAGS = $(CPLUS_FLAGS)
|
||||
|
||||
ifeq ($(cfg), release)
|
||||
SDL_FLAGS += -D_FORTIFY_SOURCE=2
|
||||
CPLUS_FLAGS = -O2
|
||||
endif
|
||||
ifeq ($(cfg), debug)
|
||||
CPLUS_FLAGS = -g -O0 $(DEFINE_KEY)TBB_USE_DEBUG
|
||||
endif
|
||||
|
||||
CPLUS_FLAGS += $(DEFINE_KEY)USE_PTHREAD $(DEFINE_KEY)_GLIBCXX_HAVE_FENV_H
|
||||
|
||||
ifneq (,$(findstring $(arch),ia32 intel64))
|
||||
CPLUS_FLAGS += $(DEFINE_KEY)DO_ITT_NOTIFY
|
||||
endif
|
||||
|
||||
ifeq (0, $(dynamic_load))
|
||||
CPLUS_FLAGS += $(DEFINE_KEY)__TBB_DYNAMIC_LOAD_ENABLED=0
|
||||
endif
|
||||
|
||||
# Paths to the NDK prebuilt tools and libraries
|
||||
ifneq (,$(findstring $(ndk_version),r16 r16b))
|
||||
# Since Android* NDK r16 another sysroot and isystem paths have to be specified
|
||||
CPLUS_FLAGS += --sysroot=$(NDK_ROOT)/sysroot -isystem $(NDK_ROOT)/sysroot/usr/include/$(TRIPLE)
|
||||
# Android* version flag required since r16
|
||||
CPLUS_FLAGS += -D__ANDROID_API__=$(API_LEVEL)
|
||||
else
|
||||
CPLUS_FLAGS += --sysroot=$(SYSROOT)
|
||||
endif
|
||||
|
||||
# Library sysroot flag
|
||||
LIB_LINK_FLAGS += --sysroot=$(SYSROOT)
|
||||
# Flag for test executables
|
||||
LINK_FLAGS += --sysroot=$(SYSROOT)
|
||||
|
||||
LIBS = -L$(CPLUS_LIB_PATH) -lc++_shared
|
||||
ifeq (,$(findstring $(ndk_version),$(foreach v, 7 8 9 10 11,r$(v) r$(v)b r$(v)c r$(v)d r$(v)e)))
|
||||
LIBS += -lc++abi
|
||||
ifeq (arm,$(arch))
|
||||
LIBS += -lunwind
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq (arm,$(arch))
|
||||
CPLUS_FLAGS += $(DEFINE_KEY)__TBB_64BIT_ATOMICS=0
|
||||
endif
|
||||
|
||||
CPLUS_FLAGS += $(TARGET_CFLAGS)
|
||||
LIB_LINK_FLAGS += $(TARGET_CFLAGS) $(TARGET_LDFLAGS) -L$(CPLUS_LIB_PATH)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# Setting assembler data.
|
||||
#------------------------------------------------------------------------------
|
||||
TBB_ASM.OBJ=
|
||||
MALLOC_ASM.OBJ=
|
||||
|
||||
ASM = $(tbb_tool_prefix)as
|
||||
ifeq (intel64,$(arch))
|
||||
ASM_FLAGS += --64
|
||||
endif
|
||||
ifeq (ia32,$(arch))
|
||||
ASM_FLAGS += --32
|
||||
endif
|
||||
ifeq ($(cfg),debug)
|
||||
ASM_FLAGS += -g
|
||||
endif
|
||||
|
||||
ASSEMBLY_SOURCE=$(arch)-gas
|
||||
#------------------------------------------------------------------------------
|
||||
# End of setting assembler data.
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# Setting tbbmalloc data.
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
M_CPLUS_FLAGS = $(CPLUS_FLAGS) -fno-rtti -fno-exceptions
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# End of setting tbbmalloc data.
|
||||
#------------------------------------------------------------------------------
|
||||
+42
-20
@@ -1,20 +1,20 @@
|
||||
# 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.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
#
|
||||
# Copyright 2005-2015 Intel Corporation. All Rights Reserved.
|
||||
#
|
||||
# This file is part of Threading Building Blocks. Threading Building Blocks is free software;
|
||||
# you can redistribute it and/or modify it under the terms of the GNU General Public License
|
||||
# version 2 as published by the Free Software Foundation. Threading Building Blocks is
|
||||
# distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the GNU General Public License for more details. You should have received a copy of
|
||||
# the GNU General Public License along with Threading Building Blocks; if not, write to the
|
||||
# Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
# As a special exception, you may use this file as part of a free software library without
|
||||
# restriction. Specifically, if other files instantiate templates or use macros or inline
|
||||
# functions from this file, or you compile this file and link it with other files to produce
|
||||
# an executable, this file does not by itself cause the resulting executable to be covered
|
||||
# by the GNU General Public License. This exception does not however invalidate any other
|
||||
# reasons why the executable file might be covered by the GNU General Public License.
|
||||
|
||||
|
||||
COMPILE_ONLY = -c -MMD
|
||||
@@ -45,9 +45,15 @@ ifeq ($(APP_PIE), false)
|
||||
PIE_FLAG=
|
||||
endif
|
||||
|
||||
LINK_FLAGS = -Wl,-rpath-link=. -rdynamic
|
||||
LINK_FLAGS = -Wl,-rpath-link=. -rdynamic $(PIE_FLAG)
|
||||
C_FLAGS = $(CPLUS_FLAGS)
|
||||
|
||||
# gcc 4.4 and higher support C++11
|
||||
ifneq (,$(shell $(CPLUS) -dumpversion | egrep "^(4\.[4-9]|[5-9])"))
|
||||
# On Android/gcc 4.4.3, -std=c++0x causes ::int64_t and ::uint64_t to be undefined.
|
||||
CPP11_FLAGS = -std=gnu++0x $(DEFINE_KEY)_TBB_CPP0X
|
||||
endif
|
||||
|
||||
ifeq ($(cfg), release)
|
||||
CPLUS_FLAGS = -O2
|
||||
endif
|
||||
@@ -61,6 +67,14 @@ ifneq (,$(findstring $(arch),ia32 intel64))
|
||||
CPLUS_FLAGS += $(DEFINE_KEY)DO_ITT_NOTIFY
|
||||
endif
|
||||
|
||||
ifneq (0, $(dlopen_workaround))
|
||||
CPLUS_FLAGS += $(DEFINE_KEY)__TBB_USE_DLOPEN_REENTRANCY_WORKAROUND=1
|
||||
CPLUS_FLAGS += $(DEFINE_KEY)__TBB_USE_DLOPEN_MAIN_PROGRAM_WORKAROUND=1
|
||||
else
|
||||
CPLUS_FLAGS += $(DEFINE_KEY)__TBB_USE_DLOPEN_REENTRANCY_WORKAROUND=0
|
||||
CPLUS_FLAGS += $(DEFINE_KEY)__TBB_USE_DLOPEN_MAIN_PROGRAM_WORKAROUND=0
|
||||
endif
|
||||
|
||||
ifeq (0, $(dynamic_load))
|
||||
CPLUS_FLAGS += $(DEFINE_KEY)__TBB_DYNAMIC_LOAD_ENABLED=0
|
||||
endif
|
||||
@@ -71,17 +85,25 @@ CPLUS_FLAGS += --sysroot=$(SYSROOT)
|
||||
LIB_LINK_FLAGS += --sysroot=$(SYSROOT)
|
||||
LIBS = -L$(CPLUS_LIB_PATH) -lgnustl_shared
|
||||
|
||||
# This causes CPP11_FLAGS to be issued twice for test_lambda.cpp
|
||||
# TODO: Fix this in general for all platforms once the correct strategy is determined.
|
||||
ifneq (00,$(lambdas)$(cpp0x))
|
||||
CXX_ONLY_FLAGS += $(CPP11_FLAGS)
|
||||
endif
|
||||
|
||||
ifeq (ia32,$(arch))
|
||||
# TODO: Determine best setting of -march and add to CPLUS_FLAGS
|
||||
CPLUS_FLAGS += -m32
|
||||
LIB_LINK_FLAGS += -m32
|
||||
else ifeq (intel64,$(arch))
|
||||
endif
|
||||
|
||||
ifeq (intel64,$(arch))
|
||||
CPLUS_FLAGS += -m64
|
||||
LIB_LINK_FLAGS += -m64
|
||||
else ifeq (arm,$(arch))
|
||||
endif
|
||||
|
||||
ifeq (arm,$(findstring arm,$(arch)))
|
||||
CPLUS_FLAGS += -march=armv7-a $(DEFINE_KEY)TBB_USE_GCC_BUILTINS=1 $(DEFINE_KEY)__TBB_64BIT_ATOMICS=0
|
||||
else ifeq (arm64,$(arch))
|
||||
CPLUS_FLAGS += -march=armv8-a
|
||||
endif
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@@ -1,120 +0,0 @@
|
||||
# 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.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
#
|
||||
#
|
||||
#
|
||||
|
||||
|
||||
COMPILE_ONLY = -c -MMD
|
||||
PREPROC_ONLY = -E -x c++
|
||||
INCLUDE_KEY = -I
|
||||
DEFINE_KEY = -D
|
||||
OUTPUT_KEY = -o #
|
||||
OUTPUTOBJ_KEY = -o #
|
||||
PIC_KEY = -fPIC
|
||||
WARNING_AS_ERROR_KEY = -Werror
|
||||
WARNING_KEY =
|
||||
TEST_WARNING_KEY = -Wshadow -Woverloaded-virtual -Wextra
|
||||
|
||||
WARNING_SUPPRESS = -Wno-parentheses -Wno-non-virtual-dtor
|
||||
DYLIB_KEY = -shared
|
||||
EXPORT_KEY = -Wl,--version-script,
|
||||
LIBDL = -ldl
|
||||
|
||||
CPLUS = icpc
|
||||
CONLY = icc
|
||||
|
||||
# -soname is necessary for proper linkage to TBB prebuilt libraries when building application with Android SDK
|
||||
LIB_LINK_FLAGS = $(DYLIB_KEY) -Wl,-soname=$(BUILDING_LIBRARY)
|
||||
|
||||
# pie is necessary for test executables to work and might be removed if newer NDK will add it implicitly
|
||||
PIE_FLAG = -pie
|
||||
ifeq ($(APP_PIE), false)
|
||||
PIE_FLAG=
|
||||
endif
|
||||
|
||||
LINK_FLAGS = -Wl,-rpath-link=. -rdynamic
|
||||
C_FLAGS = $(CPLUS_FLAGS)
|
||||
|
||||
ifeq ($(cfg), release)
|
||||
CPLUS_FLAGS = -O2
|
||||
endif
|
||||
ifeq ($(cfg), debug)
|
||||
CPLUS_FLAGS = -g -O0 $(DEFINE_KEY)TBB_USE_DEBUG
|
||||
endif
|
||||
|
||||
CPLUS_FLAGS += $(DEFINE_KEY)USE_PTHREAD $(DEFINE_KEY)_GLIBCXX_HAVE_FENV_H
|
||||
|
||||
ifneq (,$(findstring $(arch),ia32 intel64))
|
||||
CPLUS_FLAGS += $(DEFINE_KEY)DO_ITT_NOTIFY
|
||||
endif
|
||||
|
||||
ifeq (0, $(dynamic_load))
|
||||
CPLUS_FLAGS += $(DEFINE_KEY)__TBB_DYNAMIC_LOAD_ENABLED=0
|
||||
endif
|
||||
|
||||
|
||||
# Paths to the NDK prebuilt tools and libraries
|
||||
CPLUS_FLAGS += --sysroot=$(SYSROOT)
|
||||
LIB_LINK_FLAGS += --sysroot=$(SYSROOT)
|
||||
# the -static-intel flag is to remove the need to copy Intel-specific libs to the device.
|
||||
LIBS = -L$(CPLUS_LIB_PATH) -lgnustl_shared -static-intel
|
||||
|
||||
ifeq (ia32,$(arch))
|
||||
# TODO: Determine best setting of -march and add to CPLUS_FLAGS
|
||||
CPLUS_FLAGS += -m32 -march=pentium4 -falign-stack=maintain-16-byte
|
||||
LIB_LINK_FLAGS += -m32
|
||||
else
|
||||
ifeq (intel64,$(arch))
|
||||
CPLUS_FLAGS += -m64
|
||||
LIB_LINK_FLAGS += -m64
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq (arm,$(findstring arm,$(arch)))
|
||||
$(error "Unsupported architecture $(arch) for icc compiler")
|
||||
endif
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# Setting assembler data.
|
||||
#------------------------------------------------------------------------------
|
||||
TBB_ASM.OBJ=
|
||||
MALLOC_ASM.OBJ=
|
||||
|
||||
ASM = $(tbb_tool_prefix)as
|
||||
ifeq (intel64,$(arch))
|
||||
ASM_FLAGS += --64
|
||||
endif
|
||||
ifeq (ia32,$(arch))
|
||||
ASM_FLAGS += --32
|
||||
endif
|
||||
ifeq ($(cfg),debug)
|
||||
ASM_FLAGS += -g
|
||||
endif
|
||||
|
||||
ASSEMBLY_SOURCE=$(arch)-gas
|
||||
#------------------------------------------------------------------------------
|
||||
# End of setting assembler data.
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# Setting tbbmalloc data.
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
M_CPLUS_FLAGS = $(CPLUS_FLAGS) -fno-rtti -fno-exceptions
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# End of setting tbbmalloc data.
|
||||
#------------------------------------------------------------------------------
|
||||
+36
-37
@@ -1,20 +1,20 @@
|
||||
# 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.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
#
|
||||
# Copyright 2005-2015 Intel Corporation. All Rights Reserved.
|
||||
#
|
||||
# This file is part of Threading Building Blocks. Threading Building Blocks is free software;
|
||||
# you can redistribute it and/or modify it under the terms of the GNU General Public License
|
||||
# version 2 as published by the Free Software Foundation. Threading Building Blocks is
|
||||
# distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the GNU General Public License for more details. You should have received a copy of
|
||||
# the GNU General Public License along with Threading Building Blocks; if not, write to the
|
||||
# Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
# As a special exception, you may use this file as part of a free software library without
|
||||
# restriction. Specifically, if other files instantiate templates or use macros or inline
|
||||
# functions from this file, or you compile this file and link it with other files to produce
|
||||
# an executable, this file does not by itself cause the resulting executable to be covered
|
||||
# by the GNU General Public License. This exception does not however invalidate any other
|
||||
# reasons why the executable file might be covered by the GNU General Public License.
|
||||
|
||||
#
|
||||
# Extra gmake command-line parameters for use with Android:
|
||||
@@ -28,34 +28,33 @@ ifeq (android,$(findstring android,$(tbb_os)))
|
||||
$(error TBB only supports cross-compilation for Android. Specify "target=android" instead.)
|
||||
endif
|
||||
|
||||
ifndef BUILDING_PHASE
|
||||
ifneq ("command line","$(origin arch)")
|
||||
ifeq (icc,$(compiler))
|
||||
export COMPILER_VERSION := ICC: $(shell icc -V </dev/null 2>&1 | grep 'Version')
|
||||
ifneq (,$(findstring running on IA-32, $(COMPILER_VERSION)))
|
||||
export arch:=ia32
|
||||
else ifneq (,$(findstring running on Intel(R) 64, $(COMPILER_VERSION)))
|
||||
export arch:=intel64
|
||||
else
|
||||
$(error "No support for Android in $(COMPILER_VERSION)")
|
||||
endif
|
||||
|
||||
ifneq ("command line","$(origin arch)")
|
||||
ifeq (icc,$(compiler))
|
||||
export COMPILER_VERSION := ICC: $(shell icc -V </dev/null 2>&1 | grep 'Version')
|
||||
ifneq (,$(findstring IA-32, $(COMPILER_VERSION)))
|
||||
export arch:=ia32
|
||||
else
|
||||
ifdef ANDROID_SERIAL
|
||||
uname_m:=$(shell adb shell uname -m)
|
||||
ifeq (i686,$(uname_m))
|
||||
export arch:=ia32
|
||||
else
|
||||
export arch:=$(uname_m)
|
||||
endif
|
||||
$(error "No support for Android in $(COMPILER_VERSION)")
|
||||
endif
|
||||
|
||||
else
|
||||
ifdef ANDROID_SERIAL
|
||||
uname_m:=$(shell adb shell uname -m)
|
||||
ifeq (i686,$(uname_m))
|
||||
export arch:=ia32
|
||||
else
|
||||
export arch:=$(uname_m)
|
||||
endif
|
||||
else
|
||||
ifndef arch
|
||||
$(error "No target architecture specified and \'ANDROID_SERIAL\' environment variable specifying target device not set")
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ("$(arch)","")
|
||||
$(error "No target architecture specified and \'ANDROID_SERIAL\' environment variable specifying target device not set")
|
||||
endif
|
||||
# Many OS versions (Android 4.0.[0-3] for example) need workaround for dlopen to avoid non-recursive loader lock hang
|
||||
export dlopen_workaround = 1
|
||||
|
||||
# Android platform only supported from TBB 4.1 forward
|
||||
NO_LEGACY_TESTS = 1
|
||||
|
||||
+21
-18
@@ -1,20 +1,20 @@
|
||||
# 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.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
#
|
||||
# Copyright 2005-2015 Intel Corporation. All Rights Reserved.
|
||||
#
|
||||
# This file is part of Threading Building Blocks. Threading Building Blocks is free software;
|
||||
# you can redistribute it and/or modify it under the terms of the GNU General Public License
|
||||
# version 2 as published by the Free Software Foundation. Threading Building Blocks is
|
||||
# distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the GNU General Public License for more details. You should have received a copy of
|
||||
# the GNU General Public License along with Threading Building Blocks; if not, write to the
|
||||
# Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
# As a special exception, you may use this file as part of a free software library without
|
||||
# restriction. Specifically, if other files instantiate templates or use macros or inline
|
||||
# functions from this file, or you compile this file and link it with other files to produce
|
||||
# an executable, this file does not by itself cause the resulting executable to be covered
|
||||
# by the GNU General Public License. This exception does not however invalidate any other
|
||||
# reasons why the executable file might be covered by the GNU General Public License.
|
||||
|
||||
####### Detections and Commands ###############################################
|
||||
|
||||
@@ -29,14 +29,17 @@ ifeq (64,$(findstring 64,$(arch)))
|
||||
def_prefix = lin64
|
||||
endif
|
||||
|
||||
ifdef ndk_version
|
||||
$(warning "NDK version $(ndk_version)")
|
||||
gcc_version = $(shell $(tbb_tool_prefix)g++ -dumpversion)
|
||||
|
||||
ifdef ANDROID_NDK_ROOT
|
||||
$(warning "NDK version $(ANDROID_NDK_ROOT)")
|
||||
ndk_version:= $(lastword $(subst -, ,$(ANDROID_NDK_ROOT)))
|
||||
else
|
||||
$(warning "NDK version not set in environment, using \'unknown\' instead.")
|
||||
ndk_version:=unknown
|
||||
endif
|
||||
|
||||
export runtime:=$(target)_NDK$(ndk_version)_version_$(target_os_version)
|
||||
export runtime:=$(target)_cc$(gcc_version)_NDK$(ndk_version)_version_$(target_os_version)
|
||||
|
||||
AR = $(tbb_tool_prefix)ar
|
||||
MAKE_VERSIONS=sh $(tbb_root)/build/version_info_android.sh $(VERSION_FLAGS) >version_string.ver
|
||||
|
||||
@@ -1,22 +1,22 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# 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.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
#
|
||||
# Copyright 2005-2015 Intel Corporation. All Rights Reserved.
|
||||
#
|
||||
# This file is part of Threading Building Blocks. Threading Building Blocks is free software;
|
||||
# you can redistribute it and/or modify it under the terms of the GNU General Public License
|
||||
# version 2 as published by the Free Software Foundation. Threading Building Blocks is
|
||||
# distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the GNU General Public License for more details. You should have received a copy of
|
||||
# the GNU General Public License along with Threading Building Blocks; if not, write to the
|
||||
# Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
# As a special exception, you may use this file as part of a free software library without
|
||||
# restriction. Specifically, if other files instantiate templates or use macros or inline
|
||||
# functions from this file, or you compile this file and link it with other files to produce
|
||||
# an executable, this file does not by itself cause the resulting executable to be covered
|
||||
# by the GNU General Public License. This exception does not however invalidate any other
|
||||
# reasons why the executable file might be covered by the GNU General Public License.
|
||||
|
||||
# Usage:
|
||||
# android.linux.launcher.sh [-v] [-q] [-s] [-r <repeats>] [-u] [-l <library>] <executable> <arg1> <arg2> <argN>
|
||||
@@ -77,18 +77,18 @@ trap do_trap_cleanup INT # if someone hits control-c, cleanup the device
|
||||
# Collect the list of files to transfer to the target device, starting with executable itself.
|
||||
fnamelist="$exename" #
|
||||
# Add the C++ standard library from the NDK, which is required for all tests on Android.
|
||||
if [ ! -z "${LIB_STL_ANDROID}" ]; then #
|
||||
fnamelist="$fnamelist ${LIB_STL_ANDROID}" #
|
||||
if [ ! -z "${LIB_GNU_STL_ANDROID}" ]; then #
|
||||
fnamelist="$fnamelist ${LIB_GNU_STL_ANDROID}/libgnustl_shared.so" #
|
||||
else #
|
||||
fnamelist="$fnamelist libc++_shared.so" #
|
||||
fnamelist="$fnamelist libgnustl_shared.so" #
|
||||
fi #
|
||||
# Find the TBB libraries and add them to the list.
|
||||
# Add TBB libraries from the current directory that contains libtbb* files
|
||||
files="$(ls libtbb* 2> /dev/null)" #
|
||||
files="$(/bin/ls libtbb* 2> /dev/null)" #
|
||||
[ -z "$files" ] || fnamelist="$fnamelist $files" #
|
||||
# Add any libraries built for specific tests.
|
||||
exeroot=${exename%\.*} #
|
||||
files="$(ls ${exeroot}*.so ${exeroot}*.so.* 2> /dev/null)" #
|
||||
files="$(/bin/ls ${exeroot}*.so ${exeroot}*.so.* 2> /dev/null)" #
|
||||
[ -z "$files" ] || fnamelist="$fnamelist $files" #
|
||||
# TODO: Add extra libraries from the Intel(R) Compiler for certain tests
|
||||
# found=$(echo $exename | egrep 'test_malloc_atexit\|test_malloc_lib_unload' 2> /dev/null)
|
||||
@@ -137,7 +137,6 @@ for fullname in "$@"; do { #
|
||||
[ -z "$ldpreload" ] || run_prefix="LD_PRELOAD='$ldpreload' $run_prefix" #
|
||||
[ $verbose ] && echo Running $run_prefix ./$exename $* #
|
||||
run_env="$run_env cd $targetdir; export LD_LIBRARY_PATH=." #
|
||||
[ -z "$VIRTUAL_MACHINE" ] || run_env="$run_env; export VIRTUAL_MACHINE=$VIRTUAL_MACHINE" #
|
||||
# The return_code file is the best way found to return the status of the test execution when using adb shell.
|
||||
eval 'adb shell "$run_env; $run_prefix ./$exename $* || echo -n \$? >error_code"' "${OUTPUT}" #
|
||||
# Capture the return code string and remove the trailing \r from the return_code file contents
|
||||
|
||||
+21
-18
@@ -1,20 +1,20 @@
|
||||
# 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.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
#
|
||||
# Copyright 2005-2015 Intel Corporation. All Rights Reserved.
|
||||
#
|
||||
# This file is part of Threading Building Blocks. Threading Building Blocks is free software;
|
||||
# you can redistribute it and/or modify it under the terms of the GNU General Public License
|
||||
# version 2 as published by the Free Software Foundation. Threading Building Blocks is
|
||||
# distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the GNU General Public License for more details. You should have received a copy of
|
||||
# the GNU General Public License along with Threading Building Blocks; if not, write to the
|
||||
# Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
# As a special exception, you may use this file as part of a free software library without
|
||||
# restriction. Specifically, if other files instantiate templates or use macros or inline
|
||||
# functions from this file, or you compile this file and link it with other files to produce
|
||||
# an executable, this file does not by itself cause the resulting executable to be covered
|
||||
# by the GNU General Public License. This exception does not however invalidate any other
|
||||
# reasons why the executable file might be covered by the GNU General Public License.
|
||||
|
||||
####### Detections and Commands ###############################################
|
||||
|
||||
@@ -29,14 +29,17 @@ ifeq (64,$(findstring 64,$(arch)))
|
||||
def_prefix = lin64
|
||||
endif
|
||||
|
||||
ifdef ndk_version
|
||||
$(warning "NDK version $(ndk_version)")
|
||||
gcc_version = $(shell $(tbb_tool_prefix)g++ -dumpversion)
|
||||
|
||||
ifdef ANDROID_NDK_ROOT
|
||||
$(warning "NDK version $(ANDROID_NDK_ROOT)")
|
||||
ndk_version:= $(lastword $(subst -, ,$(ANDROID_NDK_ROOT)))
|
||||
else
|
||||
$(warning "NDK version not set in environment, using \'unknown\' instead.")
|
||||
ndk_version:=unknown
|
||||
endif
|
||||
|
||||
export runtime:=$(target)_NDK$(ndk_version)_version_$(target_os_version)
|
||||
export runtime:=$(target)_cc$(gcc_version)_NDK$(ndk_version)_version_$(target_os_version)
|
||||
|
||||
AR = $(tbb_tool_prefix)ar
|
||||
MAKE_VERSIONS=sh $(tbb_root)/build/version_info_android.sh $(VERSION_FLAGS) >version_string.ver
|
||||
|
||||
+21
-21
@@ -1,20 +1,20 @@
|
||||
# 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.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
#
|
||||
# Copyright 2005-2015 Intel Corporation. All Rights Reserved.
|
||||
#
|
||||
# This file is part of Threading Building Blocks. Threading Building Blocks is free software;
|
||||
# you can redistribute it and/or modify it under the terms of the GNU General Public License
|
||||
# version 2 as published by the Free Software Foundation. Threading Building Blocks is
|
||||
# distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the GNU General Public License for more details. You should have received a copy of
|
||||
# the GNU General Public License along with Threading Building Blocks; if not, write to the
|
||||
# Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
# As a special exception, you may use this file as part of a free software library without
|
||||
# restriction. Specifically, if other files instantiate templates or use macros or inline
|
||||
# functions from this file, or you compile this file and link it with other files to produce
|
||||
# an executable, this file does not by itself cause the resulting executable to be covered
|
||||
# by the GNU General Public License. This exception does not however invalidate any other
|
||||
# reasons why the executable file might be covered by the GNU General Public License.
|
||||
|
||||
####### Detections and Commands ###############################################
|
||||
|
||||
@@ -29,14 +29,17 @@ ifeq (64,$(findstring 64,$(arch)))
|
||||
def_prefix = lin64
|
||||
endif
|
||||
|
||||
ifdef ndk_version
|
||||
$(warning "NDK version $(ndk_version)")
|
||||
gcc_version = $(shell $(tbb_tool_prefix)g++ -dumpversion)
|
||||
|
||||
ifdef ANDROID_NDK_ROOT
|
||||
$(warning "NDK version $(ANDROID_NDK_ROOT)")
|
||||
ndk_version:= $(lastword $(subst -, ,$(ANDROID_NDK_ROOT)))
|
||||
else
|
||||
$(warning "NDK version not set in environment, using \'unknown\' instead.")
|
||||
ndk_version:=unknown
|
||||
endif
|
||||
|
||||
export runtime:=$(target)_NDK$(ndk_version)_version_$(target_os_version)
|
||||
export runtime:=$(target)_cc$(gcc_version)_NDK$(ndk_version)_version_$(target_os_version)
|
||||
|
||||
AR = $(tbb_tool_prefix)ar
|
||||
MAKE_VERSIONS = cmd /C cscript /nologo /E:jscript $(subst \,/,$(tbb_root))/build/version_info_windows.js $(CONLY) $(arch) $(subst \,/,"$(VERSION_FLAGS)") > version_string.ver
|
||||
@@ -73,6 +76,3 @@ DLL = so
|
||||
|
||||
TEST_LAUNCHER=
|
||||
run_cmd ?= -sh $(tbb_root)/build/android.linux.launcher.sh $(largs)
|
||||
export UNIXMODE = 1
|
||||
# Clang for Android* uses the INCLUDE variable (instead of CPATH)
|
||||
export USE_INCLUDE_ENV = 1
|
||||
|
||||
+15
-15
@@ -1,20 +1,20 @@
|
||||
# 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.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
#
|
||||
# Copyright 2005-2015 Intel Corporation. All Rights Reserved.
|
||||
#
|
||||
# This file is part of Threading Building Blocks. Threading Building Blocks is free software;
|
||||
# you can redistribute it and/or modify it under the terms of the GNU General Public License
|
||||
# version 2 as published by the Free Software Foundation. Threading Building Blocks is
|
||||
# distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the GNU General Public License for more details. You should have received a copy of
|
||||
# the GNU General Public License along with Threading Building Blocks; if not, write to the
|
||||
# Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
# As a special exception, you may use this file as part of a free software library without
|
||||
# restriction. Specifically, if other files instantiate templates or use macros or inline
|
||||
# functions from this file, or you compile this file and link it with other files to produce
|
||||
# an executable, this file does not by itself cause the resulting executable to be covered
|
||||
# by the GNU General Public License. This exception does not however invalidate any other
|
||||
# reasons why the executable file might be covered by the GNU General Public License.
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# Defines settings for building the TBB run-time as a static library.
|
||||
|
||||
-177
@@ -1,177 +0,0 @@
|
||||
#!/usr/bin/env python
|
||||
#
|
||||
# Copyright (c) 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.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
#
|
||||
#
|
||||
#
|
||||
|
||||
# Provides unified tool for preparing TBB for packaging
|
||||
|
||||
from __future__ import print_function
|
||||
import os
|
||||
import re
|
||||
import sys
|
||||
import shutil
|
||||
import platform
|
||||
import argparse
|
||||
from glob import glob
|
||||
from collections import OrderedDict
|
||||
|
||||
jp = os.path.join
|
||||
is_win = (platform.system() == 'Windows')
|
||||
is_lin = (platform.system() == 'Linux')
|
||||
is_mac = (platform.system() == 'Darwin')
|
||||
|
||||
default_prefix = os.getenv('PREFIX', 'install_prefix')
|
||||
if is_win:
|
||||
default_prefix = jp(default_prefix, 'Library') # conda-specific by default on Windows
|
||||
|
||||
parser = argparse.ArgumentParser()
|
||||
parser.add_argument('--tbbroot', default='.', help='Take Intel TBB from here')
|
||||
parser.add_argument('--prefix', default=default_prefix, help='Prefix')
|
||||
parser.add_argument('--no-rebuild', default=False, action='store_true', help='do not rebuild')
|
||||
parser.add_argument('--install', default=False, action='store_true', help='install all')
|
||||
parser.add_argument('--install-libs', default=False, action='store_true', help='install libs')
|
||||
parser.add_argument('--install-devel', default=False, action='store_true', help='install devel')
|
||||
parser.add_argument('--install-docs', default=False, action='store_true', help='install docs')
|
||||
parser.add_argument('--install-python',default=False, action='store_true', help='install python module')
|
||||
parser.add_argument('--make-tool', default='make', help='Use different make command instead')
|
||||
parser.add_argument('--copy-tool', default=None, help='Use this command for copying ($ tool file dest-dir)')
|
||||
parser.add_argument('--build-args', default="", help='specify extra build args')
|
||||
parser.add_argument('--build-prefix', default='local', help='build dir prefix')
|
||||
if is_win:
|
||||
parser.add_argument('--msbuild', default=False, action='store_true', help='Use msbuild')
|
||||
parser.add_argument('--vs', default="2012", help='select VS version for build')
|
||||
parser.add_argument('--vs-platform', default="x64", help='select VS platform for build')
|
||||
parser.add_argument('ignore', nargs='?', help="workaround conda-build issue #2512")
|
||||
|
||||
args = parser.parse_args()
|
||||
|
||||
if args.install:
|
||||
args.install_libs = True
|
||||
args.install_devel = True
|
||||
args.install_docs = True
|
||||
args.install_python= True
|
||||
|
||||
def custom_cp(src, dst):
|
||||
assert os.system(' '.join([args.copy_tool, src, dst])) == 0
|
||||
|
||||
if args.copy_tool:
|
||||
install_cp = custom_cp # e.g. to use install -p -D -m 755 on Linux
|
||||
else:
|
||||
install_cp = shutil.copy
|
||||
|
||||
bin_dir = jp(args.prefix, "bin")
|
||||
lib_dir = jp(args.prefix, "lib")
|
||||
inc_dir = jp(args.prefix, 'include')
|
||||
doc_dir = jp(args.prefix, 'share', 'doc', 'tbb')
|
||||
if is_win:
|
||||
os.environ["OS"] = "Windows_NT" # make sure TBB will interpret it corretly
|
||||
libext = '.dll'
|
||||
libpref = ''
|
||||
dll_dir = bin_dir
|
||||
else:
|
||||
libext = '.dylib' if is_mac else '.so.2'
|
||||
libpref = 'lib'
|
||||
dll_dir = lib_dir
|
||||
|
||||
tbb_names = ["tbb", "tbbmalloc", "tbbmalloc_proxy"]
|
||||
|
||||
##############################################################
|
||||
|
||||
os.chdir(args.tbbroot)
|
||||
if is_win and args.msbuild:
|
||||
preview_release_dir = release_dir = jp(args.tbbroot, 'build', 'vs'+args.vs, args.vs_platform, 'Release')
|
||||
if not args.no_rebuild or not os.path.isdir(release_dir):
|
||||
assert os.system('msbuild /m /p:Platform=%s /p:Configuration=Release %s build/vs%s/makefile.sln'% \
|
||||
(args.vs_platform, args.build_args, args.vs)) == 0
|
||||
preview_debug_dir = debug_dir = jp(args.tbbroot, 'build', 'vs'+args.vs, args.vs_platform, 'Debug')
|
||||
if not args.no_rebuild or not os.path.isdir(debug_dir):
|
||||
assert os.system('msbuild /m /p:Platform=%s /p:Configuration=Debug %s build/vs%s/makefile.sln'% \
|
||||
(args.vs_platform, args.build_args, args.vs)) == 0
|
||||
else:
|
||||
release_dir = jp(args.tbbroot, 'build', args.build_prefix+'_release')
|
||||
debug_dir = jp(args.tbbroot, 'build', args.build_prefix+'_debug')
|
||||
if not args.no_rebuild or not (os.path.isdir(release_dir) and os.path.isdir(debug_dir)):
|
||||
assert os.system('%s -j tbb_build_prefix=%s %s'% \
|
||||
(args.make_tool, args.build_prefix, args.build_args)) == 0
|
||||
preview_release_dir = jp(args.tbbroot, 'build', args.build_prefix+'_preview_release')
|
||||
preview_debug_dir = jp(args.tbbroot, 'build', args.build_prefix+'_preview_debug')
|
||||
if not args.no_rebuild or not (os.path.isdir(preview_release_dir) and os.path.isdir(preview_debug_dir)):
|
||||
assert os.system('%s -j tbb_build_prefix=%s_preview %s tbb_cpf=1 tbb'% \
|
||||
(args.make_tool, args.build_prefix, args.build_args)) == 0
|
||||
|
||||
|
||||
filemap = OrderedDict()
|
||||
def append_files(files, dst):
|
||||
global filemap
|
||||
filemap.update(dict(zip(files, [dst]*len(files))))
|
||||
|
||||
if args.install_libs:
|
||||
files = [jp(release_dir, libpref+f+libext) for f in tbb_names]
|
||||
append_files(files, dll_dir)
|
||||
|
||||
if args.install_devel:
|
||||
dll_files = [jp(debug_dir, libpref+f+'_debug'+libext) for f in tbb_names] # adding debug libraries
|
||||
if not is_win or not args.msbuild:
|
||||
dll_files += [jp(preview_release_dir, libpref+"tbb_preview"+libext),
|
||||
jp(preview_debug_dir, libpref+"tbb_preview_debug"+libext)]
|
||||
if is_win:
|
||||
dll_files += sum( [glob(jp(d, 'tbb*.pdb')) for d in # copying debug info
|
||||
(release_dir, debug_dir, preview_release_dir, preview_debug_dir)], [])
|
||||
if is_lin:
|
||||
dll_files += sum( [glob(jp(d, 'libtbb*.so')) for d in # copying linker scripts
|
||||
(release_dir, debug_dir, preview_release_dir, preview_debug_dir)], [])
|
||||
# symlinks .so -> .so.2 should not be created instead
|
||||
# since linking with -ltbb when using links can result in
|
||||
# incorrect dependence upon unversioned .so files
|
||||
append_files(dll_files, dll_dir)
|
||||
if is_win:
|
||||
lib_files = sum([glob(jp(d,e)) for d in (release_dir, debug_dir) for e in ('*.lib', '*.def')], [])
|
||||
append_files(lib_files, lib_dir) # copying linker libs and defs
|
||||
for rootdir, dirnames, filenames in os.walk(jp(args.tbbroot,'include')):
|
||||
files = [jp(rootdir, f) for f in filenames if not '.html' in f]
|
||||
append_files(files, jp(inc_dir, rootdir.split('include')[1][1:]))
|
||||
|
||||
if args.install_python:
|
||||
assert os.system('%s -j tbb_build_prefix=%s %s python'% \
|
||||
(args.make_tool, args.build_prefix, args.build_args)) == 0
|
||||
if is_lin:
|
||||
append_files([jp(release_dir, 'libirml.so.1')], dll_dir)
|
||||
|
||||
if args.install_docs:
|
||||
files = [jp(args.tbbroot, *f) for f in (
|
||||
('CHANGES',),
|
||||
('LICENSE',),
|
||||
('README',),
|
||||
('README.md',),
|
||||
('doc','Release_Notes.txt'),
|
||||
)]
|
||||
append_files(files, doc_dir)
|
||||
|
||||
for f in filemap.keys():
|
||||
assert os.path.exists(f)
|
||||
assert os.path.isfile(f)
|
||||
|
||||
if filemap:
|
||||
print("Copying to prefix =", args.prefix)
|
||||
for f, dest in filemap.items():
|
||||
if not os.path.isdir(dest):
|
||||
os.makedirs(dest)
|
||||
print("+ %s to $prefix%s"%(f,dest.replace(args.prefix, '')))
|
||||
install_cp(f, dest)
|
||||
|
||||
print("done")
|
||||
+25
-44
@@ -1,20 +1,20 @@
|
||||
# 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.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
#
|
||||
# Copyright 2005-2015 Intel Corporation. All Rights Reserved.
|
||||
#
|
||||
# This file is part of Threading Building Blocks. Threading Building Blocks is free software;
|
||||
# you can redistribute it and/or modify it under the terms of the GNU General Public License
|
||||
# version 2 as published by the Free Software Foundation. Threading Building Blocks is
|
||||
# distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the GNU General Public License for more details. You should have received a copy of
|
||||
# the GNU General Public License along with Threading Building Blocks; if not, write to the
|
||||
# Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
# As a special exception, you may use this file as part of a free software library without
|
||||
# restriction. Specifically, if other files instantiate templates or use macros or inline
|
||||
# functions from this file, or you compile this file and link it with other files to produce
|
||||
# an executable, this file does not by itself cause the resulting executable to be covered
|
||||
# by the GNU General Public License. This exception does not however invalidate any other
|
||||
# reasons why the executable file might be covered by the GNU General Public License.
|
||||
|
||||
ifndef tbb_os
|
||||
|
||||
@@ -39,33 +39,10 @@ ifndef tbb_os
|
||||
|
||||
endif # !tbb_os
|
||||
|
||||
ifeq (1,$(tbb_cpf))
|
||||
ifeq ($(tbb_cpf),1)
|
||||
export CPF_SUFFIX ?=_preview
|
||||
endif
|
||||
|
||||
ifeq (0,$(exceptions))
|
||||
# Inverse the value, for simplicity of use
|
||||
export no_exceptions=1
|
||||
endif
|
||||
|
||||
ifdef cpp0x
|
||||
$(warning "Warning: deprecated cpp0x=$(cpp0x) is used, stdver must be used instead. Building in stdver=c++0x mode.")
|
||||
export stdver?=c++0x
|
||||
override cpp0x=
|
||||
endif
|
||||
|
||||
ifneq (,$(stdver))
|
||||
ifeq (,$(findstring ++, $(stdver)))
|
||||
$(warning "Warning: unexpected stdver=$(stdver) is used.")
|
||||
endif
|
||||
CXX_STD_FLAGS=-std=$(stdver)
|
||||
endif
|
||||
|
||||
# The requested option is added unconditionally.
|
||||
# If it is not supported, a compiler warning or error is expected.
|
||||
# Note that CXX_STD_FLAGS can be changed in <os>.<compiler>.inc.
|
||||
CXX_ONLY_FLAGS+=$(CXX_STD_FLAGS)
|
||||
|
||||
ifeq (,$(wildcard $(tbb_root)/build/$(tbb_os).inc))
|
||||
$(error "$(tbb_os)" is not supported. Add build/$(tbb_os).inc file with os-specific settings )
|
||||
endif
|
||||
@@ -104,23 +81,27 @@ cross_cfg = $(if $(crosstest),$(call flip_cfg,$(1)),$(1))
|
||||
# Setting default configuration to release
|
||||
cfg?=release
|
||||
|
||||
compiler_name=$(notdir $(compiler))
|
||||
ifdef BUILDING_PHASE
|
||||
# No lambdas or other C++0x extensions by default for compilers that implement them as experimental features
|
||||
# TODO: it should become unnecessary when all relevant tests are "moved" to the TEST_TBB_CPP11 set
|
||||
lambdas ?= 0
|
||||
cpp0x ?= 0
|
||||
|
||||
ifndef target
|
||||
target:=$(tbb_os)
|
||||
endif
|
||||
# process host/target compiler-dependent build configuration
|
||||
ifeq (,$(wildcard $(tbb_root)/build/$(target).$(compiler_name).inc))
|
||||
$(error "$(compiler_name)" is not supported on $(target). Add build/$(target).$(compiler_name).inc file with compiler-specific settings. )
|
||||
ifeq (,$(wildcard $(tbb_root)/build/$(target).$(compiler).inc))
|
||||
$(error "$(compiler)" is not supported on $(target). Add build/$(target).$(compiler).inc file with compiler-specific settings. )
|
||||
endif
|
||||
include $(tbb_root)/build/$(target).$(compiler_name).inc
|
||||
include $(tbb_root)/build/$(target).$(compiler).inc
|
||||
endif
|
||||
|
||||
ifneq ($(BUILDING_PHASE),1)
|
||||
# definitions for top-level Makefiles
|
||||
origin_build_dir:=$(origin tbb_build_dir)
|
||||
tbb_build_dir?=$(tbb_root)$(SLASH)build
|
||||
export tbb_build_prefix?=$(tbb_os)_$(arch)_$(compiler_name)_$(runtime)$(CPF_SUFFIX)
|
||||
export tbb_build_prefix?=$(tbb_os)_$(arch)_$(compiler)_$(runtime)$(CPF_SUFFIX)
|
||||
work_dir=$(tbb_build_dir)$(SLASH)$(tbb_build_prefix)
|
||||
endif # BUILDING_PHASE != 1
|
||||
|
||||
|
||||
+20
-30
@@ -1,20 +1,20 @@
|
||||
# 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.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
#
|
||||
# Copyright 2005-2015 Intel Corporation. All Rights Reserved.
|
||||
#
|
||||
# This file is part of Threading Building Blocks. Threading Building Blocks is free software;
|
||||
# you can redistribute it and/or modify it under the terms of the GNU General Public License
|
||||
# version 2 as published by the Free Software Foundation. Threading Building Blocks is
|
||||
# distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the GNU General Public License for more details. You should have received a copy of
|
||||
# the GNU General Public License along with Threading Building Blocks; if not, write to the
|
||||
# Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
# As a special exception, you may use this file as part of a free software library without
|
||||
# restriction. Specifically, if other files instantiate templates or use macros or inline
|
||||
# functions from this file, or you compile this file and link it with other files to produce
|
||||
# an executable, this file does not by itself cause the resulting executable to be covered
|
||||
# by the GNU General Public License. This exception does not however invalidate any other
|
||||
# reasons why the executable file might be covered by the GNU General Public License.
|
||||
|
||||
|
||||
ifeq ($(tbb_strict),1)
|
||||
@@ -46,14 +46,12 @@ endif
|
||||
INCLUDES += $(INCLUDE_KEY)$(tbb_root)/src $(INCLUDE_KEY)$(tbb_root)/src/rml/include $(INCLUDE_KEY)$(tbb_root)/include
|
||||
|
||||
CPLUS_FLAGS += $(WARNING_KEY) $(CXXFLAGS)
|
||||
ifeq (1,$(tbb_cpf))
|
||||
ifeq ($(tbb_cpf),1)
|
||||
CPLUS_FLAGS += $(DEFINE_KEY)__TBB_CPF_BUILD=1
|
||||
endif
|
||||
ifeq (0,$(exceptions))
|
||||
CPLUS_FLAGS += $(DEFINE_KEY)TBB_USE_EXCEPTIONS=0
|
||||
endif
|
||||
LINK_FLAGS += $(LDFLAGS)
|
||||
LIB_LINK_FLAGS += $(LDFLAGS)
|
||||
CPLUS_FLAGS_NOSTRICT = $(subst -strict-ansi,-ansi,$(CPLUS_FLAGS))
|
||||
|
||||
LIB_LINK_CMD ?= $(CPLUS) $(PIC_KEY)
|
||||
ifeq ($(origin LIB_OUTPUT_KEY), undefined)
|
||||
@@ -63,14 +61,7 @@ ifeq ($(origin LIB_LINK_LIBS), undefined)
|
||||
LIB_LINK_LIBS = $(LIBDL) $(LIBS)
|
||||
endif
|
||||
|
||||
# Define C & C++ compilers according to platform defaults or CXX & CC environment variables
|
||||
ifneq (,$(findstring environment, $(origin CXX)))
|
||||
CPLUS = $(CXX)
|
||||
endif
|
||||
CONLY ?= $(CPLUS)
|
||||
ifneq (,$(findstring environment, $(origin CC)))
|
||||
CONLY = $(CC)
|
||||
endif
|
||||
|
||||
# The most generic rules
|
||||
#$(1) - is the target pattern
|
||||
@@ -101,7 +92,7 @@ endef
|
||||
LINK_FILES+=$(TEST_LIBS)
|
||||
# Rule for generating executable test
|
||||
%.$(TEST_EXT): %.$(OBJ) $(TEST_LIBS) $(TEST_PREREQUISITE) $(if $(use_proxy),$(PROXY.LIB))
|
||||
$(call make-test-binary,$@,$< $(LINK_FILES) $(PIE_FLAG))
|
||||
$(call make-test-binary,$@,$< $(LINK_FILES))
|
||||
|
||||
# Rules for generating a test DLL
|
||||
%_dll.$(DLL): LINK_FLAGS += $(PIC_KEY) $(DYLIB_KEY)
|
||||
@@ -121,8 +112,7 @@ LINK_FILES+=$(TEST_LIBS)
|
||||
$(ASM) $(ASM_FLAGS) -o $@ $*.tmp
|
||||
|
||||
# Rule for generating .E file if needed for visual inspection
|
||||
# Note that ICL treats an argument after PREPROC_ONLY as a file to open,
|
||||
# so all uses of PREPROC_ONLY should be immediately followed by a file name
|
||||
# Note that due to mapping for ICL all uses of PREPROC_ONLY should be immediately followed by a file name
|
||||
%.E: %.cpp
|
||||
$(CPLUS) $(CPLUS_FLAGS) $(CXX_ONLY_FLAGS) $(INCLUDES) $(PREPROC_ONLY) $< >$@
|
||||
|
||||
@@ -159,7 +149,7 @@ $(TBB.MANIFEST):
|
||||
version_string.ver: $(TBB.MANIFEST)
|
||||
$(MAKE_VERSIONS)
|
||||
cmd /C "echo #define TBB_MANIFEST 1 >> version_string.ver"
|
||||
# TODO: fix parallel build by writing to a temporary file and rename it when complete
|
||||
# TODO: fix parallel build by writting to a temporary file and rename it when complete
|
||||
else
|
||||
# TODO: make version strings directly representative for all the libraries
|
||||
version_string.ver:
|
||||
|
||||
+162
-180
@@ -1,199 +1,181 @@
|
||||
// Copyright (c) 2005-2017 Intel Corporation
|
||||
// Copyright 2005-2015 Intel Corporation. All Rights Reserved.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
// This file is part of Threading Building Blocks. Threading Building Blocks is free software;
|
||||
// you can redistribute it and/or modify it under the terms of the GNU General Public License
|
||||
// version 2 as published by the Free Software Foundation. Threading Building Blocks is
|
||||
// distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
// implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
// See the GNU General Public License for more details. You should have received a copy of
|
||||
// the GNU General Public License along with Threading Building Blocks; if not, write to the
|
||||
// Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
|
||||
function readAllFromFile(fname) {
|
||||
var fso = new ActiveXObject("Scripting.FileSystemObject");
|
||||
var file = null;
|
||||
try {
|
||||
file = fso.OpenTextFile(fname, 1, 0);
|
||||
return (file.readAll());
|
||||
} finally {
|
||||
// Close the file in the finally section to guarantee that it will be closed in any case
|
||||
// (if the exception is thrown or not).
|
||||
file.Close();
|
||||
}
|
||||
}
|
||||
// As a special exception, you may use this file as part of a free software library without
|
||||
// restriction. Specifically, if other files instantiate templates or use macros or inline
|
||||
// functions from this file, or you compile this file and link it with other files to produce
|
||||
// an executable, this file does not by itself cause the resulting executable to be covered
|
||||
// by the GNU General Public License. This exception does not however invalidate any other
|
||||
// reasons why the executable file might be covered by the GNU General Public License.
|
||||
|
||||
function doWork() {
|
||||
var WshShell = WScript.CreateObject("WScript.Shell");
|
||||
var WshShell = WScript.CreateObject("WScript.Shell");
|
||||
|
||||
var tmpExec = WshShell.Run("cmd /c echo int main(){return 0;} >detect.c", 0, true);
|
||||
var fso = new ActiveXObject("Scripting.FileSystemObject");
|
||||
|
||||
// The next block deals with GCC (MinGW)
|
||||
if (WScript.Arguments.Count() > 1) {
|
||||
var compilerPath = WScript.Arguments(1);
|
||||
// The RegExp matches everything up to and including the last slash (it uses a greedy approach.)
|
||||
var compilerName = compilerPath.replace(/^.*[\/\\]/, "");
|
||||
if (compilerName.match(/gcc/i) != null) {
|
||||
if (WScript.Arguments(0) == "/arch") {
|
||||
// Get predefined macros
|
||||
tmpExec = WshShell.Run("cmd /C " + compilerPath + " -dM -E detect.c > detect.map", 0, true);
|
||||
var defs = readAllFromFile("detect.map");
|
||||
//detect target architecture
|
||||
var intel64 = /x86_64|amd64/mgi;
|
||||
var ia32 = /i386/mgi;
|
||||
if (defs.match(intel64)) {
|
||||
WScript.Echo("intel64");
|
||||
} else if (defs.match(ia32)) {
|
||||
WScript.Echo("ia32");
|
||||
} else {
|
||||
WScript.Echo("unknown");
|
||||
}
|
||||
} else {
|
||||
tmpExec = WshShell.Exec(compilerPath + " -dumpversion");
|
||||
var gccVersion = tmpExec.StdOut.ReadLine();
|
||||
if (WScript.Arguments(0) == "/runtime") {
|
||||
WScript.Echo("mingw" + gccVersion);
|
||||
}
|
||||
else if (WScript.Arguments(0) == "/minversion") {
|
||||
// Comparing strings, not numbers; will not work for two-digit versions
|
||||
if (gccVersion >= WScript.Arguments(2)) {
|
||||
WScript.Echo("ok");
|
||||
} else {
|
||||
WScript.Echo("fail");
|
||||
}
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
}
|
||||
var tmpExec;
|
||||
tmpExec = WshShell.Run("cmd /c echo int main(){return 0;} >detect.c", 0, true);
|
||||
|
||||
//Compile binary
|
||||
tmpExec = WshShell.Exec("cl /MD detect.c /link /MAP");
|
||||
while (tmpExec.Status == 0) {
|
||||
WScript.Sleep(100);
|
||||
}
|
||||
//compiler banner that includes version and target arch was printed to stderr
|
||||
var clVersion = tmpExec.StdErr.ReadAll();
|
||||
// The next block deals with GCC (MinGW)
|
||||
if ( WScript.Arguments.Count() > 1 && WScript.Arguments(1) == "gcc" ) {
|
||||
if ( WScript.Arguments(0) == "/arch" ) {
|
||||
// Get predefined macros
|
||||
tmpExec = WshShell.Run("cmd /C gcc -dM -E detect.c > detect.map", 0, true);
|
||||
var file = fso.OpenTextFile("detect.map", 1, 0);
|
||||
var defs = file.readAll();
|
||||
file.Close();
|
||||
|
||||
if (WScript.Arguments(0) == "/arch") {
|
||||
//detect target architecture
|
||||
var intel64 = /AMD64|EM64T|x64/mgi;
|
||||
var ia32 = /[80|\s]x86/mgi;
|
||||
var arm = /ARM/mgi;
|
||||
if (clVersion.match(intel64)) {
|
||||
WScript.Echo("intel64");
|
||||
} else if (clVersion.match(ia32)) {
|
||||
WScript.Echo("ia32");
|
||||
} else if (clVersion.match(arm)) {
|
||||
WScript.Echo("armv7");
|
||||
} else {
|
||||
WScript.Echo("unknown");
|
||||
}
|
||||
return;
|
||||
}
|
||||
//detect target architecture
|
||||
var intel64=/x86_64|amd64/mgi;
|
||||
var ia32=/i386/mgi;
|
||||
if ( defs.match(intel64) ) {
|
||||
WScript.Echo( "intel64" );
|
||||
} else if ( defs.match(ia32) ) {
|
||||
WScript.Echo( "ia32" );
|
||||
} else {
|
||||
WScript.Echo( "unknown" );
|
||||
}
|
||||
} else {
|
||||
tmpExec = WshShell.Exec("gcc -dumpversion");
|
||||
var gcc_version = tmpExec.StdOut.ReadLine();
|
||||
if ( WScript.Arguments(0) == "/runtime" ) {
|
||||
WScript.Echo( "mingw"+gcc_version );
|
||||
}
|
||||
else if ( WScript.Arguments(0) == "/minversion" ) {
|
||||
// Comparing strings, not numbers; will not work for two-digit versions
|
||||
if ( gcc_version >= WScript.Arguments(2) ) {
|
||||
WScript.Echo( "ok" );
|
||||
} else {
|
||||
WScript.Echo( "fail" );
|
||||
}
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
if (WScript.Arguments(0) == "/runtime") {
|
||||
//read map-file
|
||||
var mapContext = readAllFromFile("detect.map");
|
||||
//detect runtime
|
||||
var vc71 = /MSVCR71\.DLL/mgi;
|
||||
var vc80 = /MSVCR80\.DLL/mgi;
|
||||
var vc90 = /MSVCR90\.DLL/mgi;
|
||||
var vc100 = /MSVCR100\.DLL/mgi;
|
||||
var vc110 = /MSVCR110\.DLL/mgi;
|
||||
var vc120 = /MSVCR120\.DLL/mgi;
|
||||
var vc140 = /VCRUNTIME140\.DLL/mgi;
|
||||
var psdk = /MSVCRT\.DLL/mgi;
|
||||
if (mapContext.match(vc71)) {
|
||||
WScript.Echo("vc7.1");
|
||||
} else if (mapContext.match(vc80)) {
|
||||
WScript.Echo("vc8");
|
||||
} else if (mapContext.match(vc90)) {
|
||||
WScript.Echo("vc9");
|
||||
} else if (mapContext.match(vc100)) {
|
||||
WScript.Echo("vc10");
|
||||
} else if (mapContext.match(vc110)) {
|
||||
WScript.Echo("vc11");
|
||||
} else if (mapContext.match(vc120)) {
|
||||
WScript.Echo("vc12");
|
||||
} else if (mapContext.match(vc140)) {
|
||||
if (WshShell.ExpandEnvironmentStrings("%VisualStudioVersion%") == "15.0")
|
||||
WScript.Echo("vc14.1");
|
||||
else
|
||||
WScript.Echo("vc14");
|
||||
} else {
|
||||
WScript.Echo("unknown");
|
||||
}
|
||||
return;
|
||||
}
|
||||
//Compile binary
|
||||
tmpExec = WshShell.Exec("cl /MD detect.c /link /MAP");
|
||||
while ( tmpExec.Status == 0 ) {
|
||||
WScript.Sleep(100);
|
||||
}
|
||||
//compiler banner that includes version and target arch was printed to stderr
|
||||
var clVersion = tmpExec.StdErr.ReadAll();
|
||||
|
||||
if (WScript.Arguments(0) == "/minversion") {
|
||||
var compilerVersion;
|
||||
var compilerUpdate;
|
||||
if (WScript.Arguments(1) == "cl") {
|
||||
compilerVersion = clVersion.match(/Compiler Version ([0-9.]+)\s/mi)[1];
|
||||
// compilerVersion is in xx.xx.xxxxx.xx format, i.e. a string.
|
||||
// It will compare well with major.minor versions where major has two digits,
|
||||
// which is sufficient as the versions of interest start from 13 (for VC7).
|
||||
} else if (WScript.Arguments(1) == "icl") {
|
||||
// Get predefined ICL macros
|
||||
tmpExec = WshShell.Run("cmd /C icl /QdM /E detect.c > detect.map", 0, true);
|
||||
var defs = readAllFromFile("detect.map");
|
||||
// In #define __INTEL_COMPILER XXYY, XX is the major ICL version, YY is minor
|
||||
compilerVersion = defs.match(/__INTEL_COMPILER[ \t]*([0-9]+).*$/mi)[1] / 100;
|
||||
compilerUpdate = defs.match(/__INTEL_COMPILER_UPDATE[ \t]*([0-9]+).*$/mi)[1];
|
||||
// compiler version is a number; it compares well with another major.minor
|
||||
// version number, where major has one, two, and perhaps more digits (9.1, 11, etc).
|
||||
}
|
||||
var requestedVersion = WScript.Arguments(2);
|
||||
var requestedUpdate = 0;
|
||||
if (WScript.Arguments.Count() > 3)
|
||||
requestedUpdate = WScript.Arguments(3);
|
||||
if (compilerVersion < requestedVersion) {
|
||||
WScript.Echo("fail");
|
||||
} else if (compilerVersion == requestedVersion && compilerUpdate < requestedUpdate) {
|
||||
WScript.Echo("fail");
|
||||
} else {
|
||||
WScript.Echo("ok");
|
||||
}
|
||||
return;
|
||||
}
|
||||
if ( WScript.Arguments(0) == "/arch" ) {
|
||||
//detect target architecture
|
||||
var intel64=/AMD64|EM64T|x64/mgi;
|
||||
var ia32=/[80|\s]x86/mgi;
|
||||
var arm=/ARM/mgi;
|
||||
if ( clVersion.match(intel64) ) {
|
||||
WScript.Echo( "intel64" );
|
||||
} else if ( clVersion.match(ia32) ) {
|
||||
WScript.Echo( "ia32" );
|
||||
} else if ( clVersion.match(arm) ) {
|
||||
WScript.Echo( "armv7" );
|
||||
} else {
|
||||
WScript.Echo( "unknown" );
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
if ( WScript.Arguments(0) == "/runtime" ) {
|
||||
//read map-file
|
||||
var map = fso.OpenTextFile("detect.map", 1, 0);
|
||||
var mapContext = map.readAll();
|
||||
map.Close();
|
||||
|
||||
//detect runtime
|
||||
var vc71=/MSVCR71\.DLL/mgi;
|
||||
var vc80=/MSVCR80\.DLL/mgi;
|
||||
var vc90=/MSVCR90\.DLL/mgi;
|
||||
var vc100=/MSVCR100\.DLL/mgi;
|
||||
var vc110=/MSVCR110\.DLL/mgi;
|
||||
var vc120=/MSVCR120\.DLL/mgi;
|
||||
var vc140=/VCRUNTIME140\.DLL/mgi;
|
||||
var psdk=/MSVCRT\.DLL/mgi;
|
||||
if ( mapContext.match(vc71) ) {
|
||||
WScript.Echo( "vc7.1" );
|
||||
} else if ( mapContext.match(vc80) ) {
|
||||
WScript.Echo( "vc8" );
|
||||
} else if ( mapContext.match(vc90) ) {
|
||||
WScript.Echo( "vc9" );
|
||||
} else if ( mapContext.match(vc100) ) {
|
||||
WScript.Echo( "vc10" );
|
||||
} else if ( mapContext.match(vc110) ) {
|
||||
WScript.Echo( "vc11" );
|
||||
} else if ( mapContext.match(vc120) ) {
|
||||
WScript.Echo( "vc12" );
|
||||
} else if ( mapContext.match(vc140) ) {
|
||||
WScript.Echo( "vc14" );
|
||||
} else {
|
||||
WScript.Echo( "unknown" );
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
if ( WScript.Arguments(0) == "/minversion" ) {
|
||||
var compiler_version;
|
||||
if ( WScript.Arguments(1) == "cl" ) {
|
||||
compiler_version = clVersion.match(/Compiler Version ([0-9.]+)\s/mi)[1];
|
||||
// compiler_version is in xx.xx.xxxxx.xx format, i.e. a string.
|
||||
// It will compare well with major.minor versions where major has two digits,
|
||||
// which is sufficient as the versions of interest start from 13 (for VC7).
|
||||
} else if ( WScript.Arguments(1) == "icl" ) {
|
||||
// Get predefined ICL macros
|
||||
tmpExec = WshShell.Run("cmd /C icl /QdM /E detect.c > detect.map", 0, true);
|
||||
var file = fso.OpenTextFile("detect.map", 1, 0);
|
||||
var defs = file.readAll();
|
||||
file.Close();
|
||||
// In #define __INTEL_COMPILER XXYY, XX is the major ICL version, YY is minor
|
||||
compiler_version = defs.match(/__INTEL_COMPILER[ \t]*([0-9]+).*$/mi)[1]/100;
|
||||
// compiler version is a number; it compares well with another major.minor
|
||||
// version number, where major has one, two, and perhaps more digits (9.1, 11, etc).
|
||||
}
|
||||
if ( compiler_version >= WScript.Arguments(2) ) {
|
||||
WScript.Echo( "ok" );
|
||||
} else {
|
||||
WScript.Echo( "fail" );
|
||||
}
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
function doClean() {
|
||||
var fso = new ActiveXObject("Scripting.FileSystemObject");
|
||||
// delete intermediate files
|
||||
if (fso.FileExists("detect.c"))
|
||||
fso.DeleteFile("detect.c", false);
|
||||
if (fso.FileExists("detect.obj"))
|
||||
fso.DeleteFile("detect.obj", false);
|
||||
if (fso.FileExists("detect.map"))
|
||||
fso.DeleteFile("detect.map", false);
|
||||
if (fso.FileExists("detect.exe"))
|
||||
fso.DeleteFile("detect.exe", false);
|
||||
if (fso.FileExists("detect.exe.manifest"))
|
||||
fso.DeleteFile("detect.exe.manifest", false);
|
||||
var fso = new ActiveXObject("Scripting.FileSystemObject");
|
||||
// delete intermediate files
|
||||
if ( fso.FileExists("detect.c") )
|
||||
fso.DeleteFile ("detect.c", false);
|
||||
if ( fso.FileExists("detect.obj") )
|
||||
fso.DeleteFile ("detect.obj", false);
|
||||
if ( fso.FileExists("detect.map") )
|
||||
fso.DeleteFile ("detect.map", false);
|
||||
if ( fso.FileExists("detect.exe") )
|
||||
fso.DeleteFile ("detect.exe", false);
|
||||
if ( fso.FileExists("detect.exe.manifest") )
|
||||
fso.DeleteFile ("detect.exe.manifest", false);
|
||||
}
|
||||
|
||||
if (WScript.Arguments.Count() > 0) {
|
||||
|
||||
try {
|
||||
doWork();
|
||||
} catch (error) {
|
||||
WScript.Echo("unknown");
|
||||
}
|
||||
doClean();
|
||||
if ( WScript.Arguments.Count() > 0 ) {
|
||||
|
||||
try {
|
||||
doWork();
|
||||
} catch( error ) {
|
||||
WScript.Echo( "unknown" );
|
||||
}
|
||||
doClean();
|
||||
|
||||
} else {
|
||||
WScript.Echo("Supported options:\n"
|
||||
+ "\t/arch [compiler]\n"
|
||||
+ "\t/runtime [compiler]\n"
|
||||
+ "\t/minversion compiler version");
|
||||
WScript.Echo( "Supported options:\n"
|
||||
+ "\t/arch [compiler]\n"
|
||||
+ "\t/runtime [compiler]\n"
|
||||
+ "\t/minversion compiler version" );
|
||||
}
|
||||
|
||||
|
||||
+23
-20
@@ -1,22 +1,22 @@
|
||||
@echo off
|
||||
REM
|
||||
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.
|
||||
REM You may obtain a copy of the License at
|
||||
REM
|
||||
REM http://www.apache.org/licenses/LICENSE-2.0
|
||||
REM
|
||||
REM Unless required by applicable law or agreed to in writing, software
|
||||
REM distributed under the License is distributed on an "AS IS" BASIS,
|
||||
REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
REM See the License for the specific language governing permissions and
|
||||
REM limitations under the License.
|
||||
REM
|
||||
REM
|
||||
REM Copyright 2005-2015 Intel Corporation. All Rights Reserved.
|
||||
REM
|
||||
REM This file is part of Threading Building Blocks. Threading Building Blocks is free software;
|
||||
REM you can redistribute it and/or modify it under the terms of the GNU General Public License
|
||||
REM version 2 as published by the Free Software Foundation. Threading Building Blocks is
|
||||
REM distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
REM implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
REM See the GNU General Public License for more details. You should have received a copy of
|
||||
REM the GNU General Public License along with Threading Building Blocks; if not, write to the
|
||||
REM Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
REM
|
||||
REM As a special exception, you may use this file as part of a free software library without
|
||||
REM restriction. Specifically, if other files instantiate templates or use macros or inline
|
||||
REM functions from this file, or you compile this file and link it with other files to produce
|
||||
REM an executable, this file does not by itself cause the resulting executable to be covered
|
||||
REM by the GNU General Public License. This exception does not however invalidate any other
|
||||
REM reasons why the executable file might be covered by the GNU General Public License.
|
||||
REM
|
||||
setlocal
|
||||
for %%D in ("%tbb_root%") do set actual_root=%%~fD
|
||||
@@ -25,8 +25,8 @@ set bin_dir=%CD%
|
||||
set fslash_bin_dir=%bin_dir:\=/%
|
||||
set _INCLUDE=INCLUDE& set _LIB=LIB
|
||||
if not x%UNIXMODE%==x set _INCLUDE=CPATH& set _LIB=LIBRARY_PATH
|
||||
if not x%USE_INCLUDE_ENV%==x set _INCLUDE=INCLUDE
|
||||
|
||||
if exist tbbvars.bat goto skipbat
|
||||
echo Generating local tbbvars.bat
|
||||
echo @echo off>tbbvars.bat
|
||||
echo SET TBBROOT=%actual_root%>>tbbvars.bat
|
||||
@@ -36,7 +36,9 @@ echo SET %_INCLUDE%=%%TBBROOT%%\include;%%%_INCLUDE%%%>>tbbvars.bat
|
||||
echo SET %_LIB%=%bin_dir%;%%%_LIB%%%>>tbbvars.bat
|
||||
echo SET PATH=%bin_dir%;%%PATH%%>>tbbvars.bat
|
||||
if not x%UNIXMODE%==x echo SET LD_LIBRARY_PATH=%bin_dir%;%%LD_LIBRARY_PATH%%>>tbbvars.bat
|
||||
:skipbat
|
||||
|
||||
if exist tbbvars.sh goto skipsh
|
||||
echo Generating local tbbvars.sh
|
||||
echo #!/bin/sh>tbbvars.sh
|
||||
echo export TBBROOT="%fslash_root%">>tbbvars.sh
|
||||
@@ -46,7 +48,9 @@ echo export %_INCLUDE%="${TBBROOT}/include;$%_INCLUDE%">>tbbvars.sh
|
||||
echo export %_LIB%="%fslash_bin_dir%;$%_LIB%">>tbbvars.sh
|
||||
echo export PATH="%fslash_bin_dir%;$PATH">>tbbvars.sh
|
||||
if not x%UNIXMODE%==x echo export LD_LIBRARY_PATH="%fslash_bin_dir%;$LD_LIBRARY_PATH">>tbbvars.sh
|
||||
:skipsh
|
||||
|
||||
if exist tbbvars.csh goto skipcsh
|
||||
echo Generating local tbbvars.csh
|
||||
echo #!/bin/csh>tbbvars.csh
|
||||
echo setenv TBBROOT "%actual_root%">>tbbvars.csh
|
||||
@@ -56,11 +60,10 @@ echo setenv %_INCLUDE% "${TBBROOT}\include;$%_INCLUDE%">>tbbvars.csh
|
||||
echo setenv %_LIB% "%bin_dir%;$%_LIB%">>tbbvars.csh
|
||||
echo setenv PATH "%bin_dir%;$PATH">>tbbvars.csh
|
||||
if not x%UNIXMODE%==x echo setenv LD_LIBRARY_PATH "%bin_dir%;$LD_LIBRARY_PATH">>tbbvars.csh
|
||||
:skipcsh
|
||||
|
||||
if not x%LIB_STL_ANDROID%==x (
|
||||
REM Workaround for copying Android* specific stl shared library to work folder
|
||||
copy /Y "%LIB_STL_ANDROID:/=\%" .
|
||||
)
|
||||
REM Workaround for copying Android* specific libgnustl_shared.so library to work folder
|
||||
if not x%LIB_GNU_STL_ANDROID%==x copy /Y "%LIB_GNU_STL_ANDROID%"\libgnustl_shared.so
|
||||
|
||||
endlocal
|
||||
exit
|
||||
|
||||
+20
-20
@@ -1,29 +1,29 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# 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.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
#
|
||||
# Copyright 2005-2015 Intel Corporation. All Rights Reserved.
|
||||
#
|
||||
# This file is part of Threading Building Blocks. Threading Building Blocks is free software;
|
||||
# you can redistribute it and/or modify it under the terms of the GNU General Public License
|
||||
# version 2 as published by the Free Software Foundation. Threading Building Blocks is
|
||||
# distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the GNU General Public License for more details. You should have received a copy of
|
||||
# the GNU General Public License along with Threading Building Blocks; if not, write to the
|
||||
# Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
# As a special exception, you may use this file as part of a free software library without
|
||||
# restriction. Specifically, if other files instantiate templates or use macros or inline
|
||||
# functions from this file, or you compile this file and link it with other files to produce
|
||||
# an executable, this file does not by itself cause the resulting executable to be covered
|
||||
# by the GNU General Public License. This exception does not however invalidate any other
|
||||
# reasons why the executable file might be covered by the GNU General Public License.
|
||||
|
||||
# Script used to generate tbbvars.[c]sh scripts
|
||||
bin_dir="$PWD" #
|
||||
cd "$tbb_root" # keep this comments here
|
||||
tbb_root="$PWD" # to make it unsensible
|
||||
cd "$bin_dir" # to EOL encoding
|
||||
cat >./tbbvars.sh <<EOF
|
||||
[ -f ./tbbvars.sh ] || cat >./tbbvars.sh <<EOF
|
||||
#!/bin/bash
|
||||
export TBBROOT="${tbb_root}" #
|
||||
tbb_bin="${bin_dir}" #
|
||||
@@ -44,7 +44,7 @@ else #
|
||||
fi #
|
||||
${TBB_CUSTOM_VARS_SH} #
|
||||
EOF
|
||||
cat >./tbbvars.csh <<EOF
|
||||
[ -f ./tbbvars.csh ] || cat >./tbbvars.csh <<EOF
|
||||
#!/bin/csh
|
||||
setenv TBBROOT "${tbb_root}" #
|
||||
setenv tbb_bin "${bin_dir}" #
|
||||
@@ -65,7 +65,7 @@ else #
|
||||
endif #
|
||||
${TBB_CUSTOM_VARS_CSH} #
|
||||
EOF
|
||||
# Workaround for copying Android* specific stl shared library to "."
|
||||
if [ ! -z "${LIB_STL_ANDROID}" ]; then #
|
||||
cp ${LIB_STL_ANDROID} . #
|
||||
# Workaround for copying Android* specific libgnustl_shared.so library to "."
|
||||
if [ ! -z "${LIB_GNU_STL_ANDROID}" ]; then #
|
||||
cp ${LIB_GNU_STL_ANDROID}/libgnustl_shared.so . #
|
||||
fi #
|
||||
|
||||
+26
-35
@@ -28,7 +28,7 @@ The files here are not intended to be used directly. See below for usage.
|
||||
<DT><os>.<compiler>.inc
|
||||
<DD>Compiler-specific Makefile for a particular <os> / <compiler> combination.
|
||||
<DT>*.sh
|
||||
<DD>Infrastructure utilities for Linux* OS, macOS*, and UNIX*-related operating systems.
|
||||
<DD>Infrastructure utilities for Linux* OS, OS X*, and UNIX*-related operating systems.
|
||||
<DT>*.js, *.bat
|
||||
<DD>Infrastructure utilities for Windows* OS.
|
||||
</DL>
|
||||
@@ -41,45 +41,42 @@ To port Intel TBB to a new platform, operating system or architecture, see the <
|
||||
<H3>Software prerequisites:</H3>
|
||||
<OL>
|
||||
<LI>C++ compiler for the platform, operating system and architecture of interest.
|
||||
Either the native compiler for your system, or, optionally, the appropriate Intel® C++ Compiler, may be used.
|
||||
Either the native compiler for your system, or, optionally, the appropriate Intel® 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, macOS, etc.,
|
||||
it should be able to run Windows OS utilities and commands. On Linux OS, OS X, 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.
|
||||
</OL>
|
||||
|
||||
<P>
|
||||
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, macOS, and related systems) or whichever ABI is selected in the development environment (Windows OS).
|
||||
(Linux OS, OS X, 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.
|
||||
<LI>If using the Intel® C++ Compiler, make sure the appropriate compiler is available in your PATH
|
||||
<LI>If using the Intel® C++ compiler, make sure the appropriate compiler is available in your PATH
|
||||
(e.g., by sourcing the appropriate iccvars script for the compiler to be used).
|
||||
<LI>Invoke GNU make using no arguments, for example, <TT>make</TT>.
|
||||
<LI>Invoke GNU make using no arguments, for example, 'gmake'.
|
||||
</OL>
|
||||
|
||||
<P>
|
||||
To build Intel TBB libraries for other than the default ABI (e.g., to build 32-bit libraries on Linux OS, macOS,
|
||||
To build Intel TBB libraries for other than the default ABI (e.g., to build 32-bit libraries on Linux OS, OS X,
|
||||
or related systems that support both 64-bit and 32-bit libraries), perform the following steps:
|
||||
</P>
|
||||
<OL>
|
||||
<LI>Change to the <A HREF="../index.html">top-level directory</A> of the installed software.
|
||||
<LI>If using the Intel® C++ Compiler, make sure the appropriate compiler is available in your PATH
|
||||
<LI>If using the Intel® C++ compiler, make sure the appropriate compiler is available in your PATH
|
||||
(e.g., by sourcing the appropriate iccvars script for the compiler to be used).
|
||||
<LI>Explicitly specify the architecture when invoking GNU make, e.g. <TT>make arch=ia32</TT>.
|
||||
<LI>Invoke GNU make as follows, 'gmake arch=ia32'.
|
||||
</OL>
|
||||
|
||||
<P>The default make target will build the release and debug versions of the Intel TBB library.</P>
|
||||
<P>Other targets are available in the top-level Makefile. You might find the following targets useful:
|
||||
<UL>
|
||||
<LI><TT>make test</TT> will build and run Intel TBB <A HREF="../src/test">unit-tests</A>;
|
||||
<LI><TT>make examples</TT> will build and run Intel TBB <A HREF="../examples/index.html">examples</A>. Available in the open-source version only.
|
||||
For the commercial version, you can download Intel TBB Samples at the <a href="https://software.intel.com/en-us/product-code-samples?topic=20828">Intel® Software Product Samples and Tutorials</a> website;
|
||||
<LI><TT>make all</TT> will do all of the above. Available in the open-source version only.
|
||||
<LI>'make test' will build and run Intel TBB <A HREF="../src/test">unit-tests</A>;
|
||||
<LI>'make examples' will build and run Intel TBB <A HREF="../examples/index.html">examples</A>;
|
||||
<LI>'make all' will do all of the above.
|
||||
</UL>
|
||||
See also the list of other targets below.
|
||||
</P>
|
||||
@@ -88,7 +85,7 @@ See also the list of other targets below.
|
||||
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 macOS, the software environment comprises the GCC and OS version used.
|
||||
the GCC, libc and kernel version used. On OS X, 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>
|
||||
@@ -98,14 +95,14 @@ To perform different build and/or test operations, use the following steps.
|
||||
</P>
|
||||
<OL>
|
||||
<LI>Change to the <A HREF="../index.html">top-level directory</A> of the installed software.
|
||||
<LI>If using the Intel® C++ Compiler, make sure the appropriate compiler is available in your PATH
|
||||
<LI>If using the Intel® C++ compiler, make sure the appropriate compiler is available in your PATH
|
||||
(e.g., by sourcing the appropriate iccvars script for the compiler to be used).
|
||||
<LI>Invoke GNU make by using one or more of the following commands.
|
||||
<DL>
|
||||
<DT><TT>make</TT>
|
||||
<DD>Default build. Equivalent to <TT>make tbb tbbmalloc</TT>.
|
||||
<DD>Default build. Equivalent to 'make tbb tbbmalloc'.
|
||||
<DT><TT>make all</TT>
|
||||
<DD>Equivalent to <TT>make tbb tbbmalloc test examples</TT>. Available in the open-source version only.
|
||||
<DD>Equivalent to 'make tbb tbbmalloc test examples'.
|
||||
<DT><TT>cd src;make release</TT>
|
||||
<DD>Build and test release libraries only.
|
||||
<DT><TT>cd src;make debug</TT>
|
||||
@@ -117,33 +114,26 @@ To perform different build and/or test operations, use the following steps.
|
||||
<DT><TT>make test</TT>
|
||||
<DD>Compile and run unit-tests
|
||||
<DT><TT>make examples</TT>
|
||||
<DD>Build libraries and run all examples, like doing <TT>make debug clean release</TT> from <A HREF="../examples/Makefile">the general example Makefile</A>.
|
||||
Available in the open-source version only.
|
||||
<DT><TT>make python</TT>
|
||||
<DD>Build, install, and test Python* API for Intel TBB. See <A HREF="../python/index.html">details here</A>.
|
||||
<DD>Build libraries and run all examples, like doing 'make debug clean release' from <A HREF="../examples/Makefile">the general example Makefile</A>.
|
||||
<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® compilers (<tt>icl</tt> on Windows OS, <tt>icc</tt> on Linux OS or macOS). </li>
|
||||
<li><tt><b> {</b>icl, icc<b>}</b> </tt> - to use Intel® compilers (<tt>icl</tt> on Windows OS, <tt>icc</tt> on Linux OS or OS X). </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>
|
||||
<DT><TT>make compiler=clang stdlib=libc++ <B>[</B>(above options or targets)<B>]</B></TT>
|
||||
<DD>Build and run as above, but use <TT>libc++</TT> as a standard c++ library for clang.
|
||||
<DT><TT>make stdver=<B>{</B>c++11, c++14, ...<B>}</B> <B>[</B>(above options or targets)<B>]</B></TT>
|
||||
<DD>Build and run as above, but additionally specify the version of the C++ standard or dialect to be used by
|
||||
the compiler. The specified value of <TT>stdver</TT> will be used as a parameter to the appropriate
|
||||
compiler option (such as <TT>-std</TT>); the behavior in case of unsupported value is compiler-specific.
|
||||
<DT><TT>make target_app=<B>{</B>win8ui, uwp<B>}</B> [target_mode=store] <B>[</B>(above options or targets)<B>]</B></TT>
|
||||
<DD>Build and run as above, but use API that is compliant with Universal Windows* applications. Use <TT>win8ui</TT> option, if you want to use Intel TBB in Windows* 8 Universal application and <TT>uwp</TT> in case of Windows* 10 Universal Windows application.
|
||||
<TT>target_mode=store</TT> is used to produce binaries that are compliant with Windows Store* application container. In later case they won't work with Intel TBB unit tests but work only with Windows Store* applications.
|
||||
<DT><TT>make target_ui=win8ui [target_ui_mode=production] <B>[</B>(above options or targets)<B>]</B></TT>
|
||||
<DD>Build and run as above, but use API that is compliant with Windows Store* applications.
|
||||
<TT>target_ui_mode=production</TT> is used to produce binaries that are compliant with Windows Store* application container. In later case they won't with Intel TBB unit tests but work only with Windows Store* applications.
|
||||
<DT><TT>ndk-build target=android <B>[</B>(above options or targets)<B>]</B></TT>
|
||||
<DD>Build and run as above, but build libraries for Android* OS by Android NDK that should be installed. Makefiles were tested with revision 8.
|
||||
<DT><TT>make arch=<B>{</B>ia32, intel64, ia64<B>}</B> <B>[</B>(above options or targets)<B>]</B></TT>
|
||||
<DD>Build and run as above, but build libraries for the selected ABI.
|
||||
Might be useful for cross-compilation; ensure proper environment is set before running this command.
|
||||
<DT><TT>make tbb_root=<B>{</B>(Intel TBB directory)<B>}</B> <B>[</B>(above options or targets)<B>]</B></TT>
|
||||
<DD>Build and run as above; for use when invoking <TT>make</TT> from a directory other than the <A HREF="../index.html">top-level directory</A>.
|
||||
<DD>Build and run as above; for use when invoking 'make' from a directory other than the <A HREF="../index.html">top-level directory</A>.
|
||||
<DT><TT>make tbb_build_dir=<B>{</B>(build directory)<B>}</B> <B>[</B>(above options or targets)<B>]</B></TT>
|
||||
<DD>Build and run as above, but place the built libraries in the specified directory, rather than in the default sub-directory within the build/ directory. This command might have troubles with the build in case the sources installed to the directory with spaces in the path.
|
||||
<DT><TT>make tbb_build_prefix=<B>{</B>(build sub-directory)<B>}</B> <B>[</B>(above options or targets)<B>]</B></TT>
|
||||
@@ -180,7 +170,7 @@ A subset or a superset of these steps may be required for porting to a given pla
|
||||
and the scheduler yield function. See <A HREF="../include/tbb/machine/mac_ppc.h">include/tbb/machine/mac_ppc.h</A>
|
||||
for an example of a minimal implementation.
|
||||
<LI>More complex implementation examples can also be found in the
|
||||
<A HREF="../include/tbb/machine">include/tbb/machine</A> directory
|
||||
<A HREF="../include/tbb/machine>include/tbb/machine"</A> directory
|
||||
that implement all the individual variants of synchronization operations that Intel TBB uses.
|
||||
Such implementations are more verbose but may achieve better performance on a given architecture.
|
||||
<LI>In a given implementation, any synchronization operation that is not defined is implemented, by default,
|
||||
@@ -233,9 +223,10 @@ See the Makefile infrastructure files for examples.
|
||||
<HR>
|
||||
<A HREF="../index.html">Up to parent directory</A>
|
||||
<P></P>
|
||||
Copyright © 2005-2017 Intel Corporation. All Rights Reserved.
|
||||
Copyright © 2005-2015 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.
|
||||
Intel and Itanium are registered trademarks or trademarks of Intel Corporation or its
|
||||
subsidiaries in the United States and other countries.
|
||||
<p></p>
|
||||
* Other names and brands may be claimed as the property of others.
|
||||
</BODY>
|
||||
|
||||
@@ -1,23 +0,0 @@
|
||||
# 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.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
#
|
||||
#
|
||||
#
|
||||
|
||||
include $(tbb_root)/build/macos.clang.inc
|
||||
|
||||
CPLUS_FLAGS += -miphoneos-version-min=8.0
|
||||
LINK_FLAGS += -miphoneos-version-min=8.0
|
||||
LIB_LINK_FLAGS += -miphoneos-version-min=8.0
|
||||
@@ -1,36 +0,0 @@
|
||||
# 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.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
#
|
||||
#
|
||||
#
|
||||
|
||||
ifneq ($(arch),$(filter $(arch),ia32 intel64 armv7 armv7s arm64))
|
||||
$(error $(arch) is unknown architecture. Known arhitechtures are ia32 intel64 armv7 armv7s arm64)
|
||||
endif
|
||||
|
||||
# If target is ios but arch is ia32/intel64 then build for 32/64 simulator!
|
||||
ifeq (,$(SDKROOT))
|
||||
ifeq ($(arch),$(filter $(arch),ia32 intel64))
|
||||
export SDKROOT:=$(shell xcodebuild -sdk -version | grep -o -E '/.*SDKs/iPhoneSimulator.*' 2>/dev/null)
|
||||
else
|
||||
export SDKROOT:=$(shell xcodebuild -sdk -version | grep -o -E '/.*SDKs/iPhoneOS.*' 2>/dev/null)
|
||||
endif
|
||||
endif
|
||||
ifeq (,$(SDKROOT))
|
||||
$(error iOS* SDK not found)
|
||||
endif
|
||||
|
||||
ios_version:=$(shell echo $(SDKROOT) | sed -e "s/.*[a-z,A-Z]\(.*\).sdk/\1/")
|
||||
runtime:=cc$(clang_version)_ios$(ios_version)
|
||||
+22
-21
@@ -1,20 +1,20 @@
|
||||
# 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.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
#
|
||||
# Copyright 2005-2015 Intel Corporation. All Rights Reserved.
|
||||
#
|
||||
# This file is part of Threading Building Blocks. Threading Building Blocks is free software;
|
||||
# you can redistribute it and/or modify it under the terms of the GNU General Public License
|
||||
# version 2 as published by the Free Software Foundation. Threading Building Blocks is
|
||||
# distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the GNU General Public License for more details. You should have received a copy of
|
||||
# the GNU General Public License along with Threading Building Blocks; if not, write to the
|
||||
# Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
# As a special exception, you may use this file as part of a free software library without
|
||||
# restriction. Specifically, if other files instantiate templates or use macros or inline
|
||||
# functions from this file, or you compile this file and link it with other files to produce
|
||||
# an executable, this file does not by itself cause the resulting executable to be covered
|
||||
# by the GNU General Public License. This exception does not however invalidate any other
|
||||
# reasons why the executable file might be covered by the GNU General Public License.
|
||||
|
||||
COMPILE_ONLY = -c -MMD
|
||||
PREPROC_ONLY = -E -x c++
|
||||
@@ -45,14 +45,15 @@ ifeq ($(cfg), debug)
|
||||
CPLUS_FLAGS = -DTBB_USE_DEBUG $(ITT_NOTIFY) -g -O0 -DUSE_PTHREAD
|
||||
endif
|
||||
|
||||
ifneq (,$(stdlib))
|
||||
CPLUS_FLAGS += -stdlib=$(stdlib)
|
||||
LIB_LINK_FLAGS += -stdlib=$(stdlib)
|
||||
ifeq (libc++,$(stdlib))
|
||||
CPLUS_FLAGS += -stdlib=libc++
|
||||
LIB_LINK_FLAGS += -stdlib=libc++
|
||||
endif
|
||||
|
||||
ifneq (,$(gcc_version))
|
||||
# TODO: do not assume that GCC minor and patchlevel versions are always single-digit.
|
||||
CPLUS_FLAGS += -DTBB_USE_GLIBCXX_VERSION=$(subst .,0,$(gcc_version))
|
||||
CPP11_FLAGS = -std=c++11 -D_TBB_CPP0X
|
||||
|
||||
ifneq (00,$(lambdas)$(cpp0x))
|
||||
CXX_ONLY_FLAGS += $(CPP11_FLAGS)
|
||||
endif
|
||||
|
||||
TBB_ASM.OBJ=
|
||||
|
||||
+25
-35
@@ -1,20 +1,20 @@
|
||||
# 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.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
#
|
||||
# Copyright 2005-2015 Intel Corporation. All Rights Reserved.
|
||||
#
|
||||
# This file is part of Threading Building Blocks. Threading Building Blocks is free software;
|
||||
# you can redistribute it and/or modify it under the terms of the GNU General Public License
|
||||
# version 2 as published by the Free Software Foundation. Threading Building Blocks is
|
||||
# distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the GNU General Public License for more details. You should have received a copy of
|
||||
# the GNU General Public License along with Threading Building Blocks; if not, write to the
|
||||
# Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
# As a special exception, you may use this file as part of a free software library without
|
||||
# restriction. Specifically, if other files instantiate templates or use macros or inline
|
||||
# functions from this file, or you compile this file and link it with other files to produce
|
||||
# an executable, this file does not by itself cause the resulting executable to be covered
|
||||
# by the GNU General Public License. This exception does not however invalidate any other
|
||||
# reasons why the executable file might be covered by the GNU General Public License.
|
||||
|
||||
COMPILE_ONLY = -c -MMD
|
||||
PREPROC_ONLY = -E -x c++
|
||||
@@ -25,7 +25,7 @@ OUTPUTOBJ_KEY = -o #
|
||||
PIC_KEY = -fPIC
|
||||
WARNING_AS_ERROR_KEY = -Werror
|
||||
WARNING_KEY = -Wall
|
||||
TEST_WARNING_KEY = -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor
|
||||
TEST_WARNING_KEY = -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor $(if $(findstring cc4., $(runtime)),-Wextra)
|
||||
|
||||
WARNING_SUPPRESS = -Wno-parentheses -Wno-non-virtual-dtor
|
||||
DYLIB_KEY = -shared
|
||||
@@ -38,6 +38,10 @@ LIB_LINK_FLAGS = $(DYLIB_KEY) -Wl,-soname=$(BUILDING_LIBRARY)
|
||||
LIBS += -lpthread -lrt
|
||||
LINK_FLAGS = -Wl,-rpath-link=. -rdynamic
|
||||
C_FLAGS = $(CPLUS_FLAGS)
|
||||
# gcc 4.4 and higher support -std=c++0x
|
||||
ifneq (,$(shell gcc -dumpversion | egrep "^(4\.[4-9]|[5-9])"))
|
||||
CPP11_FLAGS = -std=c++0x -D_TBB_CPP0X
|
||||
endif
|
||||
|
||||
# gcc 4.2 and higher support OpenMP
|
||||
ifneq (,$(shell gcc -dumpversion | egrep "^(4\.[2-9]|[5-9])"))
|
||||
@@ -45,28 +49,10 @@ ifneq (,$(shell gcc -dumpversion | egrep "^(4\.[2-9]|[5-9])"))
|
||||
endif
|
||||
|
||||
# gcc 4.8 and later support RTM intrinsics, but require command line switch to enable them
|
||||
ifneq (,$(shell gcc -dumpversion | egrep "^(4\.[8-9]|[5-9])"))
|
||||
ifneq (,$(shell gcc -dumpversion | egrep "^4\.[8-9]"))
|
||||
RTM_KEY = -mrtm
|
||||
endif
|
||||
|
||||
# gcc 4.0 and later have -Wextra that is used by some our customers.
|
||||
ifneq (,$(shell gcc -dumpversion | egrep "^([4-9])"))
|
||||
TEST_WARNING_KEY += -Wextra
|
||||
endif
|
||||
|
||||
# gcc 5.0 and later have -Wsuggest-override option
|
||||
# enable it via a pre-included header in order to limit to C++11 and above
|
||||
ifneq (,$(shell gcc -dumpversion | egrep "^([5-9])"))
|
||||
INCLUDE_TEST_HEADERS = -include $(tbb_root)/src/test/harness_preload.h
|
||||
endif
|
||||
|
||||
# gcc 6.0 and later have -flifetime-dse option that controls
|
||||
# elimination of stores done outside the object lifetime
|
||||
ifneq (,$(shell gcc -dumpversion | egrep "^([6-9])"))
|
||||
# keep pre-contruction stores for zero initialization
|
||||
DSE_KEY = -flifetime-dse=1
|
||||
endif
|
||||
|
||||
ifeq ($(cfg), release)
|
||||
CPLUS_FLAGS = $(ITT_NOTIFY) -g -O2 -DUSE_PTHREAD
|
||||
endif
|
||||
@@ -74,6 +60,10 @@ ifeq ($(cfg), debug)
|
||||
CPLUS_FLAGS = -DTBB_USE_DEBUG $(ITT_NOTIFY) -g -O0 -DUSE_PTHREAD
|
||||
endif
|
||||
|
||||
ifneq (00,$(lambdas)$(cpp0x))
|
||||
CXX_ONLY_FLAGS += $(CPP11_FLAGS)
|
||||
endif
|
||||
|
||||
TBB_ASM.OBJ=
|
||||
MALLOC_ASM.OBJ=
|
||||
|
||||
|
||||
+26
-29
@@ -1,20 +1,20 @@
|
||||
# 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.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
#
|
||||
# Copyright 2005-2015 Intel Corporation. All Rights Reserved.
|
||||
#
|
||||
# This file is part of Threading Building Blocks. Threading Building Blocks is free software;
|
||||
# you can redistribute it and/or modify it under the terms of the GNU General Public License
|
||||
# version 2 as published by the Free Software Foundation. Threading Building Blocks is
|
||||
# distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the GNU General Public License for more details. You should have received a copy of
|
||||
# the GNU General Public License along with Threading Building Blocks; if not, write to the
|
||||
# Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
# As a special exception, you may use this file as part of a free software library without
|
||||
# restriction. Specifically, if other files instantiate templates or use macros or inline
|
||||
# functions from this file, or you compile this file and link it with other files to produce
|
||||
# an executable, this file does not by itself cause the resulting executable to be covered
|
||||
# by the GNU General Public License. This exception does not however invalidate any other
|
||||
# reasons why the executable file might be covered by the GNU General Public License.
|
||||
|
||||
COMPILE_ONLY = -c -MMD
|
||||
PREPROC_ONLY = -E -x c++
|
||||
@@ -29,30 +29,25 @@ DYLIB_KEY = -shared
|
||||
EXPORT_KEY = -Wl,--version-script,
|
||||
NOINTRINSIC_KEY = -fno-builtin
|
||||
LIBDL = -ldl
|
||||
ifneq (,$(shell icc -dumpversion | egrep "1[2-9]\."))
|
||||
SDL_FLAGS = -fstack-protector -Wformat -Wformat-security
|
||||
endif
|
||||
|
||||
CPLUS = icpc
|
||||
CONLY = icc
|
||||
|
||||
ITT_NOTIFY = -DDO_ITT_NOTIFY
|
||||
ifeq (release,$(cfg))
|
||||
SDL_FLAGS += -D_FORTIFY_SOURCE=2
|
||||
CPLUS_FLAGS = $(ITT_NOTIFY) -O2 -g -DUSE_PTHREAD
|
||||
else
|
||||
CPLUS_FLAGS = $(ITT_NOTIFY) -O0 -g -DUSE_PTHREAD -DTBB_USE_DEBUG
|
||||
endif
|
||||
|
||||
LIB_LINK_FLAGS = -shared -static-intel -Wl,-soname=$(BUILDING_LIBRARY) -z relro -z now
|
||||
OPENMP_FLAG = -openmp
|
||||
LIB_LINK_FLAGS = -shared -static-intel -Wl,-soname=$(BUILDING_LIBRARY)
|
||||
LIBS += -lpthread -lrt
|
||||
LINK_FLAGS = -rdynamic
|
||||
C_FLAGS = $(CPLUS_FLAGS)
|
||||
|
||||
ifneq (,$(shell icc -dumpversion | egrep "^1[6-9]\."))
|
||||
OPENMP_FLAG = -qopenmp
|
||||
else
|
||||
OPENMP_FLAG = -openmp
|
||||
# ICC 11.0 and higher support -std=c++0x
|
||||
ifneq (,$(shell icc -dumpversion | egrep "^1[1-9]\."))
|
||||
CPP11_FLAGS = -std=c++0x -D_TBB_CPP0X
|
||||
endif
|
||||
|
||||
# ICC 12.0 and higher provide Intel(R) Cilk(TM) Plus
|
||||
@@ -74,14 +69,16 @@ ifeq (ia64,$(arch))
|
||||
# strict-ansi does not work with <signal.h> on RHEL 4 AS
|
||||
CPLUS_FLAGS += $(PIC_KEY) $(if $(findstring cc3.,$(runtime)),-ansi,-strict-ansi)
|
||||
else
|
||||
# For ICC 16 and older, in std=c++14 mode -strict-ansi does not work with GNU C++ library headers
|
||||
# egrep returns 0 or 1, compare it in concatenation
|
||||
CPLUS_FLAGS += $(if $(findstring c++14_1,$(stdver)_$(shell icc -dumpversion| egrep -c "^1[1-6]\.")),-ansi,-strict-ansi)
|
||||
CPLUS_FLAGS += -strict-ansi
|
||||
endif
|
||||
|
||||
ifneq (,$(codecov))
|
||||
# no tool support for code coverage, need profile data generation
|
||||
ITT_NOTIFY = -prof-gen=srcpos
|
||||
ITT_NOTIFY = -prof-genx
|
||||
endif
|
||||
|
||||
ifneq (00,$(lambdas)$(cpp0x))
|
||||
CXX_ONLY_FLAGS += $(CPP11_FLAGS)
|
||||
endif
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
+24
-28
@@ -1,35 +1,33 @@
|
||||
# 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.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
#
|
||||
# Copyright 2005-2015 Intel Corporation. All Rights Reserved.
|
||||
#
|
||||
# This file is part of Threading Building Blocks. Threading Building Blocks is free software;
|
||||
# you can redistribute it and/or modify it under the terms of the GNU General Public License
|
||||
# version 2 as published by the Free Software Foundation. Threading Building Blocks is
|
||||
# distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the GNU General Public License for more details. You should have received a copy of
|
||||
# the GNU General Public License along with Threading Building Blocks; if not, write to the
|
||||
# Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
# As a special exception, you may use this file as part of a free software library without
|
||||
# restriction. Specifically, if other files instantiate templates or use macros or inline
|
||||
# functions from this file, or you compile this file and link it with other files to produce
|
||||
# an executable, this file does not by itself cause the resulting executable to be covered
|
||||
# by the GNU General Public License. This exception does not however invalidate any other
|
||||
# reasons why the executable file might be covered by the GNU General Public License.
|
||||
|
||||
####### Detections and Commands ###############################################
|
||||
|
||||
ifeq (icc,$(compiler))
|
||||
export COMPILER_VERSION := ICC: $(shell icc -V </dev/null 2>&1 | grep 'Version')
|
||||
ifneq (,$(findstring running on IA-32, $(COMPILER_VERSION)))
|
||||
ifneq (,$(findstring IA-32, $(COMPILER_VERSION)))
|
||||
export arch:=ia32
|
||||
else
|
||||
ifneq (,$(findstring running on Intel(R) 64, $(COMPILER_VERSION)))
|
||||
export arch:=intel64
|
||||
else
|
||||
ifneq (,$(findstring IA-64, $(COMPILER_VERSION)))
|
||||
export arch:=ia64
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
ifneq (,$(findstring Intel(R) 64, $(COMPILER_VERSION)))
|
||||
export arch:=intel64
|
||||
endif
|
||||
ifneq (,$(findstring IA-64, $(COMPILER_VERSION)))
|
||||
export arch:=ia64
|
||||
endif
|
||||
ifeq (,$(arch))
|
||||
$(warning "Unknown Intel compiler")
|
||||
@@ -59,7 +57,7 @@ ifndef arch
|
||||
endif
|
||||
|
||||
ifndef runtime
|
||||
export gcc_version:=$(shell gcc -dumpversion)
|
||||
gcc_version:=$(shell gcc -dumpversion)
|
||||
os_version:=$(shell uname -r)
|
||||
os_kernel_version:=$(shell uname -r | sed -e 's/-.*$$//')
|
||||
export os_glibc_version_full:=$(shell getconf GNU_LIBC_VERSION | grep glibc | sed -e 's/^glibc //')
|
||||
@@ -99,7 +97,7 @@ SONAME_SUFFIX =$(shell grep TBB_COMPATIBLE_INTERFACE_VERSION $(tbb_root)/include
|
||||
ifeq ($(arch),ia64)
|
||||
def_prefix = lin64ipf
|
||||
endif
|
||||
ifneq (,$(findstring $(arch),sparc s390x))
|
||||
ifeq ($(arch),sparc)
|
||||
def_prefix = lin64
|
||||
endif
|
||||
ifeq ($(arch),armv7)
|
||||
@@ -138,5 +136,3 @@ RML.DLL = $(RML_NO_VERSION.DLL).1
|
||||
RML.LIB = $(RML_NO_VERSION.DLL)
|
||||
|
||||
TEST_LAUNCHER=sh $(tbb_root)/build/test_launcher.sh $(largs)
|
||||
|
||||
OPENCL.LIB = -lOpenCL
|
||||
|
||||
+20
-15
@@ -1,20 +1,20 @@
|
||||
# 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.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
#
|
||||
# Copyright 2005-2015 Intel Corporation. All Rights Reserved.
|
||||
#
|
||||
# This file is part of Threading Building Blocks. Threading Building Blocks is free software;
|
||||
# you can redistribute it and/or modify it under the terms of the GNU General Public License
|
||||
# version 2 as published by the Free Software Foundation. Threading Building Blocks is
|
||||
# distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the GNU General Public License for more details. You should have received a copy of
|
||||
# the GNU General Public License along with Threading Building Blocks; if not, write to the
|
||||
# Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
# As a special exception, you may use this file as part of a free software library without
|
||||
# restriction. Specifically, if other files instantiate templates or use macros or inline
|
||||
# functions from this file, or you compile this file and link it with other files to produce
|
||||
# an executable, this file does not by itself cause the resulting executable to be covered
|
||||
# by the GNU General Public License. This exception does not however invalidate any other
|
||||
# reasons why the executable file might be covered by the GNU General Public License.
|
||||
|
||||
COMPILE_ONLY = -c -MMD
|
||||
PREPROC_ONLY = -E -x c++
|
||||
@@ -39,6 +39,7 @@ LIBS += -lstl -lpthread -lrt
|
||||
LINK_FLAGS = -Wl,-rpath-link=. -rdynamic
|
||||
C_FLAGS = $(CPLUS_FLAGS)
|
||||
|
||||
CPP11_FLAGS = -std=c++0x -D_TBB_CPP0X
|
||||
OPENMP_FLAG = -openmp
|
||||
|
||||
ifeq ($(cfg), release)
|
||||
@@ -48,6 +49,10 @@ ifeq ($(cfg), debug)
|
||||
CPLUS_FLAGS = -DTBB_USE_DEBUG $(ITT_NOTIFY) -g -O0 -DUSE_PTHREAD
|
||||
endif
|
||||
|
||||
ifneq (00,$(lambdas)$(cpp0x))
|
||||
CXX_ONLY_FLAGS += $(CPP11_FLAGS)
|
||||
endif
|
||||
|
||||
TBB_ASM.OBJ=
|
||||
MALLOC_ASM.OBJ=
|
||||
|
||||
|
||||
+15
-15
@@ -1,20 +1,20 @@
|
||||
# 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.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
#
|
||||
# Copyright 2005-2015 Intel Corporation. All Rights Reserved.
|
||||
#
|
||||
# This file is part of Threading Building Blocks. Threading Building Blocks is free software;
|
||||
# you can redistribute it and/or modify it under the terms of the GNU General Public License
|
||||
# version 2 as published by the Free Software Foundation. Threading Building Blocks is
|
||||
# distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the GNU General Public License for more details. You should have received a copy of
|
||||
# the GNU General Public License along with Threading Building Blocks; if not, write to the
|
||||
# Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
# As a special exception, you may use this file as part of a free software library without
|
||||
# restriction. Specifically, if other files instantiate templates or use macros or inline
|
||||
# functions from this file, or you compile this file and link it with other files to produce
|
||||
# an executable, this file does not by itself cause the resulting executable to be covered
|
||||
# by the GNU General Public License. This exception does not however invalidate any other
|
||||
# reasons why the executable file might be covered by the GNU General Public License.
|
||||
|
||||
####### Detections and Commands ###############################################
|
||||
|
||||
|
||||
+26
-23
@@ -1,20 +1,20 @@
|
||||
# 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.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
#
|
||||
# Copyright 2005-2015 Intel Corporation. All Rights Reserved.
|
||||
#
|
||||
# This file is part of Threading Building Blocks. Threading Building Blocks is free software;
|
||||
# you can redistribute it and/or modify it under the terms of the GNU General Public License
|
||||
# version 2 as published by the Free Software Foundation. Threading Building Blocks is
|
||||
# distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the GNU General Public License for more details. You should have received a copy of
|
||||
# the GNU General Public License along with Threading Building Blocks; if not, write to the
|
||||
# Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
# As a special exception, you may use this file as part of a free software library without
|
||||
# restriction. Specifically, if other files instantiate templates or use macros or inline
|
||||
# functions from this file, or you compile this file and link it with other files to produce
|
||||
# an executable, this file does not by itself cause the resulting executable to be covered
|
||||
# by the GNU General Public License. This exception does not however invalidate any other
|
||||
# reasons why the executable file might be covered by the GNU General Public License.
|
||||
|
||||
CPLUS = clang++
|
||||
CONLY = clang
|
||||
@@ -44,7 +44,7 @@ else
|
||||
CPLUS_FLAGS = -g -O0 -DTBB_USE_DEBUG
|
||||
endif
|
||||
|
||||
CPLUS_FLAGS += -DUSE_PTHREAD $(ITT_NOTIFY)
|
||||
CPLUS_FLAGS += -DUSE_PTHREAD
|
||||
|
||||
# For Clang, we add the option to support RTM intrinsics *iff* xtest is found in <immintrin.h>
|
||||
ifneq (,$(shell grep xtest `echo "\#include<immintrin.h>" | clang -E -M - 2>&1 | grep immintrin.h` 2>/dev/null))
|
||||
@@ -56,15 +56,19 @@ ifneq (,$(stdlib))
|
||||
LIB_LINK_FLAGS += -stdlib=$(stdlib)
|
||||
endif
|
||||
|
||||
CPP11_FLAGS = -std=c++11 -D_TBB_CPP0X
|
||||
|
||||
ifneq (00,$(lambdas)$(cpp0x))
|
||||
CXX_ONLY_FLAGS += $(CPP11_FLAGS)
|
||||
endif
|
||||
|
||||
ifeq (intel64,$(arch))
|
||||
ITT_NOTIFY = -DDO_ITT_NOTIFY
|
||||
CPLUS_FLAGS += -m64 $(RTM_KEY)
|
||||
LINK_FLAGS += -m64
|
||||
LIB_LINK_FLAGS += -m64
|
||||
endif
|
||||
|
||||
ifeq (ia32,$(arch))
|
||||
ITT_NOTIFY = -DDO_ITT_NOTIFY
|
||||
CPLUS_FLAGS += -m32 $(RTM_KEY)
|
||||
LINK_FLAGS += -m32
|
||||
LIB_LINK_FLAGS += -m32
|
||||
@@ -82,15 +86,14 @@ ifeq (ppc32,$(arch))
|
||||
LIB_LINK_FLAGS += -arch ppc
|
||||
endif
|
||||
|
||||
ifeq ($(arch),$(filter $(arch),armv7 armv7s arm64))
|
||||
CPLUS_FLAGS += -arch $(arch)
|
||||
LINK_FLAGS += -arch $(arch)
|
||||
LIB_LINK_FLAGS += -arch $(arch)
|
||||
ifeq (armv7,$(arch))
|
||||
CPLUS_FLAGS += -arch armv7
|
||||
LINK_FLAGS += -arch armv7
|
||||
LIB_LINK_FLAGS += -arch armv7
|
||||
endif
|
||||
|
||||
ifdef SDKROOT
|
||||
CPLUS_FLAGS += -isysroot $(SDKROOT)
|
||||
LINK_FLAGS += -L$(SDKROOT)/usr/lib/system -L$(SDKROOT)/usr/lib/
|
||||
LIB_LINK_FLAGS += -L$(SDKROOT)/usr/lib/system -L$(SDKROOT)/usr/lib/
|
||||
endif
|
||||
|
||||
|
||||
+16
-18
@@ -1,20 +1,20 @@
|
||||
# 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.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
#
|
||||
# Copyright 2005-2015 Intel Corporation. All Rights Reserved.
|
||||
#
|
||||
# This file is part of Threading Building Blocks. Threading Building Blocks is free software;
|
||||
# you can redistribute it and/or modify it under the terms of the GNU General Public License
|
||||
# version 2 as published by the Free Software Foundation. Threading Building Blocks is
|
||||
# distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the GNU General Public License for more details. You should have received a copy of
|
||||
# the GNU General Public License along with Threading Building Blocks; if not, write to the
|
||||
# Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
# As a special exception, you may use this file as part of a free software library without
|
||||
# restriction. Specifically, if other files instantiate templates or use macros or inline
|
||||
# functions from this file, or you compile this file and link it with other files to produce
|
||||
# an executable, this file does not by itself cause the resulting executable to be covered
|
||||
# by the GNU General Public License. This exception does not however invalidate any other
|
||||
# reasons why the executable file might be covered by the GNU General Public License.
|
||||
|
||||
CPLUS = g++
|
||||
CONLY = gcc
|
||||
@@ -44,17 +44,15 @@ else
|
||||
CPLUS_FLAGS = -g -O0 -DTBB_USE_DEBUG
|
||||
endif
|
||||
|
||||
CPLUS_FLAGS += -DUSE_PTHREAD $(ITT_NOTIFY)
|
||||
CPLUS_FLAGS += -DUSE_PTHREAD
|
||||
|
||||
ifeq (intel64,$(arch))
|
||||
ITT_NOTIFY = -DDO_ITT_NOTIFY
|
||||
CPLUS_FLAGS += -m64
|
||||
LINK_FLAGS += -m64
|
||||
LIB_LINK_FLAGS += -m64
|
||||
endif
|
||||
|
||||
ifeq (ia32,$(arch))
|
||||
ITT_NOTIFY = -DDO_ITT_NOTIFY
|
||||
CPLUS_FLAGS += -m32
|
||||
LINK_FLAGS += -m32
|
||||
LIB_LINK_FLAGS += -m32
|
||||
|
||||
+27
-31
@@ -1,20 +1,20 @@
|
||||
# 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.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
#
|
||||
# Copyright 2005-2015 Intel Corporation. All Rights Reserved.
|
||||
#
|
||||
# This file is part of Threading Building Blocks. Threading Building Blocks is free software;
|
||||
# you can redistribute it and/or modify it under the terms of the GNU General Public License
|
||||
# version 2 as published by the Free Software Foundation. Threading Building Blocks is
|
||||
# distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the GNU General Public License for more details. You should have received a copy of
|
||||
# the GNU General Public License along with Threading Building Blocks; if not, write to the
|
||||
# Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
# As a special exception, you may use this file as part of a free software library without
|
||||
# restriction. Specifically, if other files instantiate templates or use macros or inline
|
||||
# functions from this file, or you compile this file and link it with other files to produce
|
||||
# an executable, this file does not by itself cause the resulting executable to be covered
|
||||
# by the GNU General Public License. This exception does not however invalidate any other
|
||||
# reasons why the executable file might be covered by the GNU General Public License.
|
||||
|
||||
CPLUS = icpc
|
||||
CONLY = icc
|
||||
@@ -27,23 +27,18 @@ OUTPUTOBJ_KEY = -o #
|
||||
PIC_KEY = -fPIC
|
||||
WARNING_AS_ERROR_KEY = -Werror
|
||||
WARNING_KEY = -w1
|
||||
ifneq (,$(shell icc -dumpversion | egrep "1[2-9]\."))
|
||||
SDL_FLAGS = -fstack-protector -Wformat -Wformat-security
|
||||
endif
|
||||
|
||||
DYLIB_KEY = -dynamiclib
|
||||
EXPORT_KEY = -Wl,-exported_symbols_list,
|
||||
LIBDL = -ldl
|
||||
|
||||
OPENMP_FLAG = -openmp
|
||||
LIBS = -lpthread
|
||||
LINK_FLAGS =
|
||||
LIB_LINK_FLAGS = -dynamiclib -static-intel -install_name @rpath/$(BUILDING_LIBRARY)
|
||||
C_FLAGS = $(CPLUS_FLAGS)
|
||||
|
||||
ifneq (,$(shell icc -dumpversion | egrep "^1[6-9]\."))
|
||||
OPENMP_FLAG = -qopenmp
|
||||
else
|
||||
OPENMP_FLAG = -openmp
|
||||
# ICC 11.0 and higher support -std=c++0x
|
||||
ifneq (,$(shell icc -dumpversion | egrep "^1[1-9]\."))
|
||||
CPP11_FLAGS = -std=c++0x -D_TBB_CPP0X
|
||||
endif
|
||||
|
||||
# ICC 12.0 and higher provide Intel(R) Cilk(TM) Plus
|
||||
@@ -52,25 +47,26 @@ ifneq (,$(shell icc -dumpversion | egrep "^1[2-9]\."))
|
||||
endif
|
||||
|
||||
ifeq ($(cfg), release)
|
||||
SDL_FLAGS += -D_FORTIFY_SOURCE=2
|
||||
CPLUS_FLAGS = -g -O2 -fno-omit-frame-pointer
|
||||
else
|
||||
CPLUS_FLAGS = -g -O0 -DTBB_USE_DEBUG
|
||||
endif
|
||||
|
||||
ITT_NOTIFY = -DDO_ITT_NOTIFY
|
||||
CPLUS_FLAGS += -DUSE_PTHREAD $(ITT_NOTIFY)
|
||||
CPLUS_FLAGS += -DUSE_PTHREAD
|
||||
|
||||
ifneq (,$(codecov))
|
||||
CPLUS_FLAGS += -prof-gen=srcpos
|
||||
CPLUS_FLAGS += -prof-genx
|
||||
endif
|
||||
|
||||
ifneq (00,$(lambdas)$(cpp0x))
|
||||
CXX_ONLY_FLAGS += $(CPP11_FLAGS)
|
||||
endif
|
||||
|
||||
# ICC 14.0 and higher support usage of libc++, clang standard library
|
||||
MACOSX_DEPLOYMENT_TARGET ?= 10.11
|
||||
ifneq (,$(shell icc -dumpversion | egrep "^1[4-9]\."))
|
||||
ifneq (,$(stdlib))
|
||||
CPLUS_FLAGS += -stdlib=$(stdlib) -mmacosx-version-min=$(MACOSX_DEPLOYMENT_TARGET)
|
||||
LIB_LINK_FLAGS += -stdlib=$(stdlib) -mmacosx-version-min=$(MACOSX_DEPLOYMENT_TARGET)
|
||||
CPLUS_FLAGS += -stdlib=$(stdlib)
|
||||
LIB_LINK_FLAGS += -stdlib=$(stdlib)
|
||||
endif
|
||||
endif
|
||||
|
||||
|
||||
+36
-28
@@ -1,31 +1,30 @@
|
||||
# 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.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
#
|
||||
# Copyright 2005-2015 Intel Corporation. All Rights Reserved.
|
||||
#
|
||||
# This file is part of Threading Building Blocks. Threading Building Blocks is free software;
|
||||
# you can redistribute it and/or modify it under the terms of the GNU General Public License
|
||||
# version 2 as published by the Free Software Foundation. Threading Building Blocks is
|
||||
# distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the GNU General Public License for more details. You should have received a copy of
|
||||
# the GNU General Public License along with Threading Building Blocks; if not, write to the
|
||||
# Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
# As a special exception, you may use this file as part of a free software library without
|
||||
# restriction. Specifically, if other files instantiate templates or use macros or inline
|
||||
# functions from this file, or you compile this file and link it with other files to produce
|
||||
# an executable, this file does not by itself cause the resulting executable to be covered
|
||||
# by the GNU General Public License. This exception does not however invalidate any other
|
||||
# reasons why the executable file might be covered by the GNU General Public License.
|
||||
|
||||
####### Detections and Commands ###############################################
|
||||
|
||||
ifeq (icc,$(compiler))
|
||||
export COMPILER_VERSION := ICC: $(shell icc -V </dev/null 2>&1 | grep 'Version')
|
||||
ifneq (,$(findstring running on IA-32, $(COMPILER_VERSION)))
|
||||
ifneq (,$(findstring IA-32, $(COMPILER_VERSION)))
|
||||
export arch:=ia32
|
||||
else
|
||||
ifneq (,$(findstring running on Intel(R) 64, $(COMPILER_VERSION)))
|
||||
export arch:=intel64
|
||||
endif
|
||||
endif
|
||||
ifneq (,$(findstring Intel(R) 64, $(COMPILER_VERSION)))
|
||||
export arch:=intel64
|
||||
endif
|
||||
ifeq (,$(arch))
|
||||
$(warning "Unknown Intel compiler")
|
||||
@@ -48,17 +47,28 @@ ifndef arch
|
||||
endif
|
||||
endif
|
||||
|
||||
ifndef runtime
|
||||
clang_version:=$(shell clang -v 2>&1 >/dev/null | grep version | sed -e "s/.*version \(.*[0-9]\) .*/\1/")
|
||||
ifndef os_version
|
||||
os_version:=$(shell /usr/bin/sw_vers -productVersion)
|
||||
ifeq (ios,$(target))
|
||||
ifneq (armv7, $(arch))
|
||||
$(error $(arch) not supported for target 'ios')
|
||||
endif
|
||||
export runtime:=cc$(clang_version)_os$(os_version)
|
||||
export SDKROOT?=$(shell xcodebuild -sdk -version | grep -o -E '/.*SDKs/iPhoneOS.*' 2>/dev/null)
|
||||
ifeq (,$(SDKROOT))
|
||||
$(error iOS SDK not found)
|
||||
endif
|
||||
# next, use a single compiler include file for both iOS* and OS X* builds.
|
||||
override target:=macos
|
||||
export target
|
||||
endif
|
||||
|
||||
ifndef runtime
|
||||
gcc_version:=$(shell gcc -dumpversion)
|
||||
os_version:=$(shell /usr/bin/sw_vers -productVersion)
|
||||
export runtime:=cc$(gcc_version)_os$(os_version)
|
||||
endif
|
||||
|
||||
native_compiler := clang
|
||||
export compiler ?= clang
|
||||
debugger ?= lldb
|
||||
debugger ?= gdb
|
||||
|
||||
export stdlib ?= libc++
|
||||
|
||||
@@ -103,5 +113,3 @@ MALLOCPROXY.LIB = $(MALLOCPROXY.DLL)
|
||||
LINK_MALLOCPROXY.LIB = $(MALLOCPROXY.LIB)
|
||||
|
||||
TEST_LAUNCHER=sh $(tbb_root)/build/test_launcher.sh $(largs)
|
||||
|
||||
OPENCL.LIB = -framework OpenCL
|
||||
|
||||
+29
-25
@@ -1,20 +1,20 @@
|
||||
# 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.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
#
|
||||
# Copyright 2005-2015 Intel Corporation. All Rights Reserved.
|
||||
#
|
||||
# This file is part of Threading Building Blocks. Threading Building Blocks is free software;
|
||||
# you can redistribute it and/or modify it under the terms of the GNU General Public License
|
||||
# version 2 as published by the Free Software Foundation. Threading Building Blocks is
|
||||
# distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the GNU General Public License for more details. You should have received a copy of
|
||||
# the GNU General Public License along with Threading Building Blocks; if not, write to the
|
||||
# Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
# As a special exception, you may use this file as part of a free software library without
|
||||
# restriction. Specifically, if other files instantiate templates or use macros or inline
|
||||
# functions from this file, or you compile this file and link it with other files to produce
|
||||
# an executable, this file does not by itself cause the resulting executable to be covered
|
||||
# by the GNU General Public License. This exception does not however invalidate any other
|
||||
# reasons why the executable file might be covered by the GNU General Public License.
|
||||
|
||||
COMPILE_ONLY = -c -MMD
|
||||
PREPROC_ONLY = -E -x c++
|
||||
@@ -25,40 +25,44 @@ OUTPUTOBJ_KEY = -o #
|
||||
PIC_KEY = -fPIC
|
||||
WARNING_AS_ERROR_KEY = -Werror
|
||||
WARNING_KEY = -w1
|
||||
# Several options (e.g. -opt-streaming-stores) were deprecated in Intel(R) Compiler 15.0.
|
||||
# When Intel(R) Compiler 14.0 support is dropped consider enabling remark 10009 and replacing deprecated options with
|
||||
# new ones (e.g. -qopt-streaming-stores never).
|
||||
WARNING_SUPPRESS = -diag-disable 10009
|
||||
TEST_WARNING_KEY = -diag-disable 10009
|
||||
DYLIB_KEY = -shared -Wl,-soname=$@
|
||||
EXPORT_KEY = -Wl,--version-script,
|
||||
NOINTRINSIC_KEY = -fno-builtin
|
||||
LIBDL = -ldl
|
||||
SDL_FLAGS = -fstack-protector -Wformat -Wformat-security
|
||||
|
||||
CPLUS = icpc
|
||||
CONLY = icc
|
||||
|
||||
ifeq (release,$(cfg))
|
||||
SDL_FLAGS += -D_FORTIFY_SOURCE=2
|
||||
CPLUS_FLAGS = -O2 -g -DUSE_PTHREAD
|
||||
else
|
||||
CPLUS_FLAGS = -O0 -g -DUSE_PTHREAD -DTBB_USE_DEBUG
|
||||
endif
|
||||
|
||||
ifneq (,$(codecov))
|
||||
CPLUS_FLAGS += -prof-gen=srcpos
|
||||
CPLUS_FLAGS += -prof-genx
|
||||
endif
|
||||
|
||||
ifneq (,$(shell icc -dumpversion | egrep "^1[6-9]\."))
|
||||
OPENMP_FLAG = -qopenmp
|
||||
else
|
||||
OPENMP_FLAG = -openmp
|
||||
endif
|
||||
|
||||
LIB_LINK_FLAGS = -shared -static-intel -Wl,-soname=$(BUILDING_LIBRARY) -z relro -z now
|
||||
LIB_LINK_FLAGS = -shared -static-intel -Wl,-soname=$(BUILDING_LIBRARY)
|
||||
LIBS += -lpthread -lrt
|
||||
C_FLAGS = $(CPLUS_FLAGS)
|
||||
CPP11_FLAGS = -std=c++0x -D_TBB_CPP0X
|
||||
CILK_AVAILABLE = yes
|
||||
|
||||
TBB_ASM.OBJ=
|
||||
MALLOC_ASM.OBJ=
|
||||
|
||||
CPLUS_FLAGS += -DHARNESS_INCOMPLETE_SOURCES=1 -D__TBB_MIC_NATIVE -DTBB_USE_EXCEPTIONS=0 -qopt-streaming-stores never
|
||||
ifneq (00,$(lambdas)$(cpp0x))
|
||||
CXX_ONLY_FLAGS += $(CPP11_FLAGS)
|
||||
endif
|
||||
|
||||
CPLUS_FLAGS += -DHARNESS_INCOMPLETE_SOURCES=1 -D__TBB_MIC_NATIVE -DTBB_USE_EXCEPTIONS=0 -opt-streaming-stores never
|
||||
CPLUS += -mmic
|
||||
CONLY += -mmic
|
||||
LINK_FLAGS = -Wl,-rpath-link=. -rdynamic
|
||||
|
||||
+15
-15
@@ -1,20 +1,20 @@
|
||||
# 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.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
#
|
||||
# Copyright 2005-2015 Intel Corporation. All Rights Reserved.
|
||||
#
|
||||
# This file is part of Threading Building Blocks. Threading Building Blocks is free software;
|
||||
# you can redistribute it and/or modify it under the terms of the GNU General Public License
|
||||
# version 2 as published by the Free Software Foundation. Threading Building Blocks is
|
||||
# distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the GNU General Public License for more details. You should have received a copy of
|
||||
# the GNU General Public License along with Threading Building Blocks; if not, write to the
|
||||
# Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
# As a special exception, you may use this file as part of a free software library without
|
||||
# restriction. Specifically, if other files instantiate templates or use macros or inline
|
||||
# functions from this file, or you compile this file and link it with other files to produce
|
||||
# an executable, this file does not by itself cause the resulting executable to be covered
|
||||
# by the GNU General Public License. This exception does not however invalidate any other
|
||||
# reasons why the executable file might be covered by the GNU General Public License.
|
||||
|
||||
ifeq ($(tbb_os),mic)
|
||||
$(error MIC supports only cross-compilation. Specify "target=mic" instead.)
|
||||
|
||||
+16
-20
@@ -1,22 +1,22 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# 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.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
#
|
||||
# Copyright 2005-2015 Intel Corporation. All Rights Reserved.
|
||||
#
|
||||
# This file is part of Threading Building Blocks. Threading Building Blocks is free software;
|
||||
# you can redistribute it and/or modify it under the terms of the GNU General Public License
|
||||
# version 2 as published by the Free Software Foundation. Threading Building Blocks is
|
||||
# distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the GNU General Public License for more details. You should have received a copy of
|
||||
# the GNU General Public License along with Threading Building Blocks; if not, write to the
|
||||
# Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
# As a special exception, you may use this file as part of a free software library without
|
||||
# restriction. Specifically, if other files instantiate templates or use macros or inline
|
||||
# functions from this file, or you compile this file and link it with other files to produce
|
||||
# an executable, this file does not by itself cause the resulting executable to be covered
|
||||
# by the GNU General Public License. This exception does not however invalidate any other
|
||||
# reasons why the executable file might be covered by the GNU General Public License.
|
||||
|
||||
# Usage:
|
||||
# mic.linux.launcher.sh [-v] [-q] [-s] [-r <repeats>] [-u] [-l <library>] <executable> <arg1> <arg2> <argN>
|
||||
@@ -72,7 +72,6 @@ targetdir="`$RSH mktemp -d /tmp/tbbtestXXXXXX 2>/dev/null`" #
|
||||
hostdir="`mktemp -d /tmp/tbbtestXXXXXX 2>/dev/null`" #
|
||||
#
|
||||
function copy_files { #
|
||||
[ $verbose ] && echo Going to copy $* #
|
||||
eval "cp $* $hostdir/ $SUPPRESS 2>/dev/null || exit \$?" #
|
||||
eval "$RCP $hostdir/* $MICDEV:$targetdir/ $SUPPRESS 2>/dev/null || exit \$?" #
|
||||
eval "rm $hostdir/* $SUPPRESS 2>/dev/null || exit \$?" #
|
||||
@@ -101,11 +100,8 @@ fnamelist="" #
|
||||
# For example, go through MIC_LD_LIBRARY_PATH and add TBB libraries from the first
|
||||
# directory that contains tbb files
|
||||
mic_dir_list=`echo .:$MIC_LD_LIBRARY_PATH | tr : " "` #
|
||||
[ $verbose ] && echo Searching libraries in $mic_dir_list
|
||||
for name in $ldd_list; do # adds the first matched name in specified dirs
|
||||
found="`find -L $mic_dir_list -name $name -a -readable -print -quit 2>/dev/null` "||: #
|
||||
[ $verbose ] && echo File $name: $found
|
||||
fnamelist+=$found
|
||||
fnamelist+="`find $mic_dir_list -name $name -a -readable -print -quit 2>/dev/null` "||: #
|
||||
done #
|
||||
#
|
||||
# Remove extra spaces.
|
||||
|
||||
+29
-24
@@ -1,20 +1,20 @@
|
||||
# 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.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
#
|
||||
# Copyright 2005-2015 Intel Corporation. All Rights Reserved.
|
||||
#
|
||||
# This file is part of Threading Building Blocks. Threading Building Blocks is free software;
|
||||
# you can redistribute it and/or modify it under the terms of the GNU General Public License
|
||||
# version 2 as published by the Free Software Foundation. Threading Building Blocks is
|
||||
# distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the GNU General Public License for more details. You should have received a copy of
|
||||
# the GNU General Public License along with Threading Building Blocks; if not, write to the
|
||||
# Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
# As a special exception, you may use this file as part of a free software library without
|
||||
# restriction. Specifically, if other files instantiate templates or use macros or inline
|
||||
# functions from this file, or you compile this file and link it with other files to produce
|
||||
# an executable, this file does not by itself cause the resulting executable to be covered
|
||||
# by the GNU General Public License. This exception does not however invalidate any other
|
||||
# reasons why the executable file might be covered by the GNU General Public License.
|
||||
|
||||
ifneq (mic,$(offload))
|
||||
$(error File mic.offload.inc should not be included directly. Use offload=mic instead.)
|
||||
@@ -32,11 +32,11 @@ ifdef BUILDING_PHASE
|
||||
# Tests
|
||||
export MIC_OFFLOAD_NATIVE_PATH
|
||||
LINK_TBB_NATIVE.LIB=$(MIC_OFFLOAD_NATIVE_PATH)/$(TBB.LIB)
|
||||
LINK_TBB.LIB=-qoffload-option,mic,ld,"$(LINK_TBB_NATIVE.LIB)" $(TBB.LIB)
|
||||
LINK_TBB.LIB=-offload-option,mic,ld,"$(LINK_TBB_NATIVE.LIB)" $(TBB.LIB)
|
||||
LINK_MALLOC_NATIVE.LIB=$(MIC_OFFLOAD_NATIVE_PATH)/$(MALLOC.DLL)
|
||||
LINK_MALLOC.LIB=-qoffload-option,mic,ld,"$(LINK_MALLOC_NATIVE.LIB)" $(MALLOC.LIB)
|
||||
LINK_MALLOC.LIB=-offload-option,mic,ld,"$(LINK_MALLOC_NATIVE.LIB)" $(MALLOC.LIB)
|
||||
LINK_MALLOCPROXY_NATIVE.LIB=$(MIC_OFFLOAD_NATIVE_PATH)/$(MALLOCPROXY.DLL)
|
||||
LINK_MALLOCPROXY.LIB=-qoffload-option,mic,ld,"$(LINK_MALLOCPROXY_NATIVE.LIB)" $(MALLOCPROXY.LIB)
|
||||
LINK_MALLOCPROXY.LIB=-offload-option,mic,ld,"$(LINK_MALLOCPROXY_NATIVE.LIB)" $(MALLOCPROXY.LIB)
|
||||
|
||||
# Export extensions for test_launcher
|
||||
export DLL
|
||||
@@ -50,18 +50,23 @@ ifdef BUILDING_PHASE
|
||||
WARNING_AS_ERROR_KEY = Warning as error
|
||||
WARNING_KEY = -diag-warning 2426 -w0
|
||||
|
||||
CXX_MIC_STUFF = -qoffload-attribute-target=mic -D__TBB_MIC_OFFLOAD=1 -qoffload-option,mic,compiler,"-D__TBB_MIC_OFFLOAD=1 $(CXX_MIC_NATIVE_STUFF)"
|
||||
# Several options (e.g. -offload-attribute-target, -offload-option and so on) were deprecated in Intel(R) Compiler 15.0.
|
||||
# When Intel(R) Compiler 14.0 support is dropped consider enabling remark 10009 and replacing deprecated options with
|
||||
# new ones (e.g. -qoffload-attribute-target, -qoffload-option and so on).
|
||||
WARNING_KEY += -diag-disable 10009
|
||||
|
||||
CXX_MIC_STUFF = -offload-attribute-target=mic -D__TBB_MIC_OFFLOAD=1 -offload-option,mic,compiler,"-D__TBB_MIC_OFFLOAD=1 $(CXX_MIC_NATIVE_STUFF)"
|
||||
CXX_MIC_NATIVE_STUFF = -DHARNESS_INCOMPLETE_SOURCES=1 -D__TBB_MIC_NATIVE -DTBB_USE_EXCEPTIONS=0
|
||||
CPLUS_FLAGS += $(CXX_MIC_STUFF)
|
||||
|
||||
# Some tests require that an executable exports its symbols.
|
||||
LINK_FLAGS += -qoffload-option,mic,ld,"--export-dynamic"
|
||||
LINK_FLAGS += -offload-option,mic,ld,"--export-dynamic"
|
||||
|
||||
# libcoi_device.so is needed for COIProcessProxyFlush used in Harness.
|
||||
LINK_FLAGS += -qoffload-option,mic,ld,"-lcoi_device"
|
||||
LINK_FLAGS += -offload-option,mic,ld,"-lcoi_device"
|
||||
|
||||
# DSO-linking semantics forces linking libpthread and librt to a test.
|
||||
LINK_FLAGS += -qoffload-option,mic,ld,"-lpthread -lrt"
|
||||
LINK_FLAGS += -offload-option,mic,ld,"-lpthread -lrt"
|
||||
|
||||
.PHONY: FORCE
|
||||
FORCE:
|
||||
@@ -73,7 +78,7 @@ ifdef BUILDING_PHASE
|
||||
|
||||
.PRECIOUS: $(MIC_OFFLOAD_NATIVE_PATH)/%_dll.$(DLL)
|
||||
|
||||
%.$(TEST_EXT): LINK_FILES+=-qoffload-option,mic,ld,"$(addprefix $(MIC_OFFLOAD_NATIVE_PATH)/,$(TEST_LIBS))"
|
||||
%.$(TEST_EXT): LINK_FILES+=-offload-option,mic,ld,"$(addprefix $(MIC_OFFLOAD_NATIVE_PATH)/,$(TEST_LIBS))"
|
||||
|
||||
TEST_LAUNCHER=sh $(tbb_root)/build/test_launcher.sh $(largs)
|
||||
|
||||
@@ -106,7 +111,7 @@ else
|
||||
# Add the dependency on target libraries
|
||||
$(call addsuffixes, _debug _release,$(LIB_TARGETS)): %: %_mic
|
||||
|
||||
# tbb_build_prefix should be overridden since we want to restart make in "clear" environment
|
||||
# tbb_build_prefix should be overriden since we want to restart make in "clear" environment
|
||||
$(call addsuffixes, _debug_mic _release_mic,$(LIB_TARGETS)): override tbb_build_prefix=
|
||||
$(call addsuffixes, _debug_mic _release_mic,$(LIB_TARGETS)): %_mic:
|
||||
@$(MAKE) --no-print-directory -C "$(full_tbb_root)/src" $* target=mic tbb_root=..
|
||||
|
||||
+15
-15
@@ -1,22 +1,22 @@
|
||||
@echo off
|
||||
REM
|
||||
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.
|
||||
REM You may obtain a copy of the License at
|
||||
REM
|
||||
REM http://www.apache.org/licenses/LICENSE-2.0
|
||||
REM
|
||||
REM Unless required by applicable law or agreed to in writing, software
|
||||
REM distributed under the License is distributed on an "AS IS" BASIS,
|
||||
REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
REM See the License for the specific language governing permissions and
|
||||
REM limitations under the License.
|
||||
REM
|
||||
REM
|
||||
REM Copyright 2005-2015 Intel Corporation. All Rights Reserved.
|
||||
REM
|
||||
REM This file is part of Threading Building Blocks. Threading Building Blocks is free software;
|
||||
REM you can redistribute it and/or modify it under the terms of the GNU General Public License
|
||||
REM version 2 as published by the Free Software Foundation. Threading Building Blocks is
|
||||
REM distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
REM implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
REM See the GNU General Public License for more details. You should have received a copy of
|
||||
REM the GNU General Public License along with Threading Building Blocks; if not, write to the
|
||||
REM Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
REM
|
||||
REM As a special exception, you may use this file as part of a free software library without
|
||||
REM restriction. Specifically, if other files instantiate templates or use macros or inline
|
||||
REM functions from this file, or you compile this file and link it with other files to produce
|
||||
REM an executable, this file does not by itself cause the resulting executable to be covered
|
||||
REM by the GNU General Public License. This exception does not however invalidate any other
|
||||
REM reasons why the executable file might be covered by the GNU General Public License.
|
||||
REM
|
||||
|
||||
set cmd_line=
|
||||
|
||||
+16
-21
@@ -1,22 +1,22 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# 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.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
#
|
||||
# Copyright 2005-2015 Intel Corporation. All Rights Reserved.
|
||||
#
|
||||
# This file is part of Threading Building Blocks. Threading Building Blocks is free software;
|
||||
# you can redistribute it and/or modify it under the terms of the GNU General Public License
|
||||
# version 2 as published by the Free Software Foundation. Threading Building Blocks is
|
||||
# distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the GNU General Public License for more details. You should have received a copy of
|
||||
# the GNU General Public License along with Threading Building Blocks; if not, write to the
|
||||
# Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
# As a special exception, you may use this file as part of a free software library without
|
||||
# restriction. Specifically, if other files instantiate templates or use macros or inline
|
||||
# functions from this file, or you compile this file and link it with other files to produce
|
||||
# an executable, this file does not by itself cause the resulting executable to be covered
|
||||
# by the GNU General Public License. This exception does not however invalidate any other
|
||||
# reasons why the executable file might be covered by the GNU General Public License.
|
||||
|
||||
# Usage:
|
||||
# test_launcher.sh [-v] [-q] [-s] [-r <repeats>] [-u] [-l <library>] <executable> <arg1> <arg2> <argN>
|
||||
@@ -71,18 +71,13 @@ stressed() { echo Doing stress testing. Press Ctrl-C to terminate #
|
||||
repeated() { #
|
||||
i=0; while [ "$i" -lt $repeat ]; do i=`expr $i + 1`; echo $i of $repeat:; $*; done #
|
||||
} #
|
||||
# DYLD_LIBRARY_PATH can be purged on OS X 10.11, set it again
|
||||
if [ `uname` = 'Darwin' -a -z "$DYLD_LIBRARY_PATH" ] ; then #
|
||||
DYLD_LIBRARY_PATH=. #
|
||||
export DYLD_LIBRARY_PATH #
|
||||
fi #
|
||||
# Run the command line passed via parameters
|
||||
[ $verbose ] && echo Running $run_prefix $* #
|
||||
if [ -n "$LD_PRELOAD" ] ; then #
|
||||
export LD_PRELOAD #
|
||||
elif [ -n "$DYLD_INSERT_LIBRARIES" ] ; then #
|
||||
export DYLD_INSERT_LIBRARIES #
|
||||
fi #
|
||||
fi
|
||||
exec 4>&1 # extracting exit code of the first command in pipeline needs duplicated stdout
|
||||
# custom redirection needs eval, otherwise shell cannot parse it
|
||||
err=`eval '( $run_prefix $* || echo \$? >&3; )' ${OUTPUT} 3>&1 >&4` #
|
||||
|
||||
+15
-15
@@ -1,22 +1,22 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# 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.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
#
|
||||
# Copyright 2005-2015 Intel Corporation. All Rights Reserved.
|
||||
#
|
||||
# This file is part of Threading Building Blocks. Threading Building Blocks is free software;
|
||||
# you can redistribute it and/or modify it under the terms of the GNU General Public License
|
||||
# version 2 as published by the Free Software Foundation. Threading Building Blocks is
|
||||
# distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the GNU General Public License for more details. You should have received a copy of
|
||||
# the GNU General Public License along with Threading Building Blocks; if not, write to the
|
||||
# Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
# As a special exception, you may use this file as part of a free software library without
|
||||
# restriction. Specifically, if other files instantiate templates or use macros or inline
|
||||
# functions from this file, or you compile this file and link it with other files to produce
|
||||
# an executable, this file does not by itself cause the resulting executable to be covered
|
||||
# by the GNU General Public License. This exception does not however invalidate any other
|
||||
# reasons why the executable file might be covered by the GNU General Public License.
|
||||
|
||||
# Script used to generate version info string
|
||||
echo "#define __TBB_VERSION_STRINGS(N) \\"
|
||||
|
||||
@@ -1,29 +1,29 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# 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.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
#
|
||||
# Copyright 2005-2015 Intel Corporation. All Rights Reserved.
|
||||
#
|
||||
# This file is part of Threading Building Blocks. Threading Building Blocks is free software;
|
||||
# you can redistribute it and/or modify it under the terms of the GNU General Public License
|
||||
# version 2 as published by the Free Software Foundation. Threading Building Blocks is
|
||||
# distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the GNU General Public License for more details. You should have received a copy of
|
||||
# the GNU General Public License along with Threading Building Blocks; if not, write to the
|
||||
# Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
# As a special exception, you may use this file as part of a free software library without
|
||||
# restriction. Specifically, if other files instantiate templates or use macros or inline
|
||||
# functions from this file, or you compile this file and link it with other files to produce
|
||||
# an executable, this file does not by itself cause the resulting executable to be covered
|
||||
# by the GNU General Public License. This exception does not however invalidate any other
|
||||
# reasons why the executable file might be covered by the GNU General Public License.
|
||||
|
||||
# Script used to generate version info string
|
||||
echo "#define __TBB_VERSION_STRINGS(N) \\"
|
||||
echo '#N": BUILD_HOST'"\t\t"`hostname -s`" ("`uname -m`")"'" ENDL \'
|
||||
# find OS name in *-release and issue* files by filtering blank lines and lsb-release content out
|
||||
echo '#N": BUILD_OS'"\t\t"`lsb_release -sd 2>/dev/null | grep -ih '[a-z] ' - /etc/*release /etc/issue 2>/dev/null | head -1 | sed -e 's/["\\\\]//g'`'" ENDL \'
|
||||
echo '#N": BUILD_TARGET_CXX'"\t"`$TARGET_CXX --version | head -n1`'" ENDL \'
|
||||
echo '#N": BUILD_GCC'"\t\t"`${tbb_tool_prefix}g++ --version | grep 'g++'`'" ENDL \'
|
||||
[ -z "$COMPILER_VERSION" ] || echo '#N": BUILD_COMPILER'"\t"$COMPILER_VERSION'" ENDL \'
|
||||
[ -z "$ndk_version" ] || echo '#N": BUILD_NDK'"\t\t$ndk_version"'" ENDL \'
|
||||
echo '#N": BUILD_LD'"\t\t"`${tbb_tool_prefix}ld -v 2>&1 | grep 'ld'`'" ENDL \'
|
||||
|
||||
+15
-15
@@ -1,22 +1,22 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# 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.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
#
|
||||
# Copyright 2005-2015 Intel Corporation. All Rights Reserved.
|
||||
#
|
||||
# This file is part of Threading Building Blocks. Threading Building Blocks is free software;
|
||||
# you can redistribute it and/or modify it under the terms of the GNU General Public License
|
||||
# version 2 as published by the Free Software Foundation. Threading Building Blocks is
|
||||
# distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the GNU General Public License for more details. You should have received a copy of
|
||||
# the GNU General Public License along with Threading Building Blocks; if not, write to the
|
||||
# Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
# As a special exception, you may use this file as part of a free software library without
|
||||
# restriction. Specifically, if other files instantiate templates or use macros or inline
|
||||
# functions from this file, or you compile this file and link it with other files to produce
|
||||
# an executable, this file does not by itself cause the resulting executable to be covered
|
||||
# by the GNU General Public License. This exception does not however invalidate any other
|
||||
# reasons why the executable file might be covered by the GNU General Public License.
|
||||
|
||||
# Script used to generate version info string
|
||||
echo "#define __TBB_VERSION_STRINGS(N) \\"
|
||||
|
||||
+15
-15
@@ -1,22 +1,22 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# 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.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
#
|
||||
# Copyright 2005-2015 Intel Corporation. All Rights Reserved.
|
||||
#
|
||||
# This file is part of Threading Building Blocks. Threading Building Blocks is free software;
|
||||
# you can redistribute it and/or modify it under the terms of the GNU General Public License
|
||||
# version 2 as published by the Free Software Foundation. Threading Building Blocks is
|
||||
# distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the GNU General Public License for more details. You should have received a copy of
|
||||
# the GNU General Public License along with Threading Building Blocks; if not, write to the
|
||||
# Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
# As a special exception, you may use this file as part of a free software library without
|
||||
# restriction. Specifically, if other files instantiate templates or use macros or inline
|
||||
# functions from this file, or you compile this file and link it with other files to produce
|
||||
# an executable, this file does not by itself cause the resulting executable to be covered
|
||||
# by the GNU General Public License. This exception does not however invalidate any other
|
||||
# reasons why the executable file might be covered by the GNU General Public License.
|
||||
|
||||
# Script used to generate version info string
|
||||
echo "#define __TBB_VERSION_STRINGS(N) \\"
|
||||
|
||||
+15
-15
@@ -1,22 +1,22 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# 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.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
#
|
||||
# Copyright 2005-2015 Intel Corporation. All Rights Reserved.
|
||||
#
|
||||
# This file is part of Threading Building Blocks. Threading Building Blocks is free software;
|
||||
# you can redistribute it and/or modify it under the terms of the GNU General Public License
|
||||
# version 2 as published by the Free Software Foundation. Threading Building Blocks is
|
||||
# distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the GNU General Public License for more details. You should have received a copy of
|
||||
# the GNU General Public License along with Threading Building Blocks; if not, write to the
|
||||
# Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
# As a special exception, you may use this file as part of a free software library without
|
||||
# restriction. Specifically, if other files instantiate templates or use macros or inline
|
||||
# functions from this file, or you compile this file and link it with other files to produce
|
||||
# an executable, this file does not by itself cause the resulting executable to be covered
|
||||
# by the GNU General Public License. This exception does not however invalidate any other
|
||||
# reasons why the executable file might be covered by the GNU General Public License.
|
||||
|
||||
# Script used to generate version info string
|
||||
echo "#define __TBB_VERSION_STRINGS(N) \\"
|
||||
|
||||
@@ -1,20 +1,20 @@
|
||||
// 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.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
//
|
||||
// Copyright 2005-2015 Intel Corporation. All Rights Reserved.
|
||||
//
|
||||
// This file is part of Threading Building Blocks. Threading Building Blocks is free software;
|
||||
// you can redistribute it and/or modify it under the terms of the GNU General Public License
|
||||
// version 2 as published by the Free Software Foundation. Threading Building Blocks is
|
||||
// distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
// implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
// See the GNU General Public License for more details. You should have received a copy of
|
||||
// the GNU General Public License along with Threading Building Blocks; if not, write to the
|
||||
// Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
//
|
||||
// As a special exception, you may use this file as part of a free software library without
|
||||
// restriction. Specifically, if other files instantiate templates or use macros or inline
|
||||
// functions from this file, or you compile this file and link it with other files to produce
|
||||
// an executable, this file does not by itself cause the resulting executable to be covered
|
||||
// by the GNU General Public License. This exception does not however invalidate any other
|
||||
// reasons why the executable file might be covered by the GNU General Public License.
|
||||
|
||||
var WshShell = WScript.CreateObject("WScript.Shell");
|
||||
|
||||
@@ -40,13 +40,7 @@ WScript.echo( "#N \": BUILD_OS\\t\\t" +
|
||||
|
||||
if ( WScript.Arguments(0).toLowerCase().match("gcc") ) {
|
||||
tmpExec = WshShell.Exec(WScript.Arguments(0) + " --version");
|
||||
WScript.echo( "#N \": BUILD_GCC\\t\\t" +
|
||||
tmpExec.StdOut.ReadLine() +
|
||||
"\" ENDL \\" );
|
||||
|
||||
} else if ( WScript.Arguments(0).toLowerCase().match("clang") ) {
|
||||
tmpExec = WshShell.Exec(WScript.Arguments(0) + " --version");
|
||||
WScript.echo( "#N \": BUILD_CLANG\\t" +
|
||||
WScript.echo( "#N \": BUILD_COMPILER\\t" +
|
||||
tmpExec.StdOut.ReadLine() +
|
||||
"\" ENDL \\" );
|
||||
|
||||
@@ -93,3 +87,42 @@ WScript.echo( "#define __TBB_DATETIME \"" + date.toUTCString() + "\"" );
|
||||
WScript.echo( "#define __TBB_VERSION_YMD " + date.getUTCFullYear() + ", " +
|
||||
(date.getUTCMonth() > 8 ? (date.getUTCMonth()+1):("0"+(date.getUTCMonth()+1))) +
|
||||
(date.getUTCDate() > 9 ? date.getUTCDate():("0"+date.getUTCDate())) );
|
||||
|
||||
|
||||
/*
|
||||
|
||||
Original strings
|
||||
|
||||
#define __TBB_VERSION_STRINGS \
|
||||
"TBB: BUILD_HOST\t\tvpolin-mobl1 (ia32)" ENDL \
|
||||
"TBB: BUILD_OS\t\tMicrosoft Windows XP [Version 5.1.2600]" ENDL \
|
||||
"TBB: BUILD_CL\t\tMicrosoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3077 for 80x86" ENDL \
|
||||
"TBB: BUILD_COMPILER\tIntel(R) C++ Compiler for 32-bit applications, Version 9.1 Build 20070109Z Package ID: W_CC_C_9.1.034 " ENDL \
|
||||
"TBB: BUILD_TARGET\t" ENDL \
|
||||
"TBB: BUILD_COMMAND\t" ENDL \
|
||||
|
||||
#define __TBB_DATETIME "Mon Jun 4 10:16:07 UTC 2007"
|
||||
#define __TBB_VERSION_YMD 2007, 0604
|
||||
|
||||
|
||||
|
||||
# The script must be run from two directory levels below this level.
|
||||
x='"TBB: '
|
||||
y='" ENDL \'
|
||||
echo "#define __TBB_VERSION_STRINGS \\"
|
||||
echo $x "BUILD_HOST\t\t"`hostname`" ("`../../arch.exe`")"$y
|
||||
echo $x "BUILD_OS\t\t"`../../win_version.bat|grep -i 'Version'`$y
|
||||
echo >empty.cpp
|
||||
echo $x "BUILD_CL\t\t"`cl -c empty.cpp 2>&1 | grep -i Version`$y
|
||||
echo $x "BUILD_COMPILER\t"`icl -c empty.cpp 2>&1 | grep -i Version`$y
|
||||
echo $x "BUILD_TARGET\t"$TBB_ARCH$y
|
||||
echo $x "BUILD_COMMAND\t"$*$y
|
||||
echo ""
|
||||
# A workaround for MKS 8.6 where `date -u` crashes.
|
||||
date -u > date.tmp
|
||||
echo "#define __TBB_DATETIME \""`cat date.tmp`"\""
|
||||
echo "#define __TBB_VERSION_YMD "`date '+%Y, %m%d'`
|
||||
rm empty.cpp
|
||||
rm empty.obj
|
||||
rm date.tmp
|
||||
*/
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<BODY>
|
||||
|
||||
<H2>Overview</H2>
|
||||
This directory contains the Visual Studio* 2013 solution to build Intel® Threading Building Blocks.
|
||||
This directory contains the Visual Studio* 2010 solution to build Intel® Threading Building Blocks.
|
||||
|
||||
|
||||
<H2>Files</H2>
|
||||
@@ -12,7 +12,7 @@ This directory contains the Visual Studio* 2013 solution to build Intel® Thr
|
||||
<DT><A HREF="tbb.vcxproj">tbb.vcxproj</A>
|
||||
<DD>Library project file.</DD>
|
||||
<DT><A HREF="tbbmalloc.vcxproj">tbbmalloc.vcxproj</A>
|
||||
<DD>Scalable allocator library project file.</DD>
|
||||
<DD>Scalable allocator library project file. Allocator sources are expected to be located in <A HREF="../../src/tbbmalloc">../../src/tbbmalloc</A> folder.</DD>
|
||||
<DT><A HREF="tbbmalloc_proxy.vcxproj">tbbmalloc_proxy.vcxproj</A>
|
||||
<DD>Standard allocator replacement project file. </DD>
|
||||
</DL>
|
||||
@@ -20,10 +20,10 @@ This directory contains the Visual Studio* 2013 solution to build Intel® Thr
|
||||
<HR>
|
||||
<A HREF="../index.html">Up to parent directory</A>
|
||||
<P></P>
|
||||
Copyright © 2017 Intel Corporation. All Rights Reserved.
|
||||
Copyright © 2005-2015 Intel Corporation. All Rights Reserved.
|
||||
<P></P>
|
||||
Intel and the Intel logo are trademarks of Intel Corporation
|
||||
or its subsidiaries in the U.S. and/or other countries.
|
||||
Intel is a registered trademark or trademark of Intel Corporation
|
||||
or its subsidiaries in the United States and other countries.
|
||||
<p></p>
|
||||
* Other names and brands may be claimed as the property of others.
|
||||
</BODY>
|
||||
@@ -1,7 +1,5 @@
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 2013
|
||||
VisualStudioVersion = 12.0.40629.0
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Microsoft Visual Studio Solution File, Format Version 11.00
|
||||
# Visual Studio 2010
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{8898CE0B-0BFB-45AE-AA71-83735ED2510D}"
|
||||
ProjectSection(SolutionItems) = preProject
|
||||
index.html = index.html
|
||||
@@ -0,0 +1,712 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug-MT|Win32">
|
||||
<Configuration>Debug-MT</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug-MT|x64">
|
||||
<Configuration>Debug-MT</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|x64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release-MT|Win32">
|
||||
<Configuration>Release-MT</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release-MT|x64">
|
||||
<Configuration>Release-MT</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|Win32">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|x64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{F62787DD-1327-448B-9818-030062BCFAA5}</ProjectGuid>
|
||||
<RootNamespace>tbb</RootNamespace>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props"/>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<CharacterSet>NotSet</CharacterSet>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<CharacterSet>NotSet</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<CharacterSet>NotSet</CharacterSet>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<CharacterSet>NotSet</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<CharacterSet>NotSet</CharacterSet>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<CharacterSet>NotSet</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<CharacterSet>NotSet</CharacterSet>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<CharacterSet>NotSet</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props"/>
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
<Import Project="$(VCTargetsPath)\BuildCustomizations\masm.props"/>
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform"/>
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform"/>
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform"/>
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform"/>
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform"/>
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform"/>
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform"/>
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform"/>
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros"/>
|
||||
<PropertyGroup>
|
||||
<_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)ia32\$(Configuration)\</OutDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)ia32\$(Configuration)\</IntDir>
|
||||
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</LinkIncremental>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)intel64\$(Configuration)\</OutDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)intel64\$(Configuration)\</IntDir>
|
||||
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</LinkIncremental>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)ia32\$(Configuration)\</OutDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)ia32\$(Configuration)\</IntDir>
|
||||
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)intel64\$(Configuration)\</OutDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)intel64\$(Configuration)\</IntDir>
|
||||
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">$(SolutionDir)ia32\$(Configuration)\</OutDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">$(SolutionDir)ia32\$(Configuration)\</IntDir>
|
||||
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">false</LinkIncremental>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">$(SolutionDir)intel64\$(Configuration)\</OutDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">$(SolutionDir)intel64\$(Configuration)\</IntDir>
|
||||
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">false</LinkIncremental>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">$(SolutionDir)ia32\$(Configuration)\</OutDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">$(SolutionDir)ia32\$(Configuration)\</IntDir>
|
||||
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">false</LinkIncremental>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">$(SolutionDir)intel64\$(Configuration)\</OutDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">$(SolutionDir)intel64\$(Configuration)\</IntDir>
|
||||
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">false</LinkIncremental>
|
||||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'"/>
|
||||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'"/>
|
||||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'"/>
|
||||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'"/>
|
||||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"/>
|
||||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"/>
|
||||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"/>
|
||||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"/>
|
||||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'"/>
|
||||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'"/>
|
||||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'"/>
|
||||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'"/>
|
||||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"/>
|
||||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"/>
|
||||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|x64'"/>
|
||||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|x64'"/>
|
||||
<TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(ProjectName)_debug</TargetName>
|
||||
<TargetName Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">$(ProjectName)_debug</TargetName>
|
||||
<TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(ProjectName)_debug</TargetName>
|
||||
<TargetName Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">$(ProjectName)_debug</TargetName>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<AdditionalOptions> /c /MDd /Od /Ob0 /Zi /EHsc /GR /Zc:forScope /Zc:wchar_t /DTBB_USE_DEBUG /D__TBB_LIB_NAME=tbb_debug.lib /DDO_ITT_NOTIFY /GS /volatile:iso /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0502 /D__TBB_BUILD=1 /W4 /I../../src /I../../src/rml/include /I../../include</AdditionalOptions>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<AdditionalIncludeDirectories>.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<MinimalRebuild>true</MinimalRebuild>
|
||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalOptions>/DLL /MAP /DEBUG /fixed:no /INCREMENTAL:NO /DEF:"$(IntDir)tbb.def" %(AdditionalOptions)</AdditionalOptions>
|
||||
<OutputFile>$(OutDir)tbb_debug.dll</OutputFile>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||
<DataExecutionPrevention>
|
||||
</DataExecutionPrevention>
|
||||
<TargetMachine>MachineX86</TargetMachine>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<Midl>
|
||||
<TargetEnvironment>X64</TargetEnvironment>
|
||||
</Midl>
|
||||
<ClCompile>
|
||||
<AdditionalOptions> /c /MDd /Od /Ob0 /Zi /EHsc /GR /Zc:forScope /Zc:wchar_t /DTBB_USE_DEBUG /D__TBB_LIB_NAME=tbb_debug.lib /DDO_ITT_NOTIFY /GS /volatile:iso /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0502 /D__TBB_BUILD=1 /W4 /I../../src /I../../src/rml/include /I../../include</AdditionalOptions>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<AdditionalIncludeDirectories>.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<MinimalRebuild>true</MinimalRebuild>
|
||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<ShowIncludes>false</ShowIncludes>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalOptions>/nologo /DLL /MAP /DEBUG /fixed:no /INCREMENTAL:NO /DEF:"$(IntDir)tbb.def" %(AdditionalOptions)</AdditionalOptions>
|
||||
<OutputFile>$(OutDir)tbb_debug.dll</OutputFile>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||
<DataExecutionPrevention>
|
||||
</DataExecutionPrevention>
|
||||
<TargetMachine>MachineX64</TargetMachine>
|
||||
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<ClCompile>
|
||||
<AdditionalOptions> /c /MD /O2 /Zi /EHsc /GR /Zc:forScope /Zc:wchar_t /D__TBB_LIB_NAME=tbb.lib /DDO_ITT_NOTIFY /GS /volatile:iso /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0502 /D__TBB_BUILD=1 /W4 /I../../src /I../../src/rml/include /I../../include</AdditionalOptions>
|
||||
<AdditionalIncludeDirectories>.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalOptions>/nologo /DLL /MAP /DEBUG /fixed:no /INCREMENTAL:NO /DEF:"$(IntDir)tbb.def" %(AdditionalOptions)</AdditionalOptions>
|
||||
<OutputFile>$(OutDir)tbb.dll</OutputFile>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||
<DataExecutionPrevention>
|
||||
</DataExecutionPrevention>
|
||||
<TargetMachine>MachineX86</TargetMachine>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<Midl>
|
||||
<TargetEnvironment>X64</TargetEnvironment>
|
||||
</Midl>
|
||||
<ClCompile>
|
||||
<AdditionalOptions> /c /MD /O2 /Zi /EHsc /GR /Zc:forScope /Zc:wchar_t /D__TBB_LIB_NAME=tbb.lib /DDO_ITT_NOTIFY /GS /volatile:iso /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0502 /D__TBB_BUILD=1 /W4 /I../../src /I../../src/rml/include /I../../include</AdditionalOptions>
|
||||
<AdditionalIncludeDirectories>.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalOptions>/nologo /DLL /MAP /DEBUG /fixed:no /INCREMENTAL:NO /DEF:"$(IntDir)tbb.def" %(AdditionalOptions)</AdditionalOptions>
|
||||
<OutputFile>$(OutDir)tbb.dll</OutputFile>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||
<DataExecutionPrevention>
|
||||
</DataExecutionPrevention>
|
||||
<TargetMachine>MachineX64</TargetMachine>
|
||||
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">
|
||||
<ClCompile>
|
||||
<AdditionalOptions> /c /MTd /Od /Ob0 /Zi /EHsc /GR /Zc:forScope /Zc:wchar_t /DTBB_USE_DEBUG /D__TBB_LIB_NAME=tbb_debug.lib /DDO_ITT_NOTIFY /GS /volatile:iso /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0502 /D__TBB_BUILD=1 /W4 /I../../src /I../../src/rml/include /I../../include</AdditionalOptions>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<AdditionalIncludeDirectories>.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<MinimalRebuild>true</MinimalRebuild>
|
||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalOptions>/DLL /MAP /DEBUG /fixed:no /INCREMENTAL:NO /DEF:"$(IntDir)tbb.def" %(AdditionalOptions)</AdditionalOptions>
|
||||
<OutputFile>$(OutDir)tbb_debug.dll</OutputFile>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||
<DataExecutionPrevention>
|
||||
</DataExecutionPrevention>
|
||||
<TargetMachine>MachineX86</TargetMachine>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">
|
||||
<Midl>
|
||||
<TargetEnvironment>X64</TargetEnvironment>
|
||||
</Midl>
|
||||
<ClCompile>
|
||||
<AdditionalOptions> /c /MTd /Od /Ob0 /Zi /EHsc /GR /Zc:forScope /Zc:wchar_t /DTBB_USE_DEBUG /D__TBB_LIB_NAME=tbb_debug.lib /DDO_ITT_NOTIFY /GS /volatile:iso /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0502 /D__TBB_BUILD=1 /W4 /I../../src /I../../src/rml/include /I../../include</AdditionalOptions>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<AdditionalIncludeDirectories>.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<MinimalRebuild>true</MinimalRebuild>
|
||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<ShowIncludes>false</ShowIncludes>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalOptions>/nologo /DLL /MAP /DEBUG /fixed:no /INCREMENTAL:NO /DEF:"$(IntDir)tbb.def" %(AdditionalOptions)</AdditionalOptions>
|
||||
<OutputFile>$(OutDir)tbb_debug.dll</OutputFile>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||
<DataExecutionPrevention>
|
||||
</DataExecutionPrevention>
|
||||
<TargetMachine>MachineX64</TargetMachine>
|
||||
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">
|
||||
<ClCompile>
|
||||
<AdditionalOptions> /c /MT /O2 /Zi /EHsc /GR /Zc:forScope /Zc:wchar_t /D__TBB_LIB_NAME=tbb.lib /DDO_ITT_NOTIFY /GS /volatile:iso /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0502 /D__TBB_BUILD=1 /W4 /I../../src /I../../src/rml/include /I../../include</AdditionalOptions>
|
||||
<AdditionalIncludeDirectories>.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalOptions>/nologo /DLL /MAP /DEBUG /fixed:no /INCREMENTAL:NO /DEF:"$(IntDir)tbb.def" %(AdditionalOptions)</AdditionalOptions>
|
||||
<OutputFile>$(OutDir)tbb.dll</OutputFile>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||
<DataExecutionPrevention>
|
||||
</DataExecutionPrevention>
|
||||
<TargetMachine>MachineX86</TargetMachine>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">
|
||||
<Midl>
|
||||
<TargetEnvironment>X64</TargetEnvironment>
|
||||
</Midl>
|
||||
<ClCompile>
|
||||
<AdditionalOptions> /c /MT /O2 /Zi /EHsc /GR /Zc:forScope /Zc:wchar_t /D__TBB_LIB_NAME=tbb.lib /DDO_ITT_NOTIFY /GS /volatile:iso /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0502 /D__TBB_BUILD=1 /W4 /I../../src /I../../src/rml/include /I../../include</AdditionalOptions>
|
||||
<AdditionalIncludeDirectories>.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalOptions>/nologo /DLL /MAP /DEBUG /fixed:no /INCREMENTAL:NO /DEF:"$(IntDir)tbb.def" %(AdditionalOptions)</AdditionalOptions>
|
||||
<OutputFile>$(OutDir)tbb.dll</OutputFile>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||
<DataExecutionPrevention>
|
||||
</DataExecutionPrevention>
|
||||
<TargetMachine>MachineX64</TargetMachine>
|
||||
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<MASM Include="..\..\src\tbb\ia32-masm\atomic_support.asm">
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">/coff /Zi</AdditionalOptions>
|
||||
<UseSafeExceptionHandlers Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">true</UseSafeExceptionHandlers>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">true</ExcludedFromBuild>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">/coff /Zi</AdditionalOptions>
|
||||
<UseSafeExceptionHandlers Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</UseSafeExceptionHandlers>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">/coff</AdditionalOptions>
|
||||
<UseSafeExceptionHandlers Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">true</UseSafeExceptionHandlers>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">true</ExcludedFromBuild>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">/coff</AdditionalOptions>
|
||||
<UseSafeExceptionHandlers Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</UseSafeExceptionHandlers>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
|
||||
</MASM>
|
||||
<CustomBuild Include="..\..\src\tbb\intel64-masm\atomic_support.asm">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">true</ExcludedFromBuild>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">building atomic_support.obj</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">ml64 /Fo"intel64\Debug-MT\atomic_support.obj" /DUSE_FRAME_POINTER /DEM64T=1 /c /Zi ../../src/tbb/intel64-masm/atomic_support.asm
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">intel64\Debug-MT\atomic_support.obj;%(Outputs)</Outputs>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">building atomic_support.obj</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">ml64 /Fo"intel64\Debug\atomic_support.obj" /DUSE_FRAME_POINTER /DEM64T=1 /c /Zi ../../src/tbb/intel64-masm/atomic_support.asm
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">intel64\Debug\atomic_support.obj;%(Outputs)</Outputs>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">true</ExcludedFromBuild>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">building atomic_support.obj</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">ml64 /Fo"intel64\Release-MT\atomic_support.obj" /DEM64T=1 /c /Zi ../../src/tbb/intel64-masm/atomic_support.asm
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">intel64\Release-MT\atomic_support.obj;%(Outputs)</Outputs>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">building atomic_support.obj</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">ml64 /Fo"intel64\Release\atomic_support.obj" /DEM64T=1 /c /Zi ../../src/tbb/intel64-masm/atomic_support.asm
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">intel64\Release\atomic_support.obj;%(Outputs)</Outputs>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\src\tbb\intel64-masm\intel64_misc.asm">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">true</ExcludedFromBuild>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">building intel64_misc.obj</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">ml64 /Fo"intel64\Debug-MT\intel64_misc.obj" /DUSE_FRAME_POINTER /DEM64T=1 /c /Zi ../../src/tbb/intel64-masm/intel64_misc.asm
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">intel64\Debug-MT\intel64_misc.obj;%(Outputs)</Outputs>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">building intel64_misc.obj</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">ml64 /Fo"intel64\Debug\intel64_misc.obj" /DUSE_FRAME_POINTER /DEM64T=1 /c /Zi ../../src/tbb/intel64-masm/intel64_misc.asm
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">intel64\Debug\intel64_misc.obj;%(Outputs)</Outputs>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">true</ExcludedFromBuild>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">building intel64_misc.obj</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">ml64 /Fo"intel64\Release-MT\intel64_misc.obj" /DEM64T=1 /c /Zi ../../src/tbb/intel64-masm/intel64_misc.asm
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">intel64\Release-MT\intel64_misc.obj;%(Outputs)</Outputs>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">building intel64_misc.obj</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">ml64 /Fo"intel64\Release\intel64_misc.obj" /DEM64T=1 /c /Zi ../../src/tbb/intel64-masm/intel64_misc.asm
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">intel64\Release\intel64_misc.obj;%(Outputs)</Outputs>
|
||||
</CustomBuild>
|
||||
<MASM Include="..\..\src\tbb\ia32-masm\itsx.asm">
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">/coff /Zi</AdditionalOptions>
|
||||
<UseSafeExceptionHandlers Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">true</UseSafeExceptionHandlers>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">true</ExcludedFromBuild>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">/coff /Zi</AdditionalOptions>
|
||||
<UseSafeExceptionHandlers Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</UseSafeExceptionHandlers>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">/coff</AdditionalOptions>
|
||||
<UseSafeExceptionHandlers Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">true</UseSafeExceptionHandlers>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">true</ExcludedFromBuild>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">/coff</AdditionalOptions>
|
||||
<UseSafeExceptionHandlers Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</UseSafeExceptionHandlers>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
|
||||
</MASM>
|
||||
<CustomBuild Include="..\..\src\tbb\intel64-masm\itsx.asm">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">true</ExcludedFromBuild>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">building itsx.obj</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">ml64 /Fo"intel64\Debug-MT\itsx.obj" /DUSE_FRAME_POINTER /DEM64T=1 /c /Zi ../../src/tbb/intel64-masm/itsx.asm
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">intel64\Debug-MT\itsx.obj;%(Outputs)</Outputs>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">building itsx.obj</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">ml64 /Fo"intel64\Debug\itsx.obj" /DUSE_FRAME_POINTER /DEM64T=1 /c /Zi ../../src/tbb/intel64-masm/itsx.asm
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">intel64\Debug\itsx.obj;%(Outputs)</Outputs>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">true</ExcludedFromBuild>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">building itsx.obj</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">ml64 /Fo"intel64\Release-MT\itsx.obj" /DEM64T=1 /c /Zi ../../src/tbb/intel64-masm/itsx.asm
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">intel64\Release-MT\itsx.obj;%(Outputs)</Outputs>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">building itsx.obj</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">ml64 /Fo"intel64\Release\itsx.obj" /DEM64T=1 /c /Zi ../../src/tbb/intel64-masm/itsx.asm
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">intel64\Release\itsx.obj;%(Outputs)</Outputs>
|
||||
</CustomBuild>
|
||||
<MASM Include="..\..\src\tbb\ia32-masm\lock_byte.asm">
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">/coff /Zi</AdditionalOptions>
|
||||
<UseSafeExceptionHandlers Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">true</UseSafeExceptionHandlers>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">true</ExcludedFromBuild>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">/coff /Zi</AdditionalOptions>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">/coff /Zi</AdditionalOptions>
|
||||
<UseSafeExceptionHandlers Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</UseSafeExceptionHandlers>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">/coff /Zi</AdditionalOptions>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">/coff</AdditionalOptions>
|
||||
<UseSafeExceptionHandlers Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">true</UseSafeExceptionHandlers>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">true</ExcludedFromBuild>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">/coff</AdditionalOptions>
|
||||
<UseSafeExceptionHandlers Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</UseSafeExceptionHandlers>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
|
||||
</MASM>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<CustomBuild Include="..\..\src\tbb\win32-tbb-export.def">
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">generating tbb.def file</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">cl /nologo /TC /EP ../../src/tbb/win32-tbb-export.def /DTBB_USE_DEBUG /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 /D__TBB_BUILD=1 /I../../src /I../../include >"$(IntDir)tbb.def"
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">$(IntDir)tbb.def;%(Outputs)</Outputs>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">true</ExcludedFromBuild>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">generating tbb.def file</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">cl /nologo /TC /EP ../../src/tbb/win32-tbb-export.def /DTBB_USE_DEBUG /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 /D__TBB_BUILD=1 >"$(IntDir)tbb.def"
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">$(IntDir)tbb.def;%(Outputs)</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">generating tbb.def file</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">cl /nologo /TC /EP ../../src/tbb/win32-tbb-export.def /DTBB_USE_DEBUG /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 /D__TBB_BUILD=1 /I../../src /I../../include >"$(IntDir)tbb.def"
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(IntDir)tbb.def;%(Outputs)</Outputs>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">generating tbb.def file</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">cl /nologo /TC /EP ../../src/tbb/win32-tbb-export.def /DTBB_USE_DEBUG /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 /D__TBB_BUILD=1 >"$(IntDir)tbb.def"
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(IntDir)tbb.def;%(Outputs)</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">generating tbb.def file</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">cl /nologo /TC /EP ../../src/tbb/win32-tbb-export.def /DTBB_USE_DEBUG /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 /D__TBB_BUILD=1 /I../../src /I../../include >"$(IntDir)tbb.def"
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">$(IntDir)tbb.def;%(Outputs)</Outputs>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">true</ExcludedFromBuild>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">generating tbb.def file</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">cl /nologo /TC /EP ../../src/tbb/win32-tbb-export.def /DTBB_USE_DEBUG /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 /D__TBB_BUILD=1 >"$(IntDir)tbb.def"
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">$(IntDir)tbb.def;%(Outputs)</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">generating tbb.def file</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">cl /nologo /TC /EP ../../src/tbb/win32-tbb-export.def /DTBB_USE_DEBUG /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 /D__TBB_BUILD=1 /I../../src /I../../include >"$(IntDir)tbb.def"
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(IntDir)tbb.def;%(Outputs)</Outputs>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">generating tbb.def file</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">cl /nologo /TC /EP ../../src/tbb/win32-tbb-export.def /DTBB_USE_DEBUG /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 /D__TBB_BUILD=1 >"$(IntDir)tbb.def"
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(IntDir)tbb.def;%(Outputs)</Outputs>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\src\tbb\win64-tbb-export.def">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">true</ExcludedFromBuild>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">generating tbb.def file</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">cl /nologo /TC /EP ../../src/tbb/win64-tbb-export.def /DTBB_USE_DEBUG /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 /D__TBB_BUILD=1 >"$(IntDir)tbb.def"
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">$(IntDir)tbb.def;%(Outputs)</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">generating tbb.def file</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">cl /nologo /TC /EP ../../src/tbb/win64-tbb-export.def /DTBB_USE_DEBUG /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 /D__TBB_BUILD=1 /I../../src /I../../include >"$(IntDir)tbb.def"
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">$(IntDir)tbb.def;%(Outputs)</Outputs>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">generating tbb.def file</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">cl /nologo /TC /EP ../../src/tbb/win64-tbb-export.def /DTBB_USE_DEBUG /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 /D__TBB_BUILD=1 >"$(IntDir)tbb.def"
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(IntDir)tbb.def;%(Outputs)</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">generating tbb.def file</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">cl /nologo /TC /EP ../../src/tbb/win64-tbb-export.def /DTBB_USE_DEBUG /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 /D__TBB_BUILD=1 /I../../src /I../../include >"$(IntDir)tbb.def"
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(IntDir)tbb.def;%(Outputs)</Outputs>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">true</ExcludedFromBuild>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">generating tbb.def file</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">cl /nologo /TC /EP ../../src/tbb/win64-tbb-export.def /DTBB_USE_DEBUG /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 /D__TBB_BUILD=1 >"$(IntDir)tbb.def"
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">$(IntDir)tbb.def;%(Outputs)</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">generating tbb.def file</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">cl /nologo /TC /EP ../../src/tbb/win64-tbb-export.def /DTBB_USE_DEBUG /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 /D__TBB_BUILD=1 /I../../src /I../../include >"$(IntDir)tbb.def"
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">$(IntDir)tbb.def;%(Outputs)</Outputs>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">generating tbb.def file</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">cl /nologo /TC /EP ../../src/tbb/win64-tbb-export.def /DTBB_USE_DEBUG /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 /D__TBB_BUILD=1 >"$(IntDir)tbb.def"
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(IntDir)tbb.def;%(Outputs)</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">generating tbb.def file</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">cl /nologo /TC /EP ../../src/tbb/win64-tbb-export.def /DTBB_USE_DEBUG /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 /D__TBB_BUILD=1 /I../../src /I../../include >"$(IntDir)tbb.def"
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(IntDir)tbb.def;%(Outputs)</Outputs>
|
||||
</CustomBuild>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\src\tbb\concurrent_hash_map.cpp"/>
|
||||
<ClCompile Include="..\..\src\tbb\concurrent_queue.cpp"/>
|
||||
<ClCompile Include="..\..\src\tbb\concurrent_vector.cpp"/>
|
||||
<ClCompile Include="..\..\src\tbb\dynamic_link.cpp"/>
|
||||
<ClCompile Include="..\..\src\tbb\itt_notify.cpp"/>
|
||||
<ClCompile Include="..\..\src\tbb\cache_aligned_allocator.cpp"/>
|
||||
<ClCompile Include="..\..\src\tbb\pipeline.cpp"/>
|
||||
<ClCompile Include="..\..\src\tbb\queuing_mutex.cpp"/>
|
||||
<ClCompile Include="..\..\src\tbb\queuing_rw_mutex.cpp"/>
|
||||
<ClCompile Include="..\..\src\tbb\reader_writer_lock.cpp"/>
|
||||
<ClCompile Include="..\..\src\tbb\spin_rw_mutex.cpp"/>
|
||||
<ClCompile Include="..\..\src\tbb\spin_mutex.cpp"/>
|
||||
<ClCompile Include="..\..\src\tbb\critical_section.cpp"/>
|
||||
<ClCompile Include="..\..\src\tbb\mutex.cpp"/>
|
||||
<ClCompile Include="..\..\src\tbb\recursive_mutex.cpp"/>
|
||||
<ClCompile Include="..\..\src\tbb\condition_variable.cpp"/>
|
||||
<ClCompile Include="..\..\src\tbb\tbb_thread.cpp"/>
|
||||
<ClCompile Include="..\..\src\tbb\concurrent_monitor.cpp"/>
|
||||
<ClCompile Include="..\..\src\tbb\semaphore.cpp"/>
|
||||
<ClCompile Include="..\..\src\tbb\private_server.cpp"/>
|
||||
<ClCompile Include="..\..\src\rml\client\rml_tbb.cpp"/>
|
||||
<ClCompile Include="..\..\src\tbb\tbb_misc.cpp"/>
|
||||
<ClCompile Include="..\..\src\tbb\tbb_misc_ex.cpp"/>
|
||||
<ClCompile Include="..\..\src\tbb\task.cpp"/>
|
||||
<ClCompile Include="..\..\src\tbb\task_group_context.cpp"/>
|
||||
<ClCompile Include="..\..\src\tbb\governor.cpp"/>
|
||||
<ClCompile Include="..\..\src\tbb\market.cpp"/>
|
||||
<ClCompile Include="..\..\src\tbb\arena.cpp"/>
|
||||
<ClCompile Include="..\..\src\tbb\scheduler.cpp"/>
|
||||
<ClCompile Include="..\..\src\tbb\observer_proxy.cpp"/>
|
||||
<ClCompile Include="..\..\src\tbb\tbb_statistics.cpp"/>
|
||||
<ClCompile Include="..\..\src\tbb\tbb_main.cpp"/>
|
||||
<ClCompile Include="..\..\src\old\concurrent_vector_v2.cpp"/>
|
||||
<ClCompile Include="..\..\src\old\concurrent_queue_v2.cpp"/>
|
||||
<ClCompile Include="..\..\src\old\spin_rw_mutex_v2.cpp"/>
|
||||
<ClCompile Include="..\..\src\old\task_v2.cpp"/>
|
||||
<ClCompile Include="..\..\src\tbb\x86_rtm_rw_mutex.cpp"/>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\include\tbb\internal\_concurrent_queue_impl.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\_tbb_windef.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\aligned_space.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\atomic.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\blocked_range.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\blocked_range2d.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\blocked_range3d.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\cache_aligned_allocator.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\combinable.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\concurrent_hash_map.h"/>
|
||||
<ClInclude Include="..\..\src\tbb\concurrent_monitor.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\concurrent_priority_queue.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\concurrent_queue.h"/>
|
||||
<ClInclude Include="..\..\src\old\concurrent_queue_v2.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\concurrent_vector.h"/>
|
||||
<ClInclude Include="..\..\src\old\concurrent_vector_v2.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\critical_section.h"/>
|
||||
<ClInclude Include="..\..\src\tbb\dynamic_link.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\enumerable_thread_specific.h"/>
|
||||
<ClInclude Include="..\..\src\tbb\gate.h"/>
|
||||
<ClInclude Include="..\..\src\test\harness.h"/>
|
||||
<ClInclude Include="..\..\src\test\harness_allocator.h"/>
|
||||
<ClInclude Include="..\..\src\test\harness_assert.h"/>
|
||||
<ClInclude Include="..\..\src\test\harness_bad_expr.h"/>
|
||||
<ClInclude Include="..\..\src\test\harness_barrier.h"/>
|
||||
<ClInclude Include="..\..\src\test\harness_concurrency_tracker.h"/>
|
||||
<ClInclude Include="..\..\src\test\harness_cpu.h"/>
|
||||
<ClInclude Include="..\..\src\test\harness_eh.h"/>
|
||||
<ClInclude Include="..\..\src\test\harness_iterator.h"/>
|
||||
<ClInclude Include="..\..\src\test\harness_m128.h"/>
|
||||
<ClInclude Include="..\..\src\test\harness_memory.h"/>
|
||||
<ClInclude Include="..\..\src\test\harness_report.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\machine\ibm_aix51.h"/>
|
||||
<ClInclude Include="..\..\src\tbb\itt_notify.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\machine\linux_common.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\machine\linux_ia32.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\machine\linux_ia64.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\machine\linux_intel64.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\machine\mac_ppc.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\mutex.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\null_mutex.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\null_rw_mutex.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\parallel_do.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\parallel_for.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\parallel_for_each.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\parallel_invoke.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\parallel_reduce.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\parallel_scan.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\parallel_sort.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\parallel_while.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\partitioner.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\pipeline.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\compat\ppl.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\queuing_mutex.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\queuing_rw_mutex.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\reader_writer_lock.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\recursive_mutex.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\scalable_allocator.h"/>
|
||||
<ClInclude Include="..\..\src\tbb\semaphore.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\spin_mutex.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\spin_rw_mutex.h"/>
|
||||
<ClInclude Include="..\..\src\old\spin_rw_mutex_v2.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\task.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\task_group.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\task_scheduler_init.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\task_scheduler_observer.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\tbb.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\tbb_allocator.h"/>
|
||||
<ClInclude Include="..\..\src\tbb\tbb_assert_impl.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\tbb_config.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\tbb_exception.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\tbb_machine.h"/>
|
||||
<ClInclude Include="..\..\src\tbb\tbb_misc.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\tbb_profiling.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\tbb_stddef.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\tbb_thread.h"/>
|
||||
<ClInclude Include="..\..\src\tbb\tbb_version.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\tbbmalloc_proxy.h"/>
|
||||
<ClInclude Include="..\..\src\test\test_allocator.h"/>
|
||||
<ClInclude Include="..\..\src\test\test_allocator_STL.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\tick_count.h"/>
|
||||
<ClInclude Include="..\..\src\tbb\tls.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\machine\windows_ia32.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\machine\windows_intel64.h"/>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ResourceCompile Include="..\..\src\tbb\tbb_resource.rc">
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">/I../../src /I../../include /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 %(AdditionalOptions)</AdditionalOptions>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">/I../../src /I../../include /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 %(AdditionalOptions)</AdditionalOptions>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">/I../../src /I../../include /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 %(AdditionalOptions)</AdditionalOptions>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">/I../../src /I../../include /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 %(AdditionalOptions)</AdditionalOptions>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">/I../../src /I../../include /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 %(AdditionalOptions)</AdditionalOptions>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">/I../../src /I../../include /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 %(AdditionalOptions)</AdditionalOptions>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">/I../../src /I../../include /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 %(AdditionalOptions)</AdditionalOptions>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">/I../../src /I../../include /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 %(AdditionalOptions)</AdditionalOptions>
|
||||
</ResourceCompile>
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets"/>
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
<Import Project="$(VCTargetsPath)\BuildCustomizations\masm.targets"/>
|
||||
</ImportGroup>
|
||||
</Project>
|
||||
@@ -0,0 +1,584 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug-MT|Win32">
|
||||
<Configuration>Debug-MT</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug-MT|x64">
|
||||
<Configuration>Debug-MT</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|x64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release-MT|Win32">
|
||||
<Configuration>Release-MT</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release-MT|x64">
|
||||
<Configuration>Release-MT</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|Win32">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|x64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{B15F131E-328A-4D42-ADC2-9FF4CA6306D8}</ProjectGuid>
|
||||
<RootNamespace>tbbmalloc</RootNamespace>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props"/>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<CharacterSet>NotSet</CharacterSet>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<CharacterSet>NotSet</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<CharacterSet>NotSet</CharacterSet>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<CharacterSet>NotSet</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<CharacterSet>NotSet</CharacterSet>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<CharacterSet>NotSet</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<CharacterSet>NotSet</CharacterSet>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<CharacterSet>NotSet</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props"/>
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
<Import Project="$(VCTargetsPath)\BuildCustomizations\masm.props"/>
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform"/>
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform"/>
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform"/>
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform"/>
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform"/>
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform"/>
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform"/>
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform"/>
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros"/>
|
||||
<PropertyGroup>
|
||||
<_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)ia32\$(Configuration)\</OutDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)ia32\$(Configuration)\</IntDir>
|
||||
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</LinkIncremental>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)intel64\$(Configuration)\</OutDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)intel64\$(Configuration)\</IntDir>
|
||||
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</LinkIncremental>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)ia32\$(Configuration)\</OutDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)ia32\$(Configuration)\</IntDir>
|
||||
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)intel64\$(Configuration)\</OutDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)intel64\$(Configuration)\</IntDir>
|
||||
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">$(SolutionDir)ia32\$(Configuration)\</OutDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">$(SolutionDir)ia32\$(Configuration)\</IntDir>
|
||||
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">false</LinkIncremental>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">$(SolutionDir)intel64\$(Configuration)\</OutDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">$(SolutionDir)intel64\$(Configuration)\</IntDir>
|
||||
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">false</LinkIncremental>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">$(SolutionDir)ia32\$(Configuration)\</OutDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">$(SolutionDir)ia32\$(Configuration)\</IntDir>
|
||||
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">false</LinkIncremental>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">$(SolutionDir)intel64\$(Configuration)\</OutDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">$(SolutionDir)intel64\$(Configuration)\</IntDir>
|
||||
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">false</LinkIncremental>
|
||||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'"/>
|
||||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'"/>
|
||||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'"/>
|
||||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'"/>
|
||||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"/>
|
||||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"/>
|
||||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"/>
|
||||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"/>
|
||||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'"/>
|
||||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'"/>
|
||||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'"/>
|
||||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'"/>
|
||||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"/>
|
||||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"/>
|
||||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|x64'"/>
|
||||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|x64'"/>
|
||||
<TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(ProjectName)_debug</TargetName>
|
||||
<TargetName Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">$(ProjectName)_debug</TargetName>
|
||||
<TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(ProjectName)_debug</TargetName>
|
||||
<TargetName Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">$(ProjectName)_debug</TargetName>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<AdditionalOptions> /c /MDd /Od /Ob0 /Zi /EHs- /Zc:forScope /Zc:wchar_t /DTBB_USE_DEBUG /D__TBB_LIB_NAME=tbb_debug.lib /DDO_ITT_NOTIFY /GS /volatile:iso /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0502 /D__TBBMALLOC_BUILD=1 /I../../src /I../../src/rml/include /I../../include /I../../src/tbbmalloc /I../../src/tbbmalloc /I.</AdditionalOptions>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<AdditionalIncludeDirectories>.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<MinimalRebuild>true</MinimalRebuild>
|
||||
<ExceptionHandling>
|
||||
</ExceptionHandling>
|
||||
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
|
||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalOptions>/DLL /MAP /DEBUG /fixed:no /INCREMENTAL:NO /DEF:"$(IntDir)tbbmalloc.def" %(AdditionalOptions)</AdditionalOptions>
|
||||
<OutputFile>$(OutDir)tbbmalloc_debug.dll</OutputFile>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||
<DataExecutionPrevention>
|
||||
</DataExecutionPrevention>
|
||||
<TargetMachine>MachineX86</TargetMachine>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<Midl>
|
||||
<TargetEnvironment>X64</TargetEnvironment>
|
||||
</Midl>
|
||||
<ClCompile>
|
||||
<AdditionalOptions> /c /MDd /Od /Ob0 /Zi /EHs- /Zc:forScope /Zc:wchar_t /DTBB_USE_DEBUG /D__TBB_LIB_NAME=tbb_debug.lib /DDO_ITT_NOTIFY /GS /volatile:iso /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0502 /D__TBBMALLOC_BUILD=1 /I../../src /I../../src/rml/include /I../../include /I../../src/tbbmalloc /I../../src/tbbmalloc /I.</AdditionalOptions>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<AdditionalIncludeDirectories>.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<ExceptionHandling>
|
||||
</ExceptionHandling>
|
||||
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
|
||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<ShowIncludes>false</ShowIncludes>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalOptions>/nologo /DLL /MAP /DEBUG /fixed:no /INCREMENTAL:NO /DEF:"$(IntDir)tbbmalloc.def" %(AdditionalOptions)</AdditionalOptions>
|
||||
<OutputFile>$(OutDir)tbbmalloc_debug.dll</OutputFile>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||
<DataExecutionPrevention>
|
||||
</DataExecutionPrevention>
|
||||
<TargetMachine>MachineX64</TargetMachine>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<ClCompile>
|
||||
<AdditionalOptions> /c /MD /O2 /Zi /EHs- /Zc:forScope /Zc:wchar_t /D__TBB_LIB_NAME=tbb.lib /DDO_ITT_NOTIFY /GS /volatile:iso /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0502 /D__TBBMALLOC_BUILD=1 /I../../src /I../../src/rml/include /I../../include /I../../src/tbbmalloc /I../../src/tbbmalloc /I.</AdditionalOptions>
|
||||
<AdditionalIncludeDirectories>.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ExceptionHandling>
|
||||
</ExceptionHandling>
|
||||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalOptions>/nologo /DLL /MAP /DEBUG /fixed:no /INCREMENTAL:NO /DEF:"$(IntDir)tbbmalloc.def" %(AdditionalOptions)</AdditionalOptions>
|
||||
<OutputFile>$(OutDir)tbbmalloc.dll</OutputFile>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||
<DataExecutionPrevention>
|
||||
</DataExecutionPrevention>
|
||||
<TargetMachine>MachineX86</TargetMachine>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<Midl>
|
||||
<TargetEnvironment>X64</TargetEnvironment>
|
||||
</Midl>
|
||||
<ClCompile>
|
||||
<AdditionalOptions> /c /MD /O2 /Zi /EHs- /Zc:forScope /Zc:wchar_t /D__TBB_LIB_NAME=tbb.lib /DDO_ITT_NOTIFY /GS /volatile:iso /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0502 /D__TBBMALLOC_BUILD=1 /I../../src /I../../src/rml/include /I../../include /I../../src/tbbmalloc /I../../src/tbbmalloc /I.</AdditionalOptions>
|
||||
<AdditionalIncludeDirectories>.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ExceptionHandling>
|
||||
</ExceptionHandling>
|
||||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalOptions>/nologo /DLL /MAP /DEBUG /fixed:no /INCREMENTAL:NO /DEF:"$(IntDir)tbbmalloc.def" %(AdditionalOptions)</AdditionalOptions>
|
||||
<OutputFile>$(OutDir)tbbmalloc.dll</OutputFile>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||
<DataExecutionPrevention>
|
||||
</DataExecutionPrevention>
|
||||
<TargetMachine>MachineX64</TargetMachine>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">
|
||||
<ClCompile>
|
||||
<AdditionalOptions> /c /MTd /Od /Ob0 /Zi /EHs- /Zc:forScope /Zc:wchar_t /DTBB_USE_DEBUG /D__TBB_LIB_NAME=tbb_debug.lib /DDO_ITT_NOTIFY /GS /volatile:iso /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0502 /D__TBBMALLOC_BUILD=1 /I../../src /I../../src/rml/include /I../../include /I../../src/tbbmalloc /I../../src/tbbmalloc /I.</AdditionalOptions>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<AdditionalIncludeDirectories>.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<MinimalRebuild>true</MinimalRebuild>
|
||||
<ExceptionHandling>
|
||||
</ExceptionHandling>
|
||||
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
|
||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalOptions>/DLL /MAP /DEBUG /fixed:no /INCREMENTAL:NO /DEF:"$(IntDir)tbbmalloc.def" %(AdditionalOptions)</AdditionalOptions>
|
||||
<OutputFile>$(OutDir)tbbmalloc_debug.dll</OutputFile>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||
<DataExecutionPrevention>
|
||||
</DataExecutionPrevention>
|
||||
<TargetMachine>MachineX86</TargetMachine>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">
|
||||
<Midl>
|
||||
<TargetEnvironment>X64</TargetEnvironment>
|
||||
</Midl>
|
||||
<ClCompile>
|
||||
<AdditionalOptions> /c /MTd /Od /Ob0 /Zi /EHs- /Zc:forScope /Zc:wchar_t /DTBB_USE_DEBUG /D__TBB_LIB_NAME=tbb_debug.lib /DDO_ITT_NOTIFY /GS /volatile:iso /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0502 /D__TBBMALLOC_BUILD=1 /I../../src /I../../src/rml/include /I../../include /I../../src/tbbmalloc /I../../src/tbbmalloc /I.</AdditionalOptions>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<AdditionalIncludeDirectories>.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<ExceptionHandling>
|
||||
</ExceptionHandling>
|
||||
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
|
||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<ShowIncludes>false</ShowIncludes>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalOptions>/nologo /DLL /MAP /DEBUG /fixed:no /INCREMENTAL:NO /DEF:"$(IntDir)tbbmalloc.def" %(AdditionalOptions)</AdditionalOptions>
|
||||
<OutputFile>$(OutDir)tbbmalloc_debug.dll</OutputFile>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||
<DataExecutionPrevention>
|
||||
</DataExecutionPrevention>
|
||||
<TargetMachine>MachineX64</TargetMachine>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">
|
||||
<ClCompile>
|
||||
<AdditionalOptions> /c /MT /O2 /Zi /EHs- /Zc:forScope /Zc:wchar_t /D__TBB_LIB_NAME=tbb.lib /DDO_ITT_NOTIFY /GS /volatile:iso /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0502 /D__TBBMALLOC_BUILD=1 /I../../src /I../../src/rml/include /I../../include /I../../src/tbbmalloc /I../../src/tbbmalloc /I.</AdditionalOptions>
|
||||
<AdditionalIncludeDirectories>.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ExceptionHandling>
|
||||
</ExceptionHandling>
|
||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalOptions>/nologo /DLL /MAP /DEBUG /fixed:no /INCREMENTAL:NO /DEF:"$(IntDir)tbbmalloc.def" %(AdditionalOptions)</AdditionalOptions>
|
||||
<OutputFile>$(OutDir)tbbmalloc.dll</OutputFile>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||
<DataExecutionPrevention>
|
||||
</DataExecutionPrevention>
|
||||
<TargetMachine>MachineX86</TargetMachine>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">
|
||||
<Midl>
|
||||
<TargetEnvironment>X64</TargetEnvironment>
|
||||
</Midl>
|
||||
<ClCompile>
|
||||
<AdditionalOptions> /c /MT /O2 /Zi /EHs- /Zc:forScope /Zc:wchar_t /D__TBB_LIB_NAME=tbb.lib /DDO_ITT_NOTIFY /GS /volatile:iso /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0502 /D__TBBMALLOC_BUILD=1 /I../../src /I../../src/rml/include /I../../include /I../../src/tbbmalloc /I../../src/tbbmalloc /I.</AdditionalOptions>
|
||||
<AdditionalIncludeDirectories>.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ExceptionHandling>
|
||||
</ExceptionHandling>
|
||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalOptions>/nologo /DLL /MAP /DEBUG /fixed:no /INCREMENTAL:NO /DEF:"$(IntDir)tbbmalloc.def" %(AdditionalOptions)</AdditionalOptions>
|
||||
<OutputFile>$(OutDir)tbbmalloc.dll</OutputFile>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||
<DataExecutionPrevention>
|
||||
</DataExecutionPrevention>
|
||||
<TargetMachine>MachineX64</TargetMachine>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<CustomBuild Include="..\..\src\tbb\intel64-masm\atomic_support.asm">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">true</ExcludedFromBuild>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">building atomic_support.obj</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">ml64 /Fo"intel64\Debug-MT\atomic_support.obj" /DUSE_FRAME_POINTER /DEM64T=1 /c /Zi ../../src/tbb/intel64-masm/atomic_support.asm
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">intel64\Debug-MT\atomic_support.obj;%(Outputs)</Outputs>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">building atomic_support.obj</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">ml64 /Fo"intel64\Debug\atomic_support.obj" /DUSE_FRAME_POINTER /DEM64T=1 /c /Zi ../../src/tbb/intel64-masm/atomic_support.asm
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">intel64\Debug\atomic_support.obj;%(Outputs)</Outputs>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">true</ExcludedFromBuild>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">building atomic_support.obj</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">ml64 /Fo"intel64\Release-MT\atomic_support.obj" /DEM64T=1 /c /Zi ../../src/tbb/intel64-masm/atomic_support.asm
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">intel64\Release-MT\atomic_support.obj;%(Outputs)</Outputs>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">building atomic_support.obj</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">ml64 /Fo"intel64\Release\atomic_support.obj" /DEM64T=1 /c /Zi ../../src/tbb/intel64-masm/atomic_support.asm
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">intel64\Release\atomic_support.obj;%(Outputs)</Outputs>
|
||||
</CustomBuild>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<CustomBuild Include="..\..\src\tbbmalloc\win32-tbbmalloc-export.def">
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">generating tbbmalloc.def file</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">cl /nologo /TC /EP ../../src/tbbmalloc/win32-tbbmalloc-export.def /DTBB_USE_DEBUG /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 /D__TBBMALLOC_BUILD=1 >"$(IntDir)tbbmalloc.def"
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">$(IntDir)tbbmalloc.def;%(Outputs)</Outputs>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">true</ExcludedFromBuild>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">generating tbbmalloc.def file</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">cl /nologo /TC /EP ../../src/tbbmalloc/win32-tbbmalloc-export.def /DTBB_USE_DEBUG /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 /D__TBBMALLOC_BUILD=1 >"$(IntDir)tbbmalloc.def"
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">$(IntDir)tbbmalloc.def;%(Outputs)</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">generating tbbmalloc.def file</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">cl /nologo /TC /EP ../../src/tbbmalloc/win32-tbbmalloc-export.def /DTBB_USE_DEBUG /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 /D__TBBMALLOC_BUILD=1 >"$(IntDir)tbbmalloc.def"
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(IntDir)tbbmalloc.def;%(Outputs)</Outputs>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">generating tbbmalloc.def file</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">cl /nologo /TC /EP ../../src/tbbmalloc/win32-tbbmalloc-export.def /DTBB_USE_DEBUG /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 /D__TBBMALLOC_BUILD=1 >"$(IntDir)tbbmalloc.def"
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(IntDir)tbbmalloc.def;%(Outputs)</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">generating tbbmalloc.def file</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">cl /nologo /TC /EP ../../src/tbbmalloc/win32-tbbmalloc-export.def /DTBB_USE_DEBUG /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 /D__TBBMALLOC_BUILD=1 >"$(IntDir)tbbmalloc.def"
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">$(IntDir)tbbmalloc.def;%(Outputs)</Outputs>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">true</ExcludedFromBuild>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">generating tbbmalloc.def file</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">cl /nologo /TC /EP ../../src/tbb/win32-tbbmalloc-export.def /DTBB_USE_DEBUG /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 /D__TBBMALLOC_BUILD=1 >"$(IntDir)tbbmalloc.def"
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">$(IntDir)tbbmalloc.def;%(Outputs)</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">generating tbbmalloc.def file</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">cl /nologo /TC /EP ../../src/tbbmalloc/win32-tbbmalloc-export.def /DTBB_USE_DEBUG /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 /D__TBBMALLOC_BUILD=1 >"$(IntDir)tbbmalloc.def"
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(IntDir)tbbmalloc.def;%(Outputs)</Outputs>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">generating tbbmalloc.def file</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">cl /nologo /TC /EP ../../src/tbb/win32-tbbmalloc-export.def /DTBB_USE_DEBUG /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 /D__TBBMALLOC_BUILD=1 >"$(IntDir)tbbmalloc.def"
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(IntDir)tbbmalloc.def;%(Outputs)</Outputs>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\src\tbbmalloc\win64-tbbmalloc-export.def">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">true</ExcludedFromBuild>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">generating tbbmalloc.def file</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">cl /nologo /TC /EP ../../src/tbb/win64-tbbmalloc-export.def /DTBB_USE_DEBUG /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 /D__TBBMALLOC_BUILD=1 >"$(IntDir)tbbmalloc.def"
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">$(IntDir)tbbmalloc.def;%(Outputs)</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">generating tbbmalloc.def file</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">cl /nologo /TC /EP ../../src/tbbmalloc/win64-tbbmalloc-export.def /DTBB_USE_DEBUG /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 /D__TBBMALLOC_BUILD=1 >"$(IntDir)tbbmalloc.def"
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">$(IntDir)tbbmalloc.def;%(Outputs)</Outputs>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">generating tbbmalloc.def file</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">cl /nologo /TC /EP ../../src/tbb/win64-tbbmalloc-export.def /DTBB_USE_DEBUG /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 /D__TBBMALLOC_BUILD=1 >"$(IntDir)tbbmalloc.def"
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(IntDir)tbbmalloc.def;%(Outputs)</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">generating tbbmalloc.def file</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">cl /nologo /TC /EP ../../src/tbbmalloc/win64-tbbmalloc-export.def /DTBB_USE_DEBUG /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 /D__TBBMALLOC_BUILD=1 >"$(IntDir)tbbmalloc.def"
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(IntDir)tbbmalloc.def;%(Outputs)</Outputs>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">true</ExcludedFromBuild>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">generating tbbmalloc.def file</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">cl /nologo /TC /EP ../../src/tbb/win64-tbbmalloc-export.def /DTBB_USE_DEBUG /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 /D__TBBMALLOC_BUILD=1 >"$(IntDir)tbbmalloc.def"
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">$(IntDir)tbbmalloc.def;%(Outputs)</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">generating tbbmalloc.def file</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">cl /nologo /TC /EP ../../src/tbbmalloc/win64-tbbmalloc-export.def /DTBB_USE_DEBUG /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 /D__TBBMALLOC_BUILD=1 >"$(IntDir)tbbmalloc.def"
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">$(IntDir)tbbmalloc.def;%(Outputs)</Outputs>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">generating tbbmalloc.def file</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">cl /nologo /TC /EP ../../src/tbb/win64-tbbmalloc-export.def /DTBB_USE_DEBUG /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 /D__TBBMALLOC_BUILD=1 >"$(IntDir)tbbmalloc.def"
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(IntDir)tbbmalloc.def;%(Outputs)</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">generating tbbmalloc.def file</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">cl /nologo /TC /EP ../../src/tbbmalloc/win64-tbbmalloc-export.def /DTBB_USE_DEBUG /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 /D__TBBMALLOC_BUILD=1 >"$(IntDir)tbbmalloc.def"
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(IntDir)tbbmalloc.def;%(Outputs)</Outputs>
|
||||
</CustomBuild>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\src\tbbmalloc\backend.cpp"/>
|
||||
<ClCompile Include="..\..\src\tbbmalloc\large_objects.cpp"/>
|
||||
<ClCompile Include="..\..\src\tbbmalloc\backref.cpp"/>
|
||||
<ClCompile Include="..\..\src\tbbmalloc\tbbmalloc.cpp"/>
|
||||
<ClCompile Include="..\..\src\tbb\itt_notify.cpp"/>
|
||||
<ClCompile Include="..\..\src\tbbmalloc\frontend.cpp"/>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\include\tbb\internal\_concurrent_queue_impl.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\_tbb_windef.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\aligned_space.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\atomic.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\blocked_range.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\blocked_range2d.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\blocked_range3d.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\cache_aligned_allocator.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\combinable.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\concurrent_hash_map.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\concurrent_queue.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\concurrent_vector.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\critical_section.h"/>
|
||||
<ClInclude Include="..\..\src\tbbmalloc\Customize.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\enumerable_thread_specific.h"/>
|
||||
<ClInclude Include="..\..\src\tbbmalloc\LifoList.h"/>
|
||||
<ClInclude Include="..\..\src\tbbmalloc\MapMemory.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\mutex.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\null_mutex.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\null_rw_mutex.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\parallel_do.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\parallel_for.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\parallel_for_each.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\parallel_invoke.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\parallel_reduce.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\parallel_scan.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\parallel_sort.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\parallel_while.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\partitioner.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\pipeline.h"/>
|
||||
<ClInclude Include="..\..\src\tbbmalloc\proxy.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\queuing_mutex.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\queuing_rw_mutex.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\recursive_mutex.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\scalable_allocator.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\spin_mutex.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\spin_rw_mutex.h"/>
|
||||
<ClInclude Include="..\..\src\tbbmalloc\Statistics.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\task.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\task_group.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\task_scheduler_init.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\task_scheduler_observer.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\tbb.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\tbb_allocator.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\tbb_config.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\tbb_exception.h"/>
|
||||
<ClInclude Include="..\..\src\tbbmalloc\tbb_function_replacement.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\tbb_machine.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\tbb_profiling.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\tbb_stddef.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\tbb_thread.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\tbb_version.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\tbbmalloc_proxy.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\tick_count.h"/>
|
||||
<ClInclude Include="..\..\src\tbbmalloc\TypeDefinitions.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\machine\windows_ia32.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\machine\windows_intel64.h"/>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ResourceCompile Include="..\..\src\tbbmalloc\tbbmalloc.rc">
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">/I../../src /I../../include /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 %(AdditionalOptions)</AdditionalOptions>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">/I../../src /I../../include /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 %(AdditionalOptions)</AdditionalOptions>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">/I../../src /I../../include /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 %(AdditionalOptions)</AdditionalOptions>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">/I../../src /I../../include /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 %(AdditionalOptions)</AdditionalOptions>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">/I../../src /I../../include /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 %(AdditionalOptions)</AdditionalOptions>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">/I../../src /I../../include /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 %(AdditionalOptions)</AdditionalOptions>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">/I../../src /I../../include /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 %(AdditionalOptions)</AdditionalOptions>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">/I../../src /I../../include /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 %(AdditionalOptions)</AdditionalOptions>
|
||||
</ResourceCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="tbb.vcxproj">
|
||||
<Project>{f62787dd-1327-448b-9818-030062bcfaa5}</Project>
|
||||
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets"/>
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
<Import Project="$(VCTargetsPath)\BuildCustomizations\masm.targets"/>
|
||||
</ImportGroup>
|
||||
</Project>
|
||||
@@ -0,0 +1,421 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug-MT|Win32">
|
||||
<Configuration>Debug-MT</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug-MT|x64">
|
||||
<Configuration>Debug-MT</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|x64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release-MT|Win32">
|
||||
<Configuration>Release-MT</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release-MT|x64">
|
||||
<Configuration>Release-MT</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|Win32">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|x64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{02F61511-D5B6-46E6-B4BB-DEAA96E6BCC7}</ProjectGuid>
|
||||
<RootNamespace>tbbmalloc_proxy</RootNamespace>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props"/>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<CharacterSet>NotSet</CharacterSet>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<CharacterSet>NotSet</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<CharacterSet>NotSet</CharacterSet>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<CharacterSet>NotSet</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<CharacterSet>NotSet</CharacterSet>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<CharacterSet>NotSet</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<CharacterSet>NotSet</CharacterSet>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<CharacterSet>NotSet</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props"/>
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
<Import Project="$(VCTargetsPath)\BuildCustomizations\masm.props"/>
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform"/>
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform"/>
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform"/>
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform"/>
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform"/>
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform"/>
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform"/>
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform"/>
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros"/>
|
||||
<PropertyGroup>
|
||||
<_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)ia32\$(Configuration)\</OutDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)ia32\$(Configuration)\</IntDir>
|
||||
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</LinkIncremental>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)intel64\$(Configuration)\</OutDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)intel64\$(Configuration)\</IntDir>
|
||||
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</LinkIncremental>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)ia32\$(Configuration)\</OutDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)ia32\$(Configuration)\</IntDir>
|
||||
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)intel64\$(Configuration)\</OutDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)intel64\$(Configuration)\</IntDir>
|
||||
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">$(SolutionDir)ia32\$(Configuration)\</OutDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">$(SolutionDir)ia32\$(Configuration)\</IntDir>
|
||||
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">false</LinkIncremental>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">$(SolutionDir)intel64\$(Configuration)\</OutDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">$(SolutionDir)intel64\$(Configuration)\</IntDir>
|
||||
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">false</LinkIncremental>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">$(SolutionDir)ia32\$(Configuration)\</OutDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">$(SolutionDir)ia32\$(Configuration)\</IntDir>
|
||||
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">false</LinkIncremental>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">$(SolutionDir)intel64\$(Configuration)\</OutDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">$(SolutionDir)intel64\$(Configuration)\</IntDir>
|
||||
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">false</LinkIncremental>
|
||||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'"/>
|
||||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'"/>
|
||||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'"/>
|
||||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'"/>
|
||||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"/>
|
||||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"/>
|
||||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"/>
|
||||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"/>
|
||||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'"/>
|
||||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'"/>
|
||||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'"/>
|
||||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'"/>
|
||||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"/>
|
||||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"/>
|
||||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|x64'"/>
|
||||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|x64'"/>
|
||||
<TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(ProjectName)_debug</TargetName>
|
||||
<TargetName Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">$(ProjectName)_debug</TargetName>
|
||||
<TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(ProjectName)_debug</TargetName>
|
||||
<TargetName Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">$(ProjectName)_debug</TargetName>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<AdditionalOptions> /c /MDd /Od /Ob0 /Zi /EHsc /GR /Zc:forScope /Zc:wchar_t /DTBB_USE_DEBUG /D__TBB_LIB_NAME=tbb_debug.lib /DDO_ITT_NOTIFY /GS /volatile:iso /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0502 /W4 /D__TBBMALLOC_BUILD=1 /I../../src /I../../src/rml/include /I../../include /I../../src/tbbmalloc /I../../src/tbbmalloc</AdditionalOptions>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<AdditionalIncludeDirectories>.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<MinimalRebuild>true</MinimalRebuild>
|
||||
<ExceptionHandling>Sync</ExceptionHandling>
|
||||
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
|
||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalOptions>/DLL /MAP /DEBUG /fixed:no /INCREMENTAL:NO %(AdditionalOptions)</AdditionalOptions>
|
||||
<OutputFile>$(OutDir)tbbmalloc_proxy_debug.dll</OutputFile>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||
<DataExecutionPrevention>
|
||||
</DataExecutionPrevention>
|
||||
<TargetMachine>MachineX86</TargetMachine>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<Midl>
|
||||
<TargetEnvironment>X64</TargetEnvironment>
|
||||
</Midl>
|
||||
<ClCompile>
|
||||
<AdditionalOptions> /c /MDd /Od /Ob0 /Zi /EHsc /GR /Zc:forScope /Zc:wchar_t /DTBB_USE_DEBUG /D__TBB_LIB_NAME=tbb_debug.lib /DDO_ITT_NOTIFY /GS /volatile:iso /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0502 /W4 /D__TBBMALLOC_BUILD=1 /I../../src /I../../src/rml/include /I../../include /I../../src/tbbmalloc /I../../src/tbbmalloc</AdditionalOptions>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<AdditionalIncludeDirectories>.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<ExceptionHandling>
|
||||
</ExceptionHandling>
|
||||
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
|
||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<ShowIncludes>false</ShowIncludes>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalOptions>/nologo /DLL /MAP /DEBUG /fixed:no /INCREMENTAL:NO %(AdditionalOptions)</AdditionalOptions>
|
||||
<OutputFile>$(OutDir)tbbmalloc_proxy_debug.dll</OutputFile>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||
<DataExecutionPrevention>
|
||||
</DataExecutionPrevention>
|
||||
<TargetMachine>MachineX64</TargetMachine>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<ClCompile>
|
||||
<AdditionalOptions> /c /MD /O2 /Zi /EHsc /GR /Zc:forScope /Zc:wchar_t /D__TBB_LIB_NAME=tbb.lib /DDO_ITT_NOTIFY /GS /volatile:iso /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0502 /W4 /D__TBBMALLOC_BUILD=1 /I../../src /I../../src/rml/include /I../../include /I../../src/tbbmalloc /I../../src/tbbmalloc</AdditionalOptions>
|
||||
<AdditionalIncludeDirectories>.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ExceptionHandling>
|
||||
</ExceptionHandling>
|
||||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalOptions>/nologo /DLL /MAP /DEBUG /fixed:no /INCREMENTAL:NO %(AdditionalOptions)</AdditionalOptions>
|
||||
<OutputFile>$(OutDir)tbbmalloc_proxy.dll</OutputFile>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||
<DataExecutionPrevention>
|
||||
</DataExecutionPrevention>
|
||||
<TargetMachine>MachineX86</TargetMachine>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<Midl>
|
||||
<TargetEnvironment>X64</TargetEnvironment>
|
||||
</Midl>
|
||||
<ClCompile>
|
||||
<AdditionalOptions> /c /MD /O2 /Zi /EHsc /GR /Zc:forScope /Zc:wchar_t /D__TBB_LIB_NAME=tbb.lib /DDO_ITT_NOTIFY /GS /volatile:iso /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0502 /W4 /D__TBBMALLOC_BUILD=1 /I../../src /I../../src/rml/include /I../../include /I../../src/tbbmalloc /I../../src/tbbmalloc</AdditionalOptions>
|
||||
<AdditionalIncludeDirectories>.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ExceptionHandling>
|
||||
</ExceptionHandling>
|
||||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalOptions>/nologo /DLL /MAP /DEBUG /fixed:no /INCREMENTAL:NO %(AdditionalOptions)</AdditionalOptions>
|
||||
<OutputFile>$(OutDir)tbbmalloc_proxy.dll</OutputFile>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||
<DataExecutionPrevention>
|
||||
</DataExecutionPrevention>
|
||||
<TargetMachine>MachineX64</TargetMachine>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">
|
||||
<ClCompile>
|
||||
<AdditionalOptions> /c /MTd /Od /Ob0 /Zi /EHsc /GR /Zc:forScope /Zc:wchar_t /DTBB_USE_DEBUG /D__TBB_LIB_NAME=tbb_debug.lib /DDO_ITT_NOTIFY /GS /volatile:iso /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0502 /W4 /D__TBBMALLOC_BUILD=1 /I../../src /I../../src/rml/include /I../../include /I../../src/tbbmalloc /I../../src/tbbmalloc</AdditionalOptions>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<AdditionalIncludeDirectories>.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<MinimalRebuild>true</MinimalRebuild>
|
||||
<ExceptionHandling>Sync</ExceptionHandling>
|
||||
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
|
||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalOptions>/DLL /MAP /DEBUG /fixed:no /INCREMENTAL:NO %(AdditionalOptions)</AdditionalOptions>
|
||||
<OutputFile>$(OutDir)tbbmalloc_proxy_debug.dll</OutputFile>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||
<DataExecutionPrevention>
|
||||
</DataExecutionPrevention>
|
||||
<TargetMachine>MachineX86</TargetMachine>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">
|
||||
<Midl>
|
||||
<TargetEnvironment>X64</TargetEnvironment>
|
||||
</Midl>
|
||||
<ClCompile>
|
||||
<AdditionalOptions> /c /MTd /Od /Ob0 /Zi /EHsc /GR /Zc:forScope /Zc:wchar_t /DTBB_USE_DEBUG /D__TBB_LIB_NAME=tbb_debug.lib /DDO_ITT_NOTIFY /GS /volatile:iso /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0502 /W4 /D__TBBMALLOC_BUILD=1 /I../../src /I../../src/rml/include /I../../include /I../../src/tbbmalloc /I../../src/tbbmalloc</AdditionalOptions>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<AdditionalIncludeDirectories>.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<ExceptionHandling>
|
||||
</ExceptionHandling>
|
||||
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
|
||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<ShowIncludes>false</ShowIncludes>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalOptions>/nologo /DLL /MAP /DEBUG /fixed:no /INCREMENTAL:NO %(AdditionalOptions)</AdditionalOptions>
|
||||
<OutputFile>$(OutDir)tbbmalloc_proxy_debug.dll</OutputFile>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||
<DataExecutionPrevention>
|
||||
</DataExecutionPrevention>
|
||||
<TargetMachine>MachineX64</TargetMachine>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">
|
||||
<ClCompile>
|
||||
<AdditionalOptions> /c /MT /O2 /Zi /EHsc /GR /Zc:forScope /Zc:wchar_t /D__TBB_LIB_NAME=tbb.lib /DDO_ITT_NOTIFY /GS /volatile:iso /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0502 /W4 /D__TBBMALLOC_BUILD=1 /I../../src /I../../src/rml/include /I../../include /I../../src/tbbmalloc /I../../src/tbbmalloc</AdditionalOptions>
|
||||
<AdditionalIncludeDirectories>.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ExceptionHandling>
|
||||
</ExceptionHandling>
|
||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalOptions>/nologo /DLL /MAP /DEBUG /fixed:no /INCREMENTAL:NO %(AdditionalOptions)</AdditionalOptions>
|
||||
<OutputFile>$(OutDir)tbbmalloc_proxy.dll</OutputFile>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||
<DataExecutionPrevention>
|
||||
</DataExecutionPrevention>
|
||||
<TargetMachine>MachineX86</TargetMachine>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">
|
||||
<Midl>
|
||||
<TargetEnvironment>X64</TargetEnvironment>
|
||||
</Midl>
|
||||
<ClCompile>
|
||||
<AdditionalOptions> /c /MT /O2 /Zi /EHsc /GR /Zc:forScope /Zc:wchar_t /D__TBB_LIB_NAME=tbb.lib /DDO_ITT_NOTIFY /GS /volatile:iso /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0502 /W4 /D__TBBMALLOC_BUILD=1 /I../../src /I../../src/rml/include /I../../include /I../../src/tbbmalloc /I../../src/tbbmalloc</AdditionalOptions>
|
||||
<AdditionalIncludeDirectories>.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ExceptionHandling>
|
||||
</ExceptionHandling>
|
||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalOptions>/nologo /DLL /MAP /DEBUG /fixed:no /INCREMENTAL:NO %(AdditionalOptions)</AdditionalOptions>
|
||||
<OutputFile>$(OutDir)tbbmalloc_proxy.dll</OutputFile>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||
<DataExecutionPrevention>
|
||||
</DataExecutionPrevention>
|
||||
<TargetMachine>MachineX64</TargetMachine>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\src\tbbmalloc\tbb_function_replacement.h"/>
|
||||
<ClInclude Include="..\..\include\tbb\tbbmalloc_proxy.h"/>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ResourceCompile Include="..\..\src\tbbmalloc\tbbmalloc.rc">
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">/I../../src /I../../include /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 %(AdditionalOptions)</AdditionalOptions>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">/I../../src /I../../include /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 %(AdditionalOptions)</AdditionalOptions>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">/I../../src /I../../include /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 %(AdditionalOptions)</AdditionalOptions>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">/I../../src /I../../include /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 %(AdditionalOptions)</AdditionalOptions>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">/I../../src /I../../include /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 %(AdditionalOptions)</AdditionalOptions>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">/I../../src /I../../include /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 %(AdditionalOptions)</AdditionalOptions>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">/I../../src /I../../include /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 %(AdditionalOptions)</AdditionalOptions>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">/I../../src /I../../include /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 %(AdditionalOptions)</AdditionalOptions>
|
||||
</ResourceCompile>
|
||||
<ClCompile Include="..\..\src\tbbmalloc\proxy.cpp"/>
|
||||
<ClCompile Include="..\..\src\tbbmalloc\tbb_function_replacement.cpp"/>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="tbbmalloc.vcxproj">
|
||||
<Project>{b15f131e-328a-4d42-adc2-9ff4ca6306d8}</Project>
|
||||
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets"/>
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
<Import Project="$(VCTargetsPath)\BuildCustomizations\masm.targets"/>
|
||||
</ImportGroup>
|
||||
</Project>
|
||||
@@ -1,696 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug-MT|Win32">
|
||||
<Configuration>Debug-MT</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug-MT|x64">
|
||||
<Configuration>Debug-MT</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|x64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release-MT|Win32">
|
||||
<Configuration>Release-MT</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release-MT|x64">
|
||||
<Configuration>Release-MT</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|Win32">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|x64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{F62787DD-1327-448B-9818-030062BCFAA5}</ProjectGuid>
|
||||
<RootNamespace>tbb</RootNamespace>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<CharacterSet>NotSet</CharacterSet>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<CharacterSet>NotSet</CharacterSet>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<CharacterSet>NotSet</CharacterSet>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<CharacterSet>NotSet</CharacterSet>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<CharacterSet>NotSet</CharacterSet>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<CharacterSet>NotSet</CharacterSet>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<CharacterSet>NotSet</CharacterSet>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<CharacterSet>NotSet</CharacterSet>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
<Import Project="$(VCTargetsPath)\BuildCustomizations\masm.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup>
|
||||
<_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
|
||||
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</LinkIncremental>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
|
||||
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</LinkIncremental>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
|
||||
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
|
||||
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">$(SolutionDir)$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
|
||||
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">false</LinkIncremental>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">$(SolutionDir)$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
|
||||
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">false</LinkIncremental>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">$(SolutionDir)$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
|
||||
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">false</LinkIncremental>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">$(SolutionDir)$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
|
||||
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">false</LinkIncremental>
|
||||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'" />
|
||||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'" />
|
||||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'" />
|
||||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'" />
|
||||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
|
||||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
|
||||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
|
||||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
|
||||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'" />
|
||||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'" />
|
||||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'" />
|
||||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'" />
|
||||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
|
||||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
|
||||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
|
||||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
|
||||
<TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(ProjectName)_debug</TargetName>
|
||||
<TargetName Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">$(ProjectName)_debug</TargetName>
|
||||
<TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(ProjectName)_debug</TargetName>
|
||||
<TargetName Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">$(ProjectName)_debug</TargetName>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<AdditionalOptions> /c /MDd /Od /Ob0 /Zi /EHsc /GR /Zc:forScope /Zc:wchar_t /DTBB_USE_DEBUG /D__TBB_LIB_NAME=tbb_debug.lib /DDO_ITT_NOTIFY /GS /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0502 /D__TBB_BUILD=1 /W4 /I../../src /I../../src/rml/include /I../../include</AdditionalOptions>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<AdditionalIncludeDirectories>.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<MinimalRebuild>true</MinimalRebuild>
|
||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalOptions>/DLL /MAP /DEBUG /fixed:no /INCREMENTAL:NO /DEF:"$(IntDir)tbb.def" %(AdditionalOptions)</AdditionalOptions>
|
||||
<OutputFile>$(OutDir)tbb_debug.dll</OutputFile>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||
<DataExecutionPrevention>
|
||||
</DataExecutionPrevention>
|
||||
<TargetMachine>MachineX86</TargetMachine>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<Midl>
|
||||
<TargetEnvironment>X64</TargetEnvironment>
|
||||
</Midl>
|
||||
<ClCompile>
|
||||
<AdditionalOptions> /c /MDd /Od /Ob0 /Zi /EHsc /GR /Zc:forScope /Zc:wchar_t /DTBB_USE_DEBUG /D__TBB_LIB_NAME=tbb_debug.lib /DDO_ITT_NOTIFY /GS /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0502 /D__TBB_BUILD=1 /W4 /I../../src /I../../src/rml/include /I../../include</AdditionalOptions>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<AdditionalIncludeDirectories>.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<MinimalRebuild>true</MinimalRebuild>
|
||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<ShowIncludes>false</ShowIncludes>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalOptions>/nologo /DLL /MAP /DEBUG /fixed:no /INCREMENTAL:NO /DEF:"$(IntDir)tbb.def" %(AdditionalOptions)</AdditionalOptions>
|
||||
<OutputFile>$(OutDir)tbb_debug.dll</OutputFile>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||
<DataExecutionPrevention>
|
||||
</DataExecutionPrevention>
|
||||
<TargetMachine>MachineX64</TargetMachine>
|
||||
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<ClCompile>
|
||||
<AdditionalOptions> /c /MD /O2 /Zi /EHsc /GR /Zc:forScope /Zc:wchar_t /D__TBB_LIB_NAME=tbb.lib /DDO_ITT_NOTIFY /GS /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0502 /D__TBB_BUILD=1 /W4 /I../../src /I../../src/rml/include /I../../include</AdditionalOptions>
|
||||
<AdditionalIncludeDirectories>.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalOptions>/nologo /DLL /MAP /DEBUG /fixed:no /INCREMENTAL:NO /DEF:"$(IntDir)tbb.def" %(AdditionalOptions)</AdditionalOptions>
|
||||
<OutputFile>$(OutDir)tbb.dll</OutputFile>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||
<DataExecutionPrevention>
|
||||
</DataExecutionPrevention>
|
||||
<TargetMachine>MachineX86</TargetMachine>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<Midl>
|
||||
<TargetEnvironment>X64</TargetEnvironment>
|
||||
</Midl>
|
||||
<ClCompile>
|
||||
<AdditionalOptions> /c /MD /O2 /Zi /EHsc /GR /Zc:forScope /Zc:wchar_t /D__TBB_LIB_NAME=tbb.lib /DDO_ITT_NOTIFY /GS /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0502 /D__TBB_BUILD=1 /W4 /I../../src /I../../src/rml/include /I../../include</AdditionalOptions>
|
||||
<AdditionalIncludeDirectories>.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalOptions>/nologo /DLL /MAP /DEBUG /fixed:no /INCREMENTAL:NO /DEF:"$(IntDir)tbb.def" %(AdditionalOptions)</AdditionalOptions>
|
||||
<OutputFile>$(OutDir)tbb.dll</OutputFile>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||
<DataExecutionPrevention>
|
||||
</DataExecutionPrevention>
|
||||
<TargetMachine>MachineX64</TargetMachine>
|
||||
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">
|
||||
<ClCompile>
|
||||
<AdditionalOptions> /c /MTd /Od /Ob0 /Zi /EHsc /GR /Zc:forScope /Zc:wchar_t /DTBB_USE_DEBUG /D__TBB_LIB_NAME=tbb_debug.lib /DDO_ITT_NOTIFY /GS /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0502 /D__TBB_BUILD=1 /W4 /I../../src /I../../src/rml/include /I../../include</AdditionalOptions>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<AdditionalIncludeDirectories>.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<MinimalRebuild>true</MinimalRebuild>
|
||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalOptions>/DLL /MAP /DEBUG /fixed:no /INCREMENTAL:NO /DEF:"$(IntDir)tbb.def" %(AdditionalOptions)</AdditionalOptions>
|
||||
<OutputFile>$(OutDir)tbb_debug.dll</OutputFile>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||
<DataExecutionPrevention>
|
||||
</DataExecutionPrevention>
|
||||
<TargetMachine>MachineX86</TargetMachine>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">
|
||||
<Midl>
|
||||
<TargetEnvironment>X64</TargetEnvironment>
|
||||
</Midl>
|
||||
<ClCompile>
|
||||
<AdditionalOptions> /c /MTd /Od /Ob0 /Zi /EHsc /GR /Zc:forScope /Zc:wchar_t /DTBB_USE_DEBUG /D__TBB_LIB_NAME=tbb_debug.lib /DDO_ITT_NOTIFY /GS /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0502 /D__TBB_BUILD=1 /W4 /I../../src /I../../src/rml/include /I../../include</AdditionalOptions>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<AdditionalIncludeDirectories>.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<MinimalRebuild>true</MinimalRebuild>
|
||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<ShowIncludes>false</ShowIncludes>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalOptions>/nologo /DLL /MAP /DEBUG /fixed:no /INCREMENTAL:NO /DEF:"$(IntDir)tbb.def" %(AdditionalOptions)</AdditionalOptions>
|
||||
<OutputFile>$(OutDir)tbb_debug.dll</OutputFile>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||
<DataExecutionPrevention>
|
||||
</DataExecutionPrevention>
|
||||
<TargetMachine>MachineX64</TargetMachine>
|
||||
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">
|
||||
<ClCompile>
|
||||
<AdditionalOptions> /c /MT /O2 /Zi /EHsc /GR /Zc:forScope /Zc:wchar_t /D__TBB_LIB_NAME=tbb.lib /DDO_ITT_NOTIFY /GS /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0502 /D__TBB_BUILD=1 /W4 /I../../src /I../../src/rml/include /I../../include</AdditionalOptions>
|
||||
<AdditionalIncludeDirectories>.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalOptions>/nologo /DLL /MAP /DEBUG /fixed:no /INCREMENTAL:NO /DEF:"$(IntDir)tbb.def" %(AdditionalOptions)</AdditionalOptions>
|
||||
<OutputFile>$(OutDir)tbb.dll</OutputFile>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||
<DataExecutionPrevention>
|
||||
</DataExecutionPrevention>
|
||||
<TargetMachine>MachineX86</TargetMachine>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">
|
||||
<Midl>
|
||||
<TargetEnvironment>X64</TargetEnvironment>
|
||||
</Midl>
|
||||
<ClCompile>
|
||||
<AdditionalOptions> /c /MT /O2 /Zi /EHsc /GR /Zc:forScope /Zc:wchar_t /D__TBB_LIB_NAME=tbb.lib /DDO_ITT_NOTIFY /GS /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0502 /D__TBB_BUILD=1 /W4 /I../../src /I../../src/rml/include /I../../include</AdditionalOptions>
|
||||
<AdditionalIncludeDirectories>.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalOptions>/nologo /DLL /MAP /DEBUG /fixed:no /INCREMENTAL:NO /DEF:"$(IntDir)tbb.def" %(AdditionalOptions)</AdditionalOptions>
|
||||
<OutputFile>$(OutDir)tbb.dll</OutputFile>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||
<DataExecutionPrevention>
|
||||
</DataExecutionPrevention>
|
||||
<TargetMachine>MachineX64</TargetMachine>
|
||||
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<MASM Include="..\..\src\tbb\ia32-masm\atomic_support.asm">
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">/coff /Zi</AdditionalOptions>
|
||||
<UseSafeExceptionHandlers Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">true</UseSafeExceptionHandlers>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">true</ExcludedFromBuild>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">/coff /Zi</AdditionalOptions>
|
||||
<UseSafeExceptionHandlers Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</UseSafeExceptionHandlers>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">/coff</AdditionalOptions>
|
||||
<UseSafeExceptionHandlers Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">true</UseSafeExceptionHandlers>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">true</ExcludedFromBuild>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">/coff</AdditionalOptions>
|
||||
<UseSafeExceptionHandlers Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</UseSafeExceptionHandlers>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
|
||||
</MASM>
|
||||
<CustomBuild Include="..\..\src\tbb\intel64-masm\atomic_support.asm">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">true</ExcludedFromBuild>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">building atomic_support.obj</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">ml64 /Fo"$(IntDir)%(FileName).obj" /DUSE_FRAME_POINTER /DEM64T=1 /c /Zi ../../src/tbb/intel64-masm/atomic_support.asm</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">$(IntDir)%(FileName).obj;%(Outputs)</Outputs>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">building atomic_support.obj</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">ml64 /Fo"$(IntDir)%(FileName).obj" /DUSE_FRAME_POINTER /DEM64T=1 /c /Zi ../../src/tbb/intel64-masm/atomic_support.asm</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(IntDir)%(FileName).obj;%(Outputs)</Outputs>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">true</ExcludedFromBuild>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">building atomic_support.obj</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">ml64 /Fo"$(IntDir)%(FileName).obj" /DEM64T=1 /c /Zi ../../src/tbb/intel64-masm/atomic_support.asm</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">$(IntDir)%(FileName).obj;%(Outputs)</Outputs>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">building atomic_support.obj</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">ml64 /Fo"$(IntDir)%(FileName).obj" /DEM64T=1 /c /Zi ../../src/tbb/intel64-masm/atomic_support.asm</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(IntDir)%(FileName).obj;%(Outputs)</Outputs>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\src\tbb\intel64-masm\intel64_misc.asm">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">true</ExcludedFromBuild>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">building intel64_misc.obj</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">ml64 /Fo"$(IntDir)%(FileName).obj" /DUSE_FRAME_POINTER /DEM64T=1 /c /Zi ../../src/tbb/intel64-masm/intel64_misc.asm</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">$(IntDir)%(FileName).obj;%(Outputs)</Outputs>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">building intel64_misc.obj</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">ml64 /Fo"$(IntDir)%(FileName).obj" /DUSE_FRAME_POINTER /DEM64T=1 /c /Zi ../../src/tbb/intel64-masm/intel64_misc.asm</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(IntDir)%(FileName).obj;%(Outputs)</Outputs>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">true</ExcludedFromBuild>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">building intel64_misc.obj</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">ml64 /Fo"$(IntDir)%(FileName).obj" /DEM64T=1 /c /Zi ../../src/tbb/intel64-masm/intel64_misc.asm</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">$(IntDir)%(FileName).obj;%(Outputs)</Outputs>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">building intel64_misc.obj</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">ml64 /Fo"$(IntDir)%(FileName).obj" /DEM64T=1 /c /Zi ../../src/tbb/intel64-masm/intel64_misc.asm</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(IntDir)%(FileName).obj;%(Outputs)</Outputs>
|
||||
</CustomBuild>
|
||||
<MASM Include="..\..\src\tbb\ia32-masm\itsx.asm">
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">/coff /Zi</AdditionalOptions>
|
||||
<UseSafeExceptionHandlers Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">true</UseSafeExceptionHandlers>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">true</ExcludedFromBuild>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">/coff /Zi</AdditionalOptions>
|
||||
<UseSafeExceptionHandlers Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</UseSafeExceptionHandlers>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">/coff</AdditionalOptions>
|
||||
<UseSafeExceptionHandlers Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">true</UseSafeExceptionHandlers>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">true</ExcludedFromBuild>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">/coff</AdditionalOptions>
|
||||
<UseSafeExceptionHandlers Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</UseSafeExceptionHandlers>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
|
||||
</MASM>
|
||||
<CustomBuild Include="..\..\src\tbb\intel64-masm\itsx.asm">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">true</ExcludedFromBuild>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">building itsx.obj</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">ml64 /Fo"$(IntDir)%(FileName).obj" /DUSE_FRAME_POINTER /DEM64T=1 /c /Zi ../../src/tbb/intel64-masm/itsx.asm</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">$(IntDir)%(FileName).obj;%(Outputs)</Outputs>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">building itsx.obj</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">ml64 /Fo"$(IntDir)%(FileName).obj" /DUSE_FRAME_POINTER /DEM64T=1 /c /Zi ../../src/tbb/intel64-masm/itsx.asm</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(IntDir)%(FileName).obj;%(Outputs)</Outputs>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">true</ExcludedFromBuild>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">building itsx.obj</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">ml64 /Fo"$(IntDir)%(FileName).obj" /DEM64T=1 /c /Zi ../../src/tbb/intel64-masm/itsx.asm</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">$(IntDir)%(FileName).obj;%(Outputs)</Outputs>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">building itsx.obj</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">ml64 /Fo"$(IntDir)%(FileName).obj" /DEM64T=1 /c /Zi ../../src/tbb/intel64-masm/itsx.asm</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(IntDir)%(FileName).obj;%(Outputs)</Outputs>
|
||||
</CustomBuild>
|
||||
<MASM Include="..\..\src\tbb\ia32-masm\lock_byte.asm">
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">/coff /Zi</AdditionalOptions>
|
||||
<UseSafeExceptionHandlers Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">true</UseSafeExceptionHandlers>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">true</ExcludedFromBuild>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">/coff /Zi</AdditionalOptions>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">/coff /Zi</AdditionalOptions>
|
||||
<UseSafeExceptionHandlers Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</UseSafeExceptionHandlers>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">/coff /Zi</AdditionalOptions>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">/coff</AdditionalOptions>
|
||||
<UseSafeExceptionHandlers Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">true</UseSafeExceptionHandlers>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">true</ExcludedFromBuild>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">/coff</AdditionalOptions>
|
||||
<UseSafeExceptionHandlers Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</UseSafeExceptionHandlers>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
|
||||
</MASM>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<CustomBuild Include="..\..\src\tbb\win32-tbb-export.def">
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">generating tbb.def file</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">cl /nologo /TC /EP ../../src/tbb/win32-tbb-export.def /DTBB_USE_DEBUG /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 /D__TBB_BUILD=1 /I../../src /I../../include >"$(IntDir)tbb.def"
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">$(IntDir)tbb.def;%(Outputs)</Outputs>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">true</ExcludedFromBuild>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">generating tbb.def file</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">cl /nologo /TC /EP ../../src/tbb/win32-tbb-export.def /DTBB_USE_DEBUG /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 /D__TBB_BUILD=1 >"$(IntDir)tbb.def"
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">$(IntDir)tbb.def;%(Outputs)</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">generating tbb.def file</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">cl /nologo /TC /EP ../../src/tbb/win32-tbb-export.def /DTBB_USE_DEBUG /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 /D__TBB_BUILD=1 /I../../src /I../../include >"$(IntDir)tbb.def"
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(IntDir)tbb.def;%(Outputs)</Outputs>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">generating tbb.def file</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">cl /nologo /TC /EP ../../src/tbb/win32-tbb-export.def /DTBB_USE_DEBUG /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 /D__TBB_BUILD=1 >"$(IntDir)tbb.def"
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(IntDir)tbb.def;%(Outputs)</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">generating tbb.def file</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">cl /nologo /TC /EP ../../src/tbb/win32-tbb-export.def /DTBB_USE_DEBUG /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 /D__TBB_BUILD=1 /I../../src /I../../include >"$(IntDir)tbb.def"
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">$(IntDir)tbb.def;%(Outputs)</Outputs>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">true</ExcludedFromBuild>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">generating tbb.def file</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">cl /nologo /TC /EP ../../src/tbb/win32-tbb-export.def /DTBB_USE_DEBUG /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 /D__TBB_BUILD=1 >"$(IntDir)tbb.def"
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">$(IntDir)tbb.def;%(Outputs)</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">generating tbb.def file</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">cl /nologo /TC /EP ../../src/tbb/win32-tbb-export.def /DTBB_USE_DEBUG /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 /D__TBB_BUILD=1 /I../../src /I../../include >"$(IntDir)tbb.def"
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(IntDir)tbb.def;%(Outputs)</Outputs>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">generating tbb.def file</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">cl /nologo /TC /EP ../../src/tbb/win32-tbb-export.def /DTBB_USE_DEBUG /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 /D__TBB_BUILD=1 >"$(IntDir)tbb.def"
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(IntDir)tbb.def;%(Outputs)</Outputs>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\src\tbb\win64-tbb-export.def">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">true</ExcludedFromBuild>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">generating tbb.def file</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">cl /nologo /TC /EP ../../src/tbb/win64-tbb-export.def /DTBB_USE_DEBUG /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 /D__TBB_BUILD=1 >"$(IntDir)tbb.def"
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">$(IntDir)tbb.def;%(Outputs)</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">generating tbb.def file</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">cl /nologo /TC /EP ../../src/tbb/win64-tbb-export.def /DTBB_USE_DEBUG /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 /D__TBB_BUILD=1 /I../../src /I../../include >"$(IntDir)tbb.def"
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">$(IntDir)tbb.def;%(Outputs)</Outputs>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">generating tbb.def file</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">cl /nologo /TC /EP ../../src/tbb/win64-tbb-export.def /DTBB_USE_DEBUG /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 /D__TBB_BUILD=1 >"$(IntDir)tbb.def"
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(IntDir)tbb.def;%(Outputs)</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">generating tbb.def file</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">cl /nologo /TC /EP ../../src/tbb/win64-tbb-export.def /DTBB_USE_DEBUG /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 /D__TBB_BUILD=1 /I../../src /I../../include >"$(IntDir)tbb.def"
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(IntDir)tbb.def;%(Outputs)</Outputs>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">true</ExcludedFromBuild>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">generating tbb.def file</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">cl /nologo /TC /EP ../../src/tbb/win64-tbb-export.def /DTBB_USE_DEBUG /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 /D__TBB_BUILD=1 >"$(IntDir)tbb.def"
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">$(IntDir)tbb.def;%(Outputs)</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">generating tbb.def file</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">cl /nologo /TC /EP ../../src/tbb/win64-tbb-export.def /DTBB_USE_DEBUG /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 /D__TBB_BUILD=1 /I../../src /I../../include >"$(IntDir)tbb.def"
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">$(IntDir)tbb.def;%(Outputs)</Outputs>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">generating tbb.def file</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">cl /nologo /TC /EP ../../src/tbb/win64-tbb-export.def /DTBB_USE_DEBUG /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 /D__TBB_BUILD=1 >"$(IntDir)tbb.def"
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(IntDir)tbb.def;%(Outputs)</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">generating tbb.def file</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">cl /nologo /TC /EP ../../src/tbb/win64-tbb-export.def /DTBB_USE_DEBUG /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 /D__TBB_BUILD=1 /I../../src /I../../include >"$(IntDir)tbb.def"
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(IntDir)tbb.def;%(Outputs)</Outputs>
|
||||
</CustomBuild>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\src\tbb\concurrent_hash_map.cpp" />
|
||||
<ClCompile Include="..\..\src\tbb\concurrent_queue.cpp" />
|
||||
<ClCompile Include="..\..\src\tbb\concurrent_vector.cpp" />
|
||||
<ClCompile Include="..\..\src\tbb\dynamic_link.cpp" />
|
||||
<ClCompile Include="..\..\src\tbb\itt_notify.cpp" />
|
||||
<ClCompile Include="..\..\src\tbb\cache_aligned_allocator.cpp" />
|
||||
<ClCompile Include="..\..\src\tbb\pipeline.cpp" />
|
||||
<ClCompile Include="..\..\src\tbb\queuing_mutex.cpp" />
|
||||
<ClCompile Include="..\..\src\tbb\queuing_rw_mutex.cpp" />
|
||||
<ClCompile Include="..\..\src\tbb\reader_writer_lock.cpp" />
|
||||
<ClCompile Include="..\..\src\tbb\spin_rw_mutex.cpp" />
|
||||
<ClCompile Include="..\..\src\tbb\x86_rtm_rw_mutex.cpp" />
|
||||
<ClCompile Include="..\..\src\tbb\spin_mutex.cpp" />
|
||||
<ClCompile Include="..\..\src\tbb\critical_section.cpp" />
|
||||
<ClCompile Include="..\..\src\tbb\mutex.cpp" />
|
||||
<ClCompile Include="..\..\src\tbb\recursive_mutex.cpp" />
|
||||
<ClCompile Include="..\..\src\tbb\condition_variable.cpp" />
|
||||
<ClCompile Include="..\..\src\tbb\tbb_thread.cpp" />
|
||||
<ClCompile Include="..\..\src\tbb\concurrent_monitor.cpp" />
|
||||
<ClCompile Include="..\..\src\tbb\semaphore.cpp" />
|
||||
<ClCompile Include="..\..\src\tbb\private_server.cpp" />
|
||||
<ClCompile Include="..\..\src\rml\client\rml_tbb.cpp" />
|
||||
<ClCompile Include="..\..\src\tbb\tbb_misc.cpp" />
|
||||
<ClCompile Include="..\..\src\tbb\tbb_misc_ex.cpp" />
|
||||
<ClCompile Include="..\..\src\tbb\task.cpp" />
|
||||
<ClCompile Include="..\..\src\tbb\task_group_context.cpp" />
|
||||
<ClCompile Include="..\..\src\tbb\governor.cpp" />
|
||||
<ClCompile Include="..\..\src\tbb\market.cpp" />
|
||||
<ClCompile Include="..\..\src\tbb\arena.cpp" />
|
||||
<ClCompile Include="..\..\src\tbb\scheduler.cpp" />
|
||||
<ClCompile Include="..\..\src\tbb\observer_proxy.cpp" />
|
||||
<ClCompile Include="..\..\src\tbb\tbb_statistics.cpp" />
|
||||
<ClCompile Include="..\..\src\tbb\tbb_main.cpp" />
|
||||
<ClCompile Include="..\..\src\old\concurrent_vector_v2.cpp" />
|
||||
<ClCompile Include="..\..\src\old\concurrent_queue_v2.cpp" />
|
||||
<ClCompile Include="..\..\src\old\spin_rw_mutex_v2.cpp" />
|
||||
<ClCompile Include="..\..\src\old\task_v2.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\include\tbb\internal\_concurrent_queue_impl.h" />
|
||||
<ClInclude Include="..\..\include\tbb\_tbb_windef.h" />
|
||||
<ClInclude Include="..\..\include\tbb\aligned_space.h" />
|
||||
<ClInclude Include="..\..\include\tbb\atomic.h" />
|
||||
<ClInclude Include="..\..\include\tbb\blocked_range.h" />
|
||||
<ClInclude Include="..\..\include\tbb\blocked_range2d.h" />
|
||||
<ClInclude Include="..\..\include\tbb\blocked_range3d.h" />
|
||||
<ClInclude Include="..\..\include\tbb\cache_aligned_allocator.h" />
|
||||
<ClInclude Include="..\..\include\tbb\combinable.h" />
|
||||
<ClInclude Include="..\..\include\tbb\concurrent_hash_map.h" />
|
||||
<ClInclude Include="..\..\src\tbb\concurrent_monitor.h" />
|
||||
<ClInclude Include="..\..\include\tbb\concurrent_priority_queue.h" />
|
||||
<ClInclude Include="..\..\include\tbb\concurrent_queue.h" />
|
||||
<ClInclude Include="..\..\src\old\concurrent_queue_v2.h" />
|
||||
<ClInclude Include="..\..\include\tbb\concurrent_vector.h" />
|
||||
<ClInclude Include="..\..\src\old\concurrent_vector_v2.h" />
|
||||
<ClInclude Include="..\..\include\tbb\critical_section.h" />
|
||||
<ClInclude Include="..\..\src\tbb\dynamic_link.h" />
|
||||
<ClInclude Include="..\..\include\tbb\enumerable_thread_specific.h" />
|
||||
<ClInclude Include="..\..\src\tbb\gate.h" />
|
||||
<ClInclude Include="..\..\src\test\harness.h" />
|
||||
<ClInclude Include="..\..\src\test\harness_allocator.h" />
|
||||
<ClInclude Include="..\..\src\test\harness_assert.h" />
|
||||
<ClInclude Include="..\..\src\test\harness_bad_expr.h" />
|
||||
<ClInclude Include="..\..\src\test\harness_barrier.h" />
|
||||
<ClInclude Include="..\..\src\test\harness_concurrency_tracker.h" />
|
||||
<ClInclude Include="..\..\src\test\harness_cpu.h" />
|
||||
<ClInclude Include="..\..\src\test\harness_eh.h" />
|
||||
<ClInclude Include="..\..\src\test\harness_iterator.h" />
|
||||
<ClInclude Include="..\..\src\test\harness_m128.h" />
|
||||
<ClInclude Include="..\..\src\test\harness_memory.h" />
|
||||
<ClInclude Include="..\..\src\test\harness_report.h" />
|
||||
<ClInclude Include="..\..\include\tbb\machine\ibm_aix51.h" />
|
||||
<ClInclude Include="..\..\src\tbb\itt_notify.h" />
|
||||
<ClInclude Include="..\..\include\tbb\machine\linux_common.h" />
|
||||
<ClInclude Include="..\..\include\tbb\machine\linux_ia32.h" />
|
||||
<ClInclude Include="..\..\include\tbb\machine\linux_ia64.h" />
|
||||
<ClInclude Include="..\..\include\tbb\machine\linux_intel64.h" />
|
||||
<ClInclude Include="..\..\include\tbb\machine\mac_ppc.h" />
|
||||
<ClInclude Include="..\..\include\tbb\mutex.h" />
|
||||
<ClInclude Include="..\..\include\tbb\null_mutex.h" />
|
||||
<ClInclude Include="..\..\include\tbb\null_rw_mutex.h" />
|
||||
<ClInclude Include="..\..\include\tbb\parallel_do.h" />
|
||||
<ClInclude Include="..\..\include\tbb\parallel_for.h" />
|
||||
<ClInclude Include="..\..\include\tbb\parallel_for_each.h" />
|
||||
<ClInclude Include="..\..\include\tbb\parallel_invoke.h" />
|
||||
<ClInclude Include="..\..\include\tbb\parallel_reduce.h" />
|
||||
<ClInclude Include="..\..\include\tbb\parallel_scan.h" />
|
||||
<ClInclude Include="..\..\include\tbb\parallel_sort.h" />
|
||||
<ClInclude Include="..\..\include\tbb\parallel_while.h" />
|
||||
<ClInclude Include="..\..\include\tbb\partitioner.h" />
|
||||
<ClInclude Include="..\..\include\tbb\pipeline.h" />
|
||||
<ClInclude Include="..\..\include\tbb\compat\ppl.h" />
|
||||
<ClInclude Include="..\..\include\tbb\queuing_mutex.h" />
|
||||
<ClInclude Include="..\..\include\tbb\queuing_rw_mutex.h" />
|
||||
<ClInclude Include="..\..\include\tbb\reader_writer_lock.h" />
|
||||
<ClInclude Include="..\..\include\tbb\recursive_mutex.h" />
|
||||
<ClInclude Include="..\..\include\tbb\scalable_allocator.h" />
|
||||
<ClInclude Include="..\..\src\tbb\semaphore.h" />
|
||||
<ClInclude Include="..\..\include\tbb\spin_mutex.h" />
|
||||
<ClInclude Include="..\..\include\tbb\spin_rw_mutex.h" />
|
||||
<ClInclude Include="..\..\src\old\spin_rw_mutex_v2.h" />
|
||||
<ClInclude Include="..\..\include\tbb\task.h" />
|
||||
<ClInclude Include="..\..\include\tbb\task_group.h" />
|
||||
<ClInclude Include="..\..\include\tbb\task_scheduler_init.h" />
|
||||
<ClInclude Include="..\..\include\tbb\task_scheduler_observer.h" />
|
||||
<ClInclude Include="..\..\include\tbb\tbb.h" />
|
||||
<ClInclude Include="..\..\include\tbb\tbb_allocator.h" />
|
||||
<ClInclude Include="..\..\src\tbb\tbb_assert_impl.h" />
|
||||
<ClInclude Include="..\..\include\tbb\tbb_config.h" />
|
||||
<ClInclude Include="..\..\include\tbb\tbb_exception.h" />
|
||||
<ClInclude Include="..\..\include\tbb\tbb_machine.h" />
|
||||
<ClInclude Include="..\..\src\tbb\tbb_misc.h" />
|
||||
<ClInclude Include="..\..\include\tbb\tbb_profiling.h" />
|
||||
<ClInclude Include="..\..\include\tbb\tbb_stddef.h" />
|
||||
<ClInclude Include="..\..\include\tbb\tbb_thread.h" />
|
||||
<ClInclude Include="..\..\src\tbb\tbb_version.h" />
|
||||
<ClInclude Include="..\..\include\tbb\tbbmalloc_proxy.h" />
|
||||
<ClInclude Include="..\..\src\test\test_allocator.h" />
|
||||
<ClInclude Include="..\..\src\test\test_allocator_STL.h" />
|
||||
<ClInclude Include="..\..\include\tbb\tick_count.h" />
|
||||
<ClInclude Include="..\..\src\tbb\tls.h" />
|
||||
<ClInclude Include="..\..\include\tbb\machine\windows_ia32.h" />
|
||||
<ClInclude Include="..\..\include\tbb\machine\windows_intel64.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ResourceCompile Include="..\..\src\tbb\tbb_resource.rc">
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">/I../../src /I../../include /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 %(AdditionalOptions)</AdditionalOptions>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">/I../../src /I../../include /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 %(AdditionalOptions)</AdditionalOptions>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">/I../../src /I../../include /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 %(AdditionalOptions)</AdditionalOptions>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">/I../../src /I../../include /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 %(AdditionalOptions)</AdditionalOptions>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">/I../../src /I../../include /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 %(AdditionalOptions)</AdditionalOptions>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">/I../../src /I../../include /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 %(AdditionalOptions)</AdditionalOptions>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">/I../../src /I../../include /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 %(AdditionalOptions)</AdditionalOptions>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">/I../../src /I../../include /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 %(AdditionalOptions)</AdditionalOptions>
|
||||
</ResourceCompile>
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
<Import Project="$(VCTargetsPath)\BuildCustomizations\masm.targets" />
|
||||
</ImportGroup>
|
||||
</Project>
|
||||
@@ -1,558 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug-MT|Win32">
|
||||
<Configuration>Debug-MT</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug-MT|x64">
|
||||
<Configuration>Debug-MT</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|x64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release-MT|Win32">
|
||||
<Configuration>Release-MT</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release-MT|x64">
|
||||
<Configuration>Release-MT</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|Win32">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|x64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{B15F131E-328A-4D42-ADC2-9FF4CA6306D8}</ProjectGuid>
|
||||
<RootNamespace>tbbmalloc</RootNamespace>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<CharacterSet>NotSet</CharacterSet>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<CharacterSet>NotSet</CharacterSet>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<CharacterSet>NotSet</CharacterSet>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<CharacterSet>NotSet</CharacterSet>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<CharacterSet>NotSet</CharacterSet>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<CharacterSet>NotSet</CharacterSet>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<CharacterSet>NotSet</CharacterSet>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<CharacterSet>NotSet</CharacterSet>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
<Import Project="$(VCTargetsPath)\BuildCustomizations\masm.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup>
|
||||
<_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
|
||||
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</LinkIncremental>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
|
||||
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</LinkIncremental>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
|
||||
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
|
||||
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">$(SolutionDir)$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
|
||||
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">false</LinkIncremental>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">$(SolutionDir)$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
|
||||
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">false</LinkIncremental>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">$(SolutionDir)$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
|
||||
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">false</LinkIncremental>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">$(SolutionDir)$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
|
||||
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">false</LinkIncremental>
|
||||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'" />
|
||||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'" />
|
||||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'" />
|
||||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'" />
|
||||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
|
||||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
|
||||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
|
||||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
|
||||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'" />
|
||||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'" />
|
||||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'" />
|
||||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'" />
|
||||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
|
||||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
|
||||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
|
||||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
|
||||
<TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(ProjectName)_debug</TargetName>
|
||||
<TargetName Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">$(ProjectName)_debug</TargetName>
|
||||
<TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(ProjectName)_debug</TargetName>
|
||||
<TargetName Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">$(ProjectName)_debug</TargetName>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<AdditionalOptions> /c /MDd /Od /Ob0 /Zi /EHsc /GR /Zc:forScope /Zc:wchar_t /DTBB_USE_DEBUG /D__TBB_LIB_NAME=tbb_debug.lib /DDO_ITT_NOTIFY /GS /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0502 /D__TBBMALLOC_BUILD=1 /I../../src /I../../src/rml/include /I../../include /I../../src/tbbmalloc /I../../src/tbbmalloc /I.</AdditionalOptions>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<AdditionalIncludeDirectories>.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<MinimalRebuild>true</MinimalRebuild>
|
||||
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
|
||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<ExceptionHandling>false</ExceptionHandling>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalOptions>/DLL /MAP /DEBUG /fixed:no /INCREMENTAL:NO /DEF:"$(IntDir)tbbmalloc.def" %(AdditionalOptions)</AdditionalOptions>
|
||||
<OutputFile>$(OutDir)tbbmalloc_debug.dll</OutputFile>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||
<DataExecutionPrevention>
|
||||
</DataExecutionPrevention>
|
||||
<TargetMachine>MachineX86</TargetMachine>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<Midl>
|
||||
<TargetEnvironment>X64</TargetEnvironment>
|
||||
</Midl>
|
||||
<ClCompile>
|
||||
<AdditionalOptions> /c /MDd /Od /Ob0 /Zi /EHsc /GR /Zc:forScope /Zc:wchar_t /DTBB_USE_DEBUG /D__TBB_LIB_NAME=tbb_debug.lib /DDO_ITT_NOTIFY /GS /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0502 /D__TBBMALLOC_BUILD=1 /I../../src /I../../src/rml/include /I../../include /I../../src/tbbmalloc /I../../src/tbbmalloc /I.</AdditionalOptions>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<AdditionalIncludeDirectories>.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
|
||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<ShowIncludes>false</ShowIncludes>
|
||||
<ExceptionHandling>false</ExceptionHandling>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalOptions>/nologo /DLL /MAP /DEBUG /fixed:no /INCREMENTAL:NO /DEF:"$(IntDir)tbbmalloc.def" %(AdditionalOptions)</AdditionalOptions>
|
||||
<OutputFile>$(OutDir)tbbmalloc_debug.dll</OutputFile>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||
<DataExecutionPrevention>
|
||||
</DataExecutionPrevention>
|
||||
<TargetMachine>MachineX64</TargetMachine>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<ClCompile>
|
||||
<AdditionalOptions> /c /MD /O2 /Zi /EHsc /GR /Zc:forScope /Zc:wchar_t /D__TBB_LIB_NAME=tbb.lib /DDO_ITT_NOTIFY /GS /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0502 /D__TBBMALLOC_BUILD=1 /I../../src /I../../src/rml/include /I../../include /I../../src/tbbmalloc /I../../src/tbbmalloc /I.</AdditionalOptions>
|
||||
<AdditionalIncludeDirectories>.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<ExceptionHandling>false</ExceptionHandling>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalOptions>/nologo /DLL /MAP /DEBUG /fixed:no /INCREMENTAL:NO /DEF:"$(IntDir)tbbmalloc.def" %(AdditionalOptions)</AdditionalOptions>
|
||||
<OutputFile>$(OutDir)tbbmalloc.dll</OutputFile>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||
<DataExecutionPrevention>
|
||||
</DataExecutionPrevention>
|
||||
<TargetMachine>MachineX86</TargetMachine>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<Midl>
|
||||
<TargetEnvironment>X64</TargetEnvironment>
|
||||
</Midl>
|
||||
<ClCompile>
|
||||
<AdditionalOptions> /c /MD /O2 /Zi /EHsc /GR /Zc:forScope /Zc:wchar_t /D__TBB_LIB_NAME=tbb.lib /DDO_ITT_NOTIFY /GS /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0502 /D__TBBMALLOC_BUILD=1 /I../../src /I../../src/rml/include /I../../include /I../../src/tbbmalloc /I../../src/tbbmalloc /I.</AdditionalOptions>
|
||||
<AdditionalIncludeDirectories>.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<ExceptionHandling>false</ExceptionHandling>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalOptions>/nologo /DLL /MAP /DEBUG /fixed:no /INCREMENTAL:NO /DEF:"$(IntDir)tbbmalloc.def" %(AdditionalOptions)</AdditionalOptions>
|
||||
<OutputFile>$(OutDir)tbbmalloc.dll</OutputFile>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||
<DataExecutionPrevention>
|
||||
</DataExecutionPrevention>
|
||||
<TargetMachine>MachineX64</TargetMachine>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">
|
||||
<ClCompile>
|
||||
<AdditionalOptions> /c /MTd /Od /Ob0 /Zi /EHsc /GR /Zc:forScope /Zc:wchar_t /DTBB_USE_DEBUG /D__TBB_LIB_NAME=tbb_debug.lib /DDO_ITT_NOTIFY /GS /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0502 /D__TBBMALLOC_BUILD=1 /I../../src /I../../src/rml/include /I../../include /I../../src/tbbmalloc /I../../src/tbbmalloc /I.</AdditionalOptions>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<AdditionalIncludeDirectories>.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<MinimalRebuild>true</MinimalRebuild>
|
||||
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
|
||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<ExceptionHandling>false</ExceptionHandling>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalOptions>/DLL /MAP /DEBUG /fixed:no /INCREMENTAL:NO /DEF:"$(IntDir)tbbmalloc.def" %(AdditionalOptions)</AdditionalOptions>
|
||||
<OutputFile>$(OutDir)tbbmalloc_debug.dll</OutputFile>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||
<DataExecutionPrevention>
|
||||
</DataExecutionPrevention>
|
||||
<TargetMachine>MachineX86</TargetMachine>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">
|
||||
<Midl>
|
||||
<TargetEnvironment>X64</TargetEnvironment>
|
||||
</Midl>
|
||||
<ClCompile>
|
||||
<AdditionalOptions> /c /MTd /Od /Ob0 /Zi /EHsc /GR /Zc:forScope /Zc:wchar_t /DTBB_USE_DEBUG /D__TBB_LIB_NAME=tbb_debug.lib /DDO_ITT_NOTIFY /GS /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0502 /D__TBBMALLOC_BUILD=1 /I../../src /I../../src/rml/include /I../../include /I../../src/tbbmalloc /I../../src/tbbmalloc /I.</AdditionalOptions>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<AdditionalIncludeDirectories>.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
|
||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<ShowIncludes>false</ShowIncludes>
|
||||
<ExceptionHandling>false</ExceptionHandling>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalOptions>/nologo /DLL /MAP /DEBUG /fixed:no /INCREMENTAL:NO /DEF:"$(IntDir)tbbmalloc.def" %(AdditionalOptions)</AdditionalOptions>
|
||||
<OutputFile>$(OutDir)tbbmalloc_debug.dll</OutputFile>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||
<DataExecutionPrevention>
|
||||
</DataExecutionPrevention>
|
||||
<TargetMachine>MachineX64</TargetMachine>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">
|
||||
<ClCompile>
|
||||
<AdditionalOptions> /c /MT /O2 /Zi /EHsc /GR /Zc:forScope /Zc:wchar_t /D__TBB_LIB_NAME=tbb.lib /DDO_ITT_NOTIFY /GS /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0502 /D__TBBMALLOC_BUILD=1 /I../../src /I../../src/rml/include /I../../include /I../../src/tbbmalloc /I../../src/tbbmalloc /I.</AdditionalOptions>
|
||||
<AdditionalIncludeDirectories>.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<ExceptionHandling>false</ExceptionHandling>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalOptions>/nologo /DLL /MAP /DEBUG /fixed:no /INCREMENTAL:NO /DEF:"$(IntDir)tbbmalloc.def" %(AdditionalOptions)</AdditionalOptions>
|
||||
<OutputFile>$(OutDir)tbbmalloc.dll</OutputFile>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||
<TargetMachine>MachineX86</TargetMachine>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">
|
||||
<Midl>
|
||||
<TargetEnvironment>X64</TargetEnvironment>
|
||||
</Midl>
|
||||
<ClCompile>
|
||||
<AdditionalOptions> /c /MT /O2 /Zi /EHsc /GR /Zc:forScope /Zc:wchar_t /D__TBB_LIB_NAME=tbb.lib /DDO_ITT_NOTIFY /GS /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0502 /D__TBBMALLOC_BUILD=1 /I../../src /I../../src/rml/include /I../../include /I../../src/tbbmalloc /I../../src/tbbmalloc /I.</AdditionalOptions>
|
||||
<AdditionalIncludeDirectories>.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<ExceptionHandling>false</ExceptionHandling>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalOptions>/nologo /DLL /MAP /DEBUG /fixed:no /INCREMENTAL:NO /DEF:"$(IntDir)tbbmalloc.def" %(AdditionalOptions)</AdditionalOptions>
|
||||
<OutputFile>$(OutDir)tbbmalloc.dll</OutputFile>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||
<DataExecutionPrevention>
|
||||
</DataExecutionPrevention>
|
||||
<TargetMachine>MachineX64</TargetMachine>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<CustomBuild Include="..\..\src\tbb\intel64-masm\atomic_support.asm">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">true</ExcludedFromBuild>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">building atomic_support.obj</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">ml64 /Fo"$(IntDir)%(FileName).obj" /DUSE_FRAME_POINTER /DEM64T=1 /c /Zi ../../src/tbb/intel64-masm/atomic_support.asm</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">$(IntDir)%(FileName).obj;%(Outputs)</Outputs>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">building atomic_support.obj</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">ml64 /Fo"$(IntDir)%(FileName).obj" /DUSE_FRAME_POINTER /DEM64T=1 /c /Zi ../../src/tbb/intel64-masm/atomic_support.asm</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(IntDir)%(FileName).obj;%(Outputs)</Outputs>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">true</ExcludedFromBuild>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">building atomic_support.obj</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">ml64 /Fo"$(IntDir)%(FileName).obj" /DEM64T=1 /c /Zi ../../src/tbb/intel64-masm/atomic_support.asm</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">$(IntDir)%(FileName).obj;%(Outputs)</Outputs>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">building atomic_support.obj</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">ml64 /Fo"$(IntDir)%(FileName).obj" /DEM64T=1 /c /Zi ../../src/tbb/intel64-masm/atomic_support.asm</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(IntDir)%(FileName).obj;%(Outputs)</Outputs>
|
||||
</CustomBuild>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<CustomBuild Include="..\..\src\tbbmalloc\win32-tbbmalloc-export.def">
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">generating tbbmalloc.def file</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">cl /nologo /TC /EP ../../src/tbbmalloc/win32-tbbmalloc-export.def /DTBB_USE_DEBUG /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 /D__TBBMALLOC_BUILD=1 >"$(IntDir)tbbmalloc.def"
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">$(IntDir)tbbmalloc.def;%(Outputs)</Outputs>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">true</ExcludedFromBuild>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">generating tbbmalloc.def file</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">cl /nologo /TC /EP ../../src/tbbmalloc/win32-tbbmalloc-export.def /DTBB_USE_DEBUG /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 /D__TBBMALLOC_BUILD=1 >"$(IntDir)tbbmalloc.def"
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">$(IntDir)tbbmalloc.def;%(Outputs)</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">generating tbbmalloc.def file</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">cl /nologo /TC /EP ../../src/tbbmalloc/win32-tbbmalloc-export.def /DTBB_USE_DEBUG /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 /D__TBBMALLOC_BUILD=1 >"$(IntDir)tbbmalloc.def"
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(IntDir)tbbmalloc.def;%(Outputs)</Outputs>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">generating tbbmalloc.def file</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">cl /nologo /TC /EP ../../src/tbbmalloc/win32-tbbmalloc-export.def /DTBB_USE_DEBUG /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 /D__TBBMALLOC_BUILD=1 >"$(IntDir)tbbmalloc.def"
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(IntDir)tbbmalloc.def;%(Outputs)</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">generating tbbmalloc.def file</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">cl /nologo /TC /EP ../../src/tbbmalloc/win32-tbbmalloc-export.def /DTBB_USE_DEBUG /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 /D__TBBMALLOC_BUILD=1 >"$(IntDir)tbbmalloc.def"
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">$(IntDir)tbbmalloc.def;%(Outputs)</Outputs>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">true</ExcludedFromBuild>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">generating tbbmalloc.def file</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">cl /nologo /TC /EP ../../src/tbb/win32-tbbmalloc-export.def /DTBB_USE_DEBUG /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 /D__TBBMALLOC_BUILD=1 >"$(IntDir)tbbmalloc.def"
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">$(IntDir)tbbmalloc.def;%(Outputs)</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">generating tbbmalloc.def file</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">cl /nologo /TC /EP ../../src/tbbmalloc/win32-tbbmalloc-export.def /DTBB_USE_DEBUG /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 /D__TBBMALLOC_BUILD=1 >"$(IntDir)tbbmalloc.def"
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(IntDir)tbbmalloc.def;%(Outputs)</Outputs>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">generating tbbmalloc.def file</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">cl /nologo /TC /EP ../../src/tbb/win32-tbbmalloc-export.def /DTBB_USE_DEBUG /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 /D__TBBMALLOC_BUILD=1 >"$(IntDir)tbbmalloc.def"
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(IntDir)tbbmalloc.def;%(Outputs)</Outputs>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\src\tbbmalloc\win64-tbbmalloc-export.def">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">true</ExcludedFromBuild>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">generating tbbmalloc.def file</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">cl /nologo /TC /EP ../../src/tbb/win64-tbbmalloc-export.def /DTBB_USE_DEBUG /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 /D__TBBMALLOC_BUILD=1 >"$(IntDir)tbbmalloc.def"
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">$(IntDir)tbbmalloc.def;%(Outputs)</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">generating tbbmalloc.def file</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">cl /nologo /TC /EP ../../src/tbbmalloc/win64-tbbmalloc-export.def /DTBB_USE_DEBUG /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 /D__TBBMALLOC_BUILD=1 >"$(IntDir)tbbmalloc.def"
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">$(IntDir)tbbmalloc.def;%(Outputs)</Outputs>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">generating tbbmalloc.def file</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">cl /nologo /TC /EP ../../src/tbb/win64-tbbmalloc-export.def /DTBB_USE_DEBUG /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 /D__TBBMALLOC_BUILD=1 >"$(IntDir)tbbmalloc.def"
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(IntDir)tbbmalloc.def;%(Outputs)</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">generating tbbmalloc.def file</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">cl /nologo /TC /EP ../../src/tbbmalloc/win64-tbbmalloc-export.def /DTBB_USE_DEBUG /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 /D__TBBMALLOC_BUILD=1 >"$(IntDir)tbbmalloc.def"
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(IntDir)tbbmalloc.def;%(Outputs)</Outputs>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">true</ExcludedFromBuild>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">generating tbbmalloc.def file</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">cl /nologo /TC /EP ../../src/tbb/win64-tbbmalloc-export.def /DTBB_USE_DEBUG /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 /D__TBBMALLOC_BUILD=1 >"$(IntDir)tbbmalloc.def"
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">$(IntDir)tbbmalloc.def;%(Outputs)</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">generating tbbmalloc.def file</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">cl /nologo /TC /EP ../../src/tbbmalloc/win64-tbbmalloc-export.def /DTBB_USE_DEBUG /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 /D__TBBMALLOC_BUILD=1 >"$(IntDir)tbbmalloc.def"
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">$(IntDir)tbbmalloc.def;%(Outputs)</Outputs>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">generating tbbmalloc.def file</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">cl /nologo /TC /EP ../../src/tbb/win64-tbbmalloc-export.def /DTBB_USE_DEBUG /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 /D__TBBMALLOC_BUILD=1 >"$(IntDir)tbbmalloc.def"
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(IntDir)tbbmalloc.def;%(Outputs)</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">generating tbbmalloc.def file</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">cl /nologo /TC /EP ../../src/tbbmalloc/win64-tbbmalloc-export.def /DTBB_USE_DEBUG /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 /D__TBBMALLOC_BUILD=1 >"$(IntDir)tbbmalloc.def"
|
||||
</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(IntDir)tbbmalloc.def;%(Outputs)</Outputs>
|
||||
</CustomBuild>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\src\tbbmalloc\backend.cpp" />
|
||||
<ClCompile Include="..\..\src\tbbmalloc\large_objects.cpp" />
|
||||
<ClCompile Include="..\..\src\tbbmalloc\backref.cpp" />
|
||||
<ClCompile Include="..\..\src\tbbmalloc\tbbmalloc.cpp" />
|
||||
<ClCompile Include="..\..\src\tbb\itt_notify.cpp" />
|
||||
<ClCompile Include="..\..\src\tbbmalloc\frontend.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\include\tbb\internal\_concurrent_queue_impl.h" />
|
||||
<ClInclude Include="..\..\include\tbb\_tbb_windef.h" />
|
||||
<ClInclude Include="..\..\include\tbb\aligned_space.h" />
|
||||
<ClInclude Include="..\..\include\tbb\atomic.h" />
|
||||
<ClInclude Include="..\..\include\tbb\blocked_range.h" />
|
||||
<ClInclude Include="..\..\include\tbb\blocked_range2d.h" />
|
||||
<ClInclude Include="..\..\include\tbb\blocked_range3d.h" />
|
||||
<ClInclude Include="..\..\include\tbb\cache_aligned_allocator.h" />
|
||||
<ClInclude Include="..\..\include\tbb\combinable.h" />
|
||||
<ClInclude Include="..\..\include\tbb\concurrent_hash_map.h" />
|
||||
<ClInclude Include="..\..\include\tbb\concurrent_queue.h" />
|
||||
<ClInclude Include="..\..\include\tbb\concurrent_vector.h" />
|
||||
<ClInclude Include="..\..\include\tbb\critical_section.h" />
|
||||
<ClInclude Include="..\..\src\tbbmalloc\Customize.h" />
|
||||
<ClInclude Include="..\..\include\tbb\enumerable_thread_specific.h" />
|
||||
<ClInclude Include="..\..\src\tbbmalloc\LifoList.h" />
|
||||
<ClInclude Include="..\..\src\tbbmalloc\MapMemory.h" />
|
||||
<ClInclude Include="..\..\include\tbb\mutex.h" />
|
||||
<ClInclude Include="..\..\include\tbb\null_mutex.h" />
|
||||
<ClInclude Include="..\..\include\tbb\null_rw_mutex.h" />
|
||||
<ClInclude Include="..\..\include\tbb\parallel_do.h" />
|
||||
<ClInclude Include="..\..\include\tbb\parallel_for.h" />
|
||||
<ClInclude Include="..\..\include\tbb\parallel_for_each.h" />
|
||||
<ClInclude Include="..\..\include\tbb\parallel_invoke.h" />
|
||||
<ClInclude Include="..\..\include\tbb\parallel_reduce.h" />
|
||||
<ClInclude Include="..\..\include\tbb\parallel_scan.h" />
|
||||
<ClInclude Include="..\..\include\tbb\parallel_sort.h" />
|
||||
<ClInclude Include="..\..\include\tbb\parallel_while.h" />
|
||||
<ClInclude Include="..\..\include\tbb\partitioner.h" />
|
||||
<ClInclude Include="..\..\include\tbb\pipeline.h" />
|
||||
<ClInclude Include="..\..\src\tbbmalloc\proxy.h" />
|
||||
<ClInclude Include="..\..\include\tbb\queuing_mutex.h" />
|
||||
<ClInclude Include="..\..\include\tbb\queuing_rw_mutex.h" />
|
||||
<ClInclude Include="..\..\include\tbb\recursive_mutex.h" />
|
||||
<ClInclude Include="..\..\include\tbb\scalable_allocator.h" />
|
||||
<ClInclude Include="..\..\include\tbb\spin_mutex.h" />
|
||||
<ClInclude Include="..\..\include\tbb\spin_rw_mutex.h" />
|
||||
<ClInclude Include="..\..\src\tbbmalloc\Statistics.h" />
|
||||
<ClInclude Include="..\..\include\tbb\task.h" />
|
||||
<ClInclude Include="..\..\include\tbb\task_group.h" />
|
||||
<ClInclude Include="..\..\include\tbb\task_scheduler_init.h" />
|
||||
<ClInclude Include="..\..\include\tbb\task_scheduler_observer.h" />
|
||||
<ClInclude Include="..\..\include\tbb\tbb.h" />
|
||||
<ClInclude Include="..\..\include\tbb\tbb_allocator.h" />
|
||||
<ClInclude Include="..\..\include\tbb\tbb_config.h" />
|
||||
<ClInclude Include="..\..\include\tbb\tbb_exception.h" />
|
||||
<ClInclude Include="..\..\src\tbbmalloc\tbb_function_replacement.h" />
|
||||
<ClInclude Include="..\..\include\tbb\tbb_machine.h" />
|
||||
<ClInclude Include="..\..\include\tbb\tbb_profiling.h" />
|
||||
<ClInclude Include="..\..\include\tbb\tbb_stddef.h" />
|
||||
<ClInclude Include="..\..\include\tbb\tbb_thread.h" />
|
||||
<ClInclude Include="..\..\include\tbb\tbb_version.h" />
|
||||
<ClInclude Include="..\..\include\tbb\tbbmalloc_proxy.h" />
|
||||
<ClInclude Include="..\..\include\tbb\tick_count.h" />
|
||||
<ClInclude Include="..\..\src\tbbmalloc\TypeDefinitions.h" />
|
||||
<ClInclude Include="..\..\include\tbb\machine\windows_ia32.h" />
|
||||
<ClInclude Include="..\..\include\tbb\machine\windows_intel64.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ResourceCompile Include="..\..\src\tbbmalloc\tbbmalloc.rc">
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">/I../../src /I../../include /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 %(AdditionalOptions)</AdditionalOptions>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">/I../../src /I../../include /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 %(AdditionalOptions)</AdditionalOptions>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">/I../../src /I../../include /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 %(AdditionalOptions)</AdditionalOptions>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">/I../../src /I../../include /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 %(AdditionalOptions)</AdditionalOptions>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">/I../../src /I../../include /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 %(AdditionalOptions)</AdditionalOptions>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">/I../../src /I../../include /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 %(AdditionalOptions)</AdditionalOptions>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">/I../../src /I../../include /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 %(AdditionalOptions)</AdditionalOptions>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">/I../../src /I../../include /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 %(AdditionalOptions)</AdditionalOptions>
|
||||
</ResourceCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="tbb.vcxproj">
|
||||
<Project>{f62787dd-1327-448b-9818-030062bcfaa5}</Project>
|
||||
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
<Import Project="$(VCTargetsPath)\BuildCustomizations\masm.targets" />
|
||||
</ImportGroup>
|
||||
</Project>
|
||||
@@ -1,425 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug-MT|Win32">
|
||||
<Configuration>Debug-MT</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug-MT|x64">
|
||||
<Configuration>Debug-MT</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|x64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release-MT|Win32">
|
||||
<Configuration>Release-MT</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release-MT|x64">
|
||||
<Configuration>Release-MT</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|Win32">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|x64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{02F61511-D5B6-46E6-B4BB-DEAA96E6BCC7}</ProjectGuid>
|
||||
<RootNamespace>tbbmalloc_proxy</RootNamespace>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<CharacterSet>NotSet</CharacterSet>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<CharacterSet>NotSet</CharacterSet>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<CharacterSet>NotSet</CharacterSet>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<CharacterSet>NotSet</CharacterSet>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<CharacterSet>NotSet</CharacterSet>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<CharacterSet>NotSet</CharacterSet>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<CharacterSet>NotSet</CharacterSet>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<CharacterSet>NotSet</CharacterSet>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
<Import Project="$(VCTargetsPath)\BuildCustomizations\masm.props" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup>
|
||||
<_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
|
||||
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</LinkIncremental>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
|
||||
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</LinkIncremental>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
|
||||
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
|
||||
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">$(SolutionDir)$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
|
||||
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">false</LinkIncremental>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">$(SolutionDir)$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
|
||||
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">false</LinkIncremental>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">$(SolutionDir)$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
|
||||
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">false</LinkIncremental>
|
||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
|
||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">$(SolutionDir)$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
|
||||
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">false</LinkIncremental>
|
||||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'" />
|
||||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'" />
|
||||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'" />
|
||||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'" />
|
||||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
|
||||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
|
||||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
|
||||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
|
||||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'" />
|
||||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'" />
|
||||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'" />
|
||||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'" />
|
||||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
|
||||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
|
||||
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
|
||||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
|
||||
<TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(ProjectName)_debug</TargetName>
|
||||
<TargetName Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">$(ProjectName)_debug</TargetName>
|
||||
<TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(ProjectName)_debug</TargetName>
|
||||
<TargetName Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">$(ProjectName)_debug</TargetName>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<AdditionalOptions> /c /MDd /Od /Ob0 /Zi /EHsc /GR /Zc:forScope /Zc:wchar_t /DTBB_USE_DEBUG /D__TBB_LIB_NAME=tbb_debug.lib /DDO_ITT_NOTIFY /GS /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0502 /W4 /D__TBBMALLOC_BUILD=1 /I../../src /I../../src/rml/include /I../../include /I../../src/tbbmalloc /I../../src/tbbmalloc</AdditionalOptions>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<AdditionalIncludeDirectories>.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<MinimalRebuild>true</MinimalRebuild>
|
||||
<ExceptionHandling>Sync</ExceptionHandling>
|
||||
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
|
||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalOptions>/DLL /MAP /DEBUG /fixed:no /INCREMENTAL:NO %(AdditionalOptions)</AdditionalOptions>
|
||||
<OutputFile>$(OutDir)tbbmalloc_proxy_debug.dll</OutputFile>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||
<DataExecutionPrevention>
|
||||
</DataExecutionPrevention>
|
||||
<TargetMachine>MachineX86</TargetMachine>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<Midl>
|
||||
<TargetEnvironment>X64</TargetEnvironment>
|
||||
</Midl>
|
||||
<ClCompile>
|
||||
<AdditionalOptions> /c /MDd /Od /Ob0 /Zi /EHsc /GR /Zc:forScope /Zc:wchar_t /DTBB_USE_DEBUG /D__TBB_LIB_NAME=tbb_debug.lib /DDO_ITT_NOTIFY /GS /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0502 /W4 /D__TBBMALLOC_BUILD=1 /I../../src /I../../src/rml/include /I../../include /I../../src/tbbmalloc /I../../src/tbbmalloc</AdditionalOptions>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<AdditionalIncludeDirectories>.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<ExceptionHandling>
|
||||
</ExceptionHandling>
|
||||
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
|
||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<ShowIncludes>false</ShowIncludes>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalOptions>/nologo /DLL /MAP /DEBUG /fixed:no /INCREMENTAL:NO %(AdditionalOptions)</AdditionalOptions>
|
||||
<OutputFile>$(OutDir)tbbmalloc_proxy_debug.dll</OutputFile>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||
<DataExecutionPrevention>
|
||||
</DataExecutionPrevention>
|
||||
<TargetMachine>MachineX64</TargetMachine>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<ClCompile>
|
||||
<AdditionalOptions> /c /MD /O2 /Zi /EHsc /GR /Zc:forScope /Zc:wchar_t /D__TBB_LIB_NAME=tbb.lib /DDO_ITT_NOTIFY /GS /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0502 /W4 /D__TBBMALLOC_BUILD=1 /I../../src /I../../src/rml/include /I../../include /I../../src/tbbmalloc /I../../src/tbbmalloc</AdditionalOptions>
|
||||
<AdditionalIncludeDirectories>.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ExceptionHandling>
|
||||
</ExceptionHandling>
|
||||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalOptions>/nologo /DLL /MAP /DEBUG /fixed:no /INCREMENTAL:NO %(AdditionalOptions)</AdditionalOptions>
|
||||
<OutputFile>$(OutDir)tbbmalloc_proxy.dll</OutputFile>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||
<DataExecutionPrevention>
|
||||
</DataExecutionPrevention>
|
||||
<TargetMachine>MachineX86</TargetMachine>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<Midl>
|
||||
<TargetEnvironment>X64</TargetEnvironment>
|
||||
</Midl>
|
||||
<ClCompile>
|
||||
<AdditionalOptions> /c /MD /O2 /Zi /EHsc /GR /Zc:forScope /Zc:wchar_t /D__TBB_LIB_NAME=tbb.lib /DDO_ITT_NOTIFY /GS /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0502 /W4 /D__TBBMALLOC_BUILD=1 /I../../src /I../../src/rml/include /I../../include /I../../src/tbbmalloc /I../../src/tbbmalloc</AdditionalOptions>
|
||||
<AdditionalIncludeDirectories>.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ExceptionHandling>
|
||||
</ExceptionHandling>
|
||||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalOptions>/nologo /DLL /MAP /DEBUG /fixed:no /INCREMENTAL:NO %(AdditionalOptions)</AdditionalOptions>
|
||||
<OutputFile>$(OutDir)tbbmalloc_proxy.dll</OutputFile>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||
<DataExecutionPrevention>
|
||||
</DataExecutionPrevention>
|
||||
<TargetMachine>MachineX64</TargetMachine>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">
|
||||
<ClCompile>
|
||||
<AdditionalOptions> /c /MTd /Od /Ob0 /Zi /EHsc /GR /Zc:forScope /Zc:wchar_t /DTBB_USE_DEBUG /D__TBB_LIB_NAME=tbb_debug.lib /DDO_ITT_NOTIFY /GS /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0502 /W4 /D__TBBMALLOC_BUILD=1 /I../../src /I../../src/rml/include /I../../include /I../../src/tbbmalloc /I../../src/tbbmalloc</AdditionalOptions>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<AdditionalIncludeDirectories>.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<MinimalRebuild>true</MinimalRebuild>
|
||||
<ExceptionHandling>Sync</ExceptionHandling>
|
||||
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
|
||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalOptions>/DLL /MAP /DEBUG /fixed:no /INCREMENTAL:NO %(AdditionalOptions)</AdditionalOptions>
|
||||
<OutputFile>$(OutDir)tbbmalloc_proxy_debug.dll</OutputFile>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||
<DataExecutionPrevention>
|
||||
</DataExecutionPrevention>
|
||||
<TargetMachine>MachineX86</TargetMachine>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">
|
||||
<Midl>
|
||||
<TargetEnvironment>X64</TargetEnvironment>
|
||||
</Midl>
|
||||
<ClCompile>
|
||||
<AdditionalOptions> /c /MTd /Od /Ob0 /Zi /EHsc /GR /Zc:forScope /Zc:wchar_t /DTBB_USE_DEBUG /D__TBB_LIB_NAME=tbb_debug.lib /DDO_ITT_NOTIFY /GS /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0502 /W4 /D__TBBMALLOC_BUILD=1 /I../../src /I../../src/rml/include /I../../include /I../../src/tbbmalloc /I../../src/tbbmalloc</AdditionalOptions>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<AdditionalIncludeDirectories>.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<ExceptionHandling>
|
||||
</ExceptionHandling>
|
||||
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
|
||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||
<TreatWChar_tAsBuiltInType>true</TreatWChar_tAsBuiltInType>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<ShowIncludes>false</ShowIncludes>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalOptions>/nologo /DLL /MAP /DEBUG /fixed:no /INCREMENTAL:NO %(AdditionalOptions)</AdditionalOptions>
|
||||
<OutputFile>$(OutDir)tbbmalloc_proxy_debug.dll</OutputFile>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||
<DataExecutionPrevention>
|
||||
</DataExecutionPrevention>
|
||||
<TargetMachine>MachineX64</TargetMachine>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">
|
||||
<ClCompile>
|
||||
<AdditionalOptions> /c /MT /O2 /Zi /EHsc /GR /Zc:forScope /Zc:wchar_t /D__TBB_LIB_NAME=tbb.lib /DDO_ITT_NOTIFY /GS /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0502 /W4 /D__TBBMALLOC_BUILD=1 /I../../src /I../../src/rml/include /I../../include /I../../src/tbbmalloc /I../../src/tbbmalloc</AdditionalOptions>
|
||||
<AdditionalIncludeDirectories>.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ExceptionHandling>
|
||||
</ExceptionHandling>
|
||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalOptions>/nologo /DLL /MAP /DEBUG /fixed:no /INCREMENTAL:NO %(AdditionalOptions)</AdditionalOptions>
|
||||
<OutputFile>$(OutDir)tbbmalloc_proxy.dll</OutputFile>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||
<DataExecutionPrevention>
|
||||
</DataExecutionPrevention>
|
||||
<TargetMachine>MachineX86</TargetMachine>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">
|
||||
<Midl>
|
||||
<TargetEnvironment>X64</TargetEnvironment>
|
||||
</Midl>
|
||||
<ClCompile>
|
||||
<AdditionalOptions> /c /MT /O2 /Zi /EHsc /GR /Zc:forScope /Zc:wchar_t /D__TBB_LIB_NAME=tbb.lib /DDO_ITT_NOTIFY /GS /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0502 /W4 /D__TBBMALLOC_BUILD=1 /I../../src /I../../src/rml/include /I../../include /I../../src/tbbmalloc /I../../src/tbbmalloc</AdditionalOptions>
|
||||
<AdditionalIncludeDirectories>.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ExceptionHandling>
|
||||
</ExceptionHandling>
|
||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalOptions>/nologo /DLL /MAP /DEBUG /fixed:no /INCREMENTAL:NO %(AdditionalOptions)</AdditionalOptions>
|
||||
<OutputFile>$(OutDir)tbbmalloc_proxy.dll</OutputFile>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||
<DataExecutionPrevention>
|
||||
</DataExecutionPrevention>
|
||||
<TargetMachine>MachineX64</TargetMachine>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\src\tbbmalloc\tbb_function_replacement.h" />
|
||||
<ClInclude Include="..\..\include\tbb\tbbmalloc_proxy.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ResourceCompile Include="..\..\src\tbbmalloc\tbbmalloc.rc">
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Debug-MT|Win32'">/I../../src /I../../include /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 %(AdditionalOptions)</AdditionalOptions>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Debug-MT|x64'">/I../../src /I../../include /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 %(AdditionalOptions)</AdditionalOptions>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">/I../../src /I../../include /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 %(AdditionalOptions)</AdditionalOptions>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">/I../../src /I../../include /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 %(AdditionalOptions)</AdditionalOptions>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Release-MT|Win32'">/I../../src /I../../include /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 %(AdditionalOptions)</AdditionalOptions>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Release-MT|x64'">/I../../src /I../../include /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 %(AdditionalOptions)</AdditionalOptions>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">/I../../src /I../../include /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 %(AdditionalOptions)</AdditionalOptions>
|
||||
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">/I../../src /I../../include /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=0x0400 %(AdditionalOptions)</AdditionalOptions>
|
||||
</ResourceCompile>
|
||||
<ClCompile Include="..\..\src\tbbmalloc\proxy.cpp" />
|
||||
<ClCompile Include="..\..\src\tbbmalloc\tbb_function_replacement.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="tbbmalloc.vcxproj">
|
||||
<Project>{b15f131e-328a-4d42-adc2-9ff4ca6306d8}</Project>
|
||||
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
<Import Project="$(VCTargetsPath)\BuildCustomizations\masm.targets" />
|
||||
</ImportGroup>
|
||||
</Project>
|
||||
+29
-48
@@ -1,20 +1,20 @@
|
||||
# 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.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
#
|
||||
# Copyright 2005-2015 Intel Corporation. All Rights Reserved.
|
||||
#
|
||||
# This file is part of Threading Building Blocks. Threading Building Blocks is free software;
|
||||
# you can redistribute it and/or modify it under the terms of the GNU General Public License
|
||||
# version 2 as published by the Free Software Foundation. Threading Building Blocks is
|
||||
# distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the GNU General Public License for more details. You should have received a copy of
|
||||
# the GNU General Public License along with Threading Building Blocks; if not, write to the
|
||||
# Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
# As a special exception, you may use this file as part of a free software library without
|
||||
# restriction. Specifically, if other files instantiate templates or use macros or inline
|
||||
# functions from this file, or you compile this file and link it with other files to produce
|
||||
# an executable, this file does not by itself cause the resulting executable to be covered
|
||||
# by the GNU General Public License. This exception does not however invalidate any other
|
||||
# reasons why the executable file might be covered by the GNU General Public License.
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# Define compiler-specific variables.
|
||||
@@ -28,25 +28,16 @@ CPLUS = cl /nologo
|
||||
LINK_FLAGS = /link /nologo
|
||||
LIB_LINK_FLAGS=/link /nologo /DLL /MAP /DEBUG /fixed:no /INCREMENTAL:NO /DYNAMICBASE /NXCOMPAT
|
||||
|
||||
ifneq (,$(stdver))
|
||||
CXX_STD_FLAGS = /std:$(stdver)
|
||||
endif
|
||||
|
||||
ifeq ($(arch), ia32)
|
||||
LIB_LINK_FLAGS += /SAFESEH
|
||||
LIB_LINK_FLAGS += /SAFESEH
|
||||
endif
|
||||
|
||||
ifeq ($(runtime), vc_mt)
|
||||
MS_CRT_KEY = /MT$(if $(findstring debug,$(cfg)),d)
|
||||
MS_CRT_KEY = /MT$(if $(findstring debug,$(cfg)),d)
|
||||
else
|
||||
MS_CRT_KEY = /MD$(if $(findstring debug,$(cfg)),d)
|
||||
endif
|
||||
EH_FLAGS = $(if $(no_exceptions),/EHs-,/EHsc /GR)
|
||||
|
||||
# UWD binaries have to use static CRT linkage
|
||||
ifeq ($(target_app), uwd)
|
||||
MS_CRT_KEY = /MT$(if $(findstring debug,$(cfg)),d)
|
||||
MS_CRT_KEY = /MD$(if $(findstring debug,$(cfg)),d)
|
||||
endif
|
||||
EH_FLAGS = /EHsc /GR
|
||||
|
||||
ifeq ($(cfg), release)
|
||||
CPLUS_FLAGS = $(MS_CRT_KEY) /O2 /Zi $(EH_FLAGS) /Zc:forScope /Zc:wchar_t /D__TBB_LIB_NAME=$(TBB.LIB)
|
||||
@@ -57,25 +48,15 @@ ifeq ($(cfg), debug)
|
||||
ASM_FLAGS = /DUSE_FRAME_POINTER
|
||||
endif
|
||||
|
||||
ZW_KEY = /ZW:nostdlib
|
||||
|
||||
# These flags are general for Windows* universal applications
|
||||
ifneq (,$(target_app))
|
||||
CPLUS_FLAGS += $(ZW_KEY) /D "_UNICODE" /D "UNICODE" /D "WINAPI_FAMILY=WINAPI_FAMILY_APP"
|
||||
ifeq ($(target_ui), win8ui)
|
||||
CPLUS_FLAGS += /D "_UNICODE" /D "UNICODE" /D "WINAPI_FAMILY=WINAPI_FAMILY_APP"
|
||||
_WIN32_WINNT=0x0602
|
||||
ifeq ($(target_ui_mode), production)
|
||||
LIB_LINK_FLAGS += /APPCONTAINER
|
||||
endif
|
||||
|
||||
ifeq ($(target_app), win8ui)
|
||||
_WIN32_WINNT = 0x0602
|
||||
else ifneq (,$(filter $(target_app),uwp uwd))
|
||||
_WIN32_WINNT = 0x0A00
|
||||
LIB_LINK_FLAGS += /NODEFAULTLIB:kernel32.lib OneCore.lib
|
||||
else
|
||||
CPLUS_FLAGS += /DDO_ITT_NOTIFY
|
||||
endif
|
||||
ifeq ($(target_mode), store)
|
||||
# it is necessary to source vcvars with 'store' argument in production
|
||||
LIB_LINK_FLAGS += /APPCONTAINER
|
||||
endif
|
||||
|
||||
CPLUS_FLAGS += /GS
|
||||
|
||||
@@ -86,8 +67,6 @@ DEFINE_KEY = /D
|
||||
OUTPUT_KEY = /Fe
|
||||
OUTPUTOBJ_KEY = /Fo
|
||||
WARNING_AS_ERROR_KEY = /WX
|
||||
WARNING_SUPPRESS = $(if $(no_exceptions),/wd4530 /wd4577)
|
||||
BIGOBJ_KEY = /bigobj
|
||||
|
||||
ifeq ($(runtime),vc7.1)
|
||||
WARNING_KEY = /W3
|
||||
@@ -101,8 +80,6 @@ EXPORT_KEY = /DEF:
|
||||
NODEFAULTLIB_KEY = /Zl
|
||||
NOINTRINSIC_KEY = /Oi-
|
||||
|
||||
INCLUDE_TEST_HEADERS = /FI$(tbb_root)/src/test/harness_preload.h
|
||||
|
||||
ifeq ($(runtime),vc8)
|
||||
WARNING_KEY += /Wp64
|
||||
CPLUS_FLAGS += /D_USE_RTM_VERSION
|
||||
@@ -122,7 +99,7 @@ endif
|
||||
|
||||
CPLUS_FLAGS += /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE \
|
||||
/D_WIN32_WINNT=$(_WIN32_WINNT)
|
||||
C_FLAGS = $(subst $(ZW_KEY),,$(subst $(EH_FLAGS),,$(CPLUS_FLAGS)))
|
||||
C_FLAGS = $(CPLUS_FLAGS)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# End of setting compiler flags.
|
||||
@@ -156,7 +133,11 @@ endif
|
||||
#------------------------------------------------------------------------------
|
||||
# Setting tbbmalloc data.
|
||||
#------------------------------------------------------------------------------
|
||||
ifneq ($(target_ui), win8ui)
|
||||
M_CPLUS_FLAGS = $(subst $(EH_FLAGS),/EHs-,$(CPLUS_FLAGS))
|
||||
else
|
||||
M_CPLUS_FLAGS = $(CPLUS_FLAGS)
|
||||
endif
|
||||
#------------------------------------------------------------------------------
|
||||
# End of setting tbbmalloc data.
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
+23
-23
@@ -1,20 +1,20 @@
|
||||
# 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.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
#
|
||||
# Copyright 2005-2015 Intel Corporation. All Rights Reserved.
|
||||
#
|
||||
# This file is part of Threading Building Blocks. Threading Building Blocks is free software;
|
||||
# you can redistribute it and/or modify it under the terms of the GNU General Public License
|
||||
# version 2 as published by the Free Software Foundation. Threading Building Blocks is
|
||||
# distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the GNU General Public License for more details. You should have received a copy of
|
||||
# the GNU General Public License along with Threading Building Blocks; if not, write to the
|
||||
# Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
# As a special exception, you may use this file as part of a free software library without
|
||||
# restriction. Specifically, if other files instantiate templates or use macros or inline
|
||||
# functions from this file, or you compile this file and link it with other files to produce
|
||||
# an executable, this file does not by itself cause the resulting executable to be covered
|
||||
# by the GNU General Public License. This exception does not however invalidate any other
|
||||
# reasons why the executable file might be covered by the GNU General Public License.
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# Overriding settings from windows.inc
|
||||
@@ -65,7 +65,6 @@ DYLIB_KEY = -shared
|
||||
LIBDL =
|
||||
EXPORT_KEY = -Wl,--version-script,
|
||||
LIBS = -lpsapi
|
||||
BIGOBJ_KEY = -Wa,-mbig-obj
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# End of compiler-specific variables
|
||||
@@ -75,19 +74,16 @@ BIGOBJ_KEY = -Wa,-mbig-obj
|
||||
|
||||
LINK_FLAGS = -Wl,--enable-auto-import
|
||||
LIB_LINK_FLAGS = $(DYLIB_KEY)
|
||||
# gcc 4.4 and higher support -std=c++0x
|
||||
ifeq (ok,$(call detect_js,/minversion gcc 4.4))
|
||||
CPP11_FLAGS = -std=c++0x -D_TBB_CPP0X
|
||||
endif
|
||||
|
||||
# gcc 4.8 and later support RTM intrinsics, but require command line switch to enable them
|
||||
ifeq (ok,$(call detect_js,/minversion gcc 4.8))
|
||||
RTM_KEY = -mrtm
|
||||
endif
|
||||
|
||||
# gcc 6.0 and later have -flifetime-dse option that controls
|
||||
# elimination of stores done outside the object lifetime
|
||||
ifeq (ok,$(call detect_js,/minversion gcc 6.0))
|
||||
# keep pre-contruction stores for zero initialization
|
||||
DSE_KEY = -flifetime-dse=1
|
||||
endif
|
||||
|
||||
ifeq ($(cfg), release)
|
||||
CPLUS_FLAGS = -g -O2
|
||||
endif
|
||||
@@ -95,6 +91,10 @@ ifeq ($(cfg), debug)
|
||||
CPLUS_FLAGS = -g -O0 -DTBB_USE_DEBUG
|
||||
endif
|
||||
|
||||
ifneq (00,$(lambdas)$(cpp0x))
|
||||
CXX_ONLY_FLAGS += $(CPP11_FLAGS)
|
||||
endif
|
||||
|
||||
CPLUS_FLAGS += -DUSE_WINTHREAD
|
||||
CPLUS_FLAGS += -D_WIN32_WINNT=$(_WIN32_WINNT)
|
||||
|
||||
|
||||
+27
-37
@@ -1,20 +1,20 @@
|
||||
# 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.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
#
|
||||
# Copyright 2005-2015 Intel Corporation. All Rights Reserved.
|
||||
#
|
||||
# This file is part of Threading Building Blocks. Threading Building Blocks is free software;
|
||||
# you can redistribute it and/or modify it under the terms of the GNU General Public License
|
||||
# version 2 as published by the Free Software Foundation. Threading Building Blocks is
|
||||
# distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the GNU General Public License for more details. You should have received a copy of
|
||||
# the GNU General Public License along with Threading Building Blocks; if not, write to the
|
||||
# Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
# As a special exception, you may use this file as part of a free software library without
|
||||
# restriction. Specifically, if other files instantiate templates or use macros or inline
|
||||
# functions from this file, or you compile this file and link it with other files to produce
|
||||
# an executable, this file does not by itself cause the resulting executable to be covered
|
||||
# by the GNU General Public License. This exception does not however invalidate any other
|
||||
# reasons why the executable file might be covered by the GNU General Public License.
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# Define compiler-specific variables.
|
||||
@@ -38,11 +38,13 @@ LINK_FLAGS = /link /nologo
|
||||
LIB_LINK_FLAGS= /link /nologo /DLL /MAP /DEBUG /fixed:no /INCREMENTAL:NO /DYNAMICBASE /NXCOMPAT
|
||||
|
||||
ifeq ($(arch), ia32)
|
||||
LIB_LINK_FLAGS += /SAFESEH
|
||||
LIB_LINK_FLAGS += /SAFESEH
|
||||
endif
|
||||
|
||||
ifneq (,$(stdver))
|
||||
CXX_STD_FLAGS = /Qstd=$(stdver)
|
||||
|
||||
# ICC 11.0 and higher support -std=c++0x
|
||||
ifeq (ok,$(call detect_js,/minversion icl 11))
|
||||
CPP11_FLAGS = /Qstd=c++0x /D_TBB_CPP0X
|
||||
endif
|
||||
|
||||
# ICC 12.0 and higher provide Intel(R) Cilk(TM) Plus
|
||||
@@ -50,17 +52,12 @@ ifeq (ok,$(call detect_js,/minversion icl 12))
|
||||
CILK_AVAILABLE = yes
|
||||
endif
|
||||
|
||||
# ICC 17.0.4 and higher provide support for VS2017
|
||||
ifeq (ok,$(call detect_js,/minversion icl 17 4))
|
||||
VS2017_SUPPORT = yes
|
||||
endif
|
||||
|
||||
ifeq ($(runtime), vc_mt)
|
||||
MS_CRT_KEY = /MT$(if $(findstring debug,$(cfg)),d)
|
||||
else
|
||||
MS_CRT_KEY = /MD$(if $(findstring debug,$(cfg)),d)
|
||||
endif
|
||||
EH_FLAGS = $(if $(no_exceptions),/EHs-,/EHsc /GR)
|
||||
EH_FLAGS = /EHsc /GR
|
||||
|
||||
ifeq ($(cfg), release)
|
||||
CPLUS_FLAGS = $(MS_CRT_KEY) /O2 /Zi $(EH_FLAGS) /Zc:forScope /Zc:wchar_t /D__TBB_LIB_NAME=$(TBB.LIB)
|
||||
@@ -82,13 +79,10 @@ OUTPUT_KEY = /Fe
|
||||
OUTPUTOBJ_KEY = /Fo
|
||||
WARNING_AS_ERROR_KEY = /WX
|
||||
WARNING_KEY = /W3
|
||||
WARNING_SUPPRESS = $(if $(no_exceptions),/wd583)
|
||||
DYLIB_KEY = /DLL
|
||||
EXPORT_KEY = /DEF:
|
||||
NODEFAULTLIB_KEY = /Zl
|
||||
NOINTRINSIC_KEY = /Oi-
|
||||
BIGOBJ_KEY = /bigobj
|
||||
INCLUDE_TEST_HEADERS = /FI$(tbb_root)/src/test/harness_preload.h
|
||||
|
||||
|
||||
ifneq (,$(codecov))
|
||||
@@ -106,7 +100,11 @@ ifeq ($(runtime),vc8)
|
||||
endif
|
||||
|
||||
|
||||
C_FLAGS = $(subst $(EH_FLAGS),,$(CPLUS_FLAGS))
|
||||
C_FLAGS = $(CPLUS_FLAGS)
|
||||
|
||||
ifneq (00,$(lambdas)$(cpp0x))
|
||||
CXX_ONLY_FLAGS += $(CPP11_FLAGS)
|
||||
endif
|
||||
|
||||
VCVERSION:=$(runtime)
|
||||
VCCOMPAT_FLAG ?= $(if $(findstring vc7.1, $(VCVERSION)),/Qvc7.1)
|
||||
@@ -128,14 +126,6 @@ endif
|
||||
ifeq ($(VCCOMPAT_FLAG),)
|
||||
VCCOMPAT_FLAG := $(if $(findstring vc12, $(VCVERSION)),/Qvc12)
|
||||
endif
|
||||
ifeq ($(VCCOMPAT_FLAG),)
|
||||
VCCOMPAT_FLAG := $(if $(findstring vc14, $(VCVERSION)),/Qvc14)
|
||||
ifeq ($(VS2017_SUPPORT),yes)
|
||||
ifneq (,$(findstring vc14.1, $(VCVERSION)))
|
||||
VCCOMPAT_FLAG := /Qvc14.1
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
ifeq ($(VCCOMPAT_FLAG),)
|
||||
$(error VC version not detected correctly: $(VCVERSION) )
|
||||
endif
|
||||
@@ -168,7 +158,7 @@ endif
|
||||
#------------------------------------------------------------------------------
|
||||
# Setting tbbmalloc data.
|
||||
#------------------------------------------------------------------------------
|
||||
M_CPLUS_FLAGS = $(CPLUS_FLAGS)
|
||||
M_CPLUS_FLAGS = $(subst $(EH_FLAGS),/EHs-,$(CPLUS_FLAGS))
|
||||
#------------------------------------------------------------------------------
|
||||
# End of setting tbbmalloc data.
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
+16
-18
@@ -1,20 +1,20 @@
|
||||
# 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.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
#
|
||||
# Copyright 2005-2015 Intel Corporation. All Rights Reserved.
|
||||
#
|
||||
# This file is part of Threading Building Blocks. Threading Building Blocks is free software;
|
||||
# you can redistribute it and/or modify it under the terms of the GNU General Public License
|
||||
# version 2 as published by the Free Software Foundation. Threading Building Blocks is
|
||||
# distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the GNU General Public License for more details. You should have received a copy of
|
||||
# the GNU General Public License along with Threading Building Blocks; if not, write to the
|
||||
# Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
# As a special exception, you may use this file as part of a free software library without
|
||||
# restriction. Specifically, if other files instantiate templates or use macros or inline
|
||||
# functions from this file, or you compile this file and link it with other files to produce
|
||||
# an executable, this file does not by itself cause the resulting executable to be covered
|
||||
# by the GNU General Public License. This exception does not however invalidate any other
|
||||
# reasons why the executable file might be covered by the GNU General Public License.
|
||||
|
||||
export SHELL = cmd
|
||||
|
||||
@@ -61,7 +61,7 @@ ASMEXT = asm
|
||||
def_prefix = $(if $(findstring intel64,$(arch)),win64,win32)
|
||||
|
||||
# Target Windows version. Do not increase beyond 0x0502 without prior discussion!
|
||||
# Used as the value for macro definition option in windows.cl.inc etc.
|
||||
# Used as the value for macro definition opiton in windows.cl.inc etc.
|
||||
# For tests, we need at least Windows XP SP2 for sake of enabling stack backtraces.
|
||||
_WIN32_WINNT=0x0502
|
||||
|
||||
@@ -107,5 +107,3 @@ MAKE_VERSIONS = cmd /C cscript /nologo /E:jscript $(subst \,/,$(tbb_root))/build
|
||||
MAKE_TBBVARS = cmd /C "$(subst /,\,$(tbb_root))\build\generate_tbbvars.bat"
|
||||
|
||||
TEST_LAUNCHER = $(subst /,\,$(tbb_root))\build\test_launcher.bat $(largs)
|
||||
|
||||
OPENCL.LIB = OpenCL.$(LIBEXT)
|
||||
|
||||
@@ -0,0 +1,85 @@
|
||||
# Copyright 2005-2015 Intel Corporation. All Rights Reserved.
|
||||
#
|
||||
# This file is part of Threading Building Blocks. Threading Building Blocks is free software;
|
||||
# you can redistribute it and/or modify it under the terms of the GNU General Public License
|
||||
# version 2 as published by the Free Software Foundation. Threading Building Blocks is
|
||||
# distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the GNU General Public License for more details. You should have received a copy of
|
||||
# the GNU General Public License along with Threading Building Blocks; if not, write to the
|
||||
# Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
# As a special exception, you may use this file as part of a free software library without
|
||||
# restriction. Specifically, if other files instantiate templates or use macros or inline
|
||||
# functions from this file, or you compile this file and link it with other files to produce
|
||||
# an executable, this file does not by itself cause the resulting executable to be covered
|
||||
# by the GNU General Public License. This exception does not however invalidate any other
|
||||
# reasons why the executable file might be covered by the GNU General Public License.
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# Define compiler-specific variables.
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# Setting compiler flags.
|
||||
#------------------------------------------------------------------------------
|
||||
CPLUS = cl /nologo
|
||||
LINK_FLAGS = /link /nologo
|
||||
LIB_LINK_FLAGS=/link /nologo /DLL /MAP /DEBUG
|
||||
MS_CRT_KEY = /MT$(if $(findstring debug,$(cfg)),d)
|
||||
EH_FLAGS = /EHsc /GR
|
||||
|
||||
ifeq ($(cfg), release)
|
||||
CPLUS_FLAGS = $(MS_CRT_KEY) /O2 /Zi $(EH_FLAGS) /Zc:forScope /D_XBOX /DTBB_NO_LEGACY=1
|
||||
ASM_FLAGS =
|
||||
endif
|
||||
ifeq ($(cfg), debug)
|
||||
CPLUS_FLAGS = $(MS_CRT_KEY) /Od /Ob0 /Zi $(EH_FLAGS) /Zc:forScope \
|
||||
/DTBB_USE_DEBUG /D_XBOX /DTBB_NO_LEGACY=1
|
||||
ASM_FLAGS = /DUSE_FRAME_POINTER
|
||||
endif
|
||||
|
||||
|
||||
COMPILE_ONLY = /c
|
||||
PREPROC_ONLY = /TP /EP
|
||||
INCLUDE_KEY = /I
|
||||
DEFINE_KEY = /D
|
||||
OUTPUT_KEY = /Fe
|
||||
OUTPUTOBJ_KEY = /Fo
|
||||
WARNING_AS_ERROR_KEY = /WX
|
||||
WARNING_KEY = /W3
|
||||
DYLIB_KEY = /DLL
|
||||
EXPORT_KEY = /DEF:
|
||||
|
||||
ifeq (em64t,$(arch))
|
||||
CPLUS_FLAGS += /GS-
|
||||
endif
|
||||
|
||||
CPLUS_FLAGS += /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /D_WIN32_WINNT=$(_WIN32_WINNT)
|
||||
C_FLAGS = $(CPLUS_FLAGS) /TC
|
||||
#------------------------------------------------------------------------------
|
||||
# End of setting compiler flags.
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# Setting assembler data.
|
||||
#------------------------------------------------------------------------------
|
||||
# nothing for XBOX360
|
||||
#------------------------------------------------------------------------------
|
||||
# End of setting assembler data.
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# Setting tbbmalloc data.
|
||||
#------------------------------------------------------------------------------
|
||||
M_CPLUS_FLAGS = $(subst $(EH_FLAGS),/EHs-,$(CPLUS_FLAGS))
|
||||
#------------------------------------------------------------------------------
|
||||
# End of setting tbbmalloc data.
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# End of define compiler-specific variables.
|
||||
#------------------------------------------------------------------------------
|
||||
@@ -0,0 +1,72 @@
|
||||
# Copyright 2005-2015 Intel Corporation. All Rights Reserved.
|
||||
#
|
||||
# This file is part of Threading Building Blocks. Threading Building Blocks is free software;
|
||||
# you can redistribute it and/or modify it under the terms of the GNU General Public License
|
||||
# version 2 as published by the Free Software Foundation. Threading Building Blocks is
|
||||
# distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
|
||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
# See the GNU General Public License for more details. You should have received a copy of
|
||||
# the GNU General Public License along with Threading Building Blocks; if not, write to the
|
||||
# Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
# As a special exception, you may use this file as part of a free software library without
|
||||
# restriction. Specifically, if other files instantiate templates or use macros or inline
|
||||
# functions from this file, or you compile this file and link it with other files to produce
|
||||
# an executable, this file does not by itself cause the resulting executable to be covered
|
||||
# by the GNU General Public License. This exception does not however invalidate any other
|
||||
# reasons why the executable file might be covered by the GNU General Public License.
|
||||
|
||||
ifdef tbb_build_dir
|
||||
test_dir:=$(tbb_build_dir)
|
||||
else
|
||||
test_dir:=.
|
||||
endif
|
||||
|
||||
# TODO give an error if archs doesn't match
|
||||
ifndef arch
|
||||
export arch:=xbox360
|
||||
endif
|
||||
|
||||
ifndef runtime
|
||||
export runtime:=xdk
|
||||
endif
|
||||
|
||||
native_compiler := cl
|
||||
export compiler ?= cl
|
||||
debugger ?= devenv /debugexe
|
||||
|
||||
CMD=cmd /C
|
||||
CWD=$(shell cmd /C echo %CD%)
|
||||
RM=cmd /C del /Q /F
|
||||
RD=cmd /C rmdir
|
||||
MD=cmd /c mkdir
|
||||
SLASH=\\
|
||||
NUL = nul
|
||||
|
||||
OBJ = obj
|
||||
DLL = dll
|
||||
LIBEXT = lib
|
||||
|
||||
def_prefix = $(arch)
|
||||
|
||||
# Target Windows version. Do not increase beyond 0x0500 without prior discussion!
|
||||
# Used as the value for macro definition opiton in compiler specific inc files.
|
||||
_WIN32_WINNT=0x0400
|
||||
|
||||
TBB.LST =
|
||||
TBB.DEF = $(tbb_root)/src/tbb/$(def_prefix)-tbb-export.def
|
||||
TBB.DLL = tbb$(CPF_SUFFIX)$(DEBUG_SUFFIX).$(DLL)
|
||||
TBB.LIB = tbb$(CPF_SUFFIX)$(DEBUG_SUFFIX).$(LIBEXT)
|
||||
TBB.RES =
|
||||
#On Windows we specify appropriate tbb library using #pragma comment
|
||||
LINK_TBB.LIB =
|
||||
|
||||
MALLOC.DEF = $(MALLOC_ROOT)/$(def_prefix)-tbbmalloc-export.def
|
||||
MALLOC.DLL = tbbmalloc$(DEBUG_SUFFIX).$(DLL)
|
||||
MALLOC.LIB = tbbmalloc$(DEBUG_SUFFIX).$(LIBEXT)
|
||||
#On Windows we specify appropriate tbbmalloc library using #pragma comment
|
||||
LINK_MALLOC.LIB =
|
||||
MALLOC.RES =
|
||||
|
||||
MAKE_VERSIONS = cmd /C cscript /nologo /E:jscript $(subst \,/,$(tbb_root))/build/version_info_windows.js $(compiler) $(arch) $(subst \,/,"$(VERSION_FLAGS)") > version_string.ver
|
||||
MAKE_TBBVARS = cmd /C "$(subst /,\,$(tbb_root))\build\generate_tbbvars.bat"
|
||||
@@ -1,285 +0,0 @@
|
||||
.. contents::
|
||||
|
||||
Introduction
|
||||
------------
|
||||
Many developers use CMake to manage their development projects, so the Intel(R) Threading Building Blocks (Intel(R) TBB)
|
||||
team created the set of CMake modules to simplify integration of the Intel TBB library into a CMake project.
|
||||
The modules are available starting from Intel TBB 2017 U7 in `<tbb_root>/cmake <https://github.com/01org/tbb/tree/tbb_2017/cmake>`_.
|
||||
|
||||
About Intel TBB
|
||||
^^^^^^^^^^^^^^^
|
||||
Intel TBB is a library that supports scalable parallel programming using standard ISO C++ code. It does not require special languages or compilers. It is designed to promote scalable data parallel programming. Additionally, it fully supports nested parallelism, so you can build larger parallel components from smaller parallel components. To use the library, you specify tasks, not threads, and let the library map tasks onto threads in an efficient manner.
|
||||
|
||||
Many of the library interfaces employ generic programming, in which interfaces are defined by requirements on types and not specific types. The C++ Standard Template Library (STL) is an example of generic programming. Generic programming enables Intel TBB to be flexible yet efficient. The generic interfaces enable you to customize components to your specific needs.
|
||||
|
||||
The net result is that Intel TBB enables you to specify parallelism far more conveniently than using raw threads, and at the same time can improve performance.
|
||||
|
||||
References
|
||||
^^^^^^^^^^
|
||||
* `Official Intel TBB open source site <https://www.threadingbuildingblocks.org/>`_
|
||||
* `Official GitHub repository <https://github.com/01org/tbb>`_
|
||||
|
||||
Engineering team contacts
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
The Intel TBB team is very interested in convenient integration of the Intel TBB library into customer projects. These CMake modules were created to provide such a possibility for CMake projects using a simple but powerful interface. We hope you will try these modules and we are looking forward to receiving your feedback!
|
||||
|
||||
E-mail us: `inteltbbdevelopers@intel.com <mailto:inteltbbdevelopers@intel.com>`_.
|
||||
|
||||
Visit our `forum <https://software.intel.com/en-us/forums/intel-threading-building-blocks/>`_.
|
||||
|
||||
Release Notes
|
||||
-------------
|
||||
* Minimum supported CMake version: ``3.0.0``.
|
||||
* Intel TBB versioning via `find_package <https://cmake.org/cmake/help/latest/command/find_package.html>`_ has restricted functionality: compatibility of update numbers (as well as interface versions) is not checked. Supported versioning: ``find_package(TBB <major>.<minor> ...)``. Intel TBB interface version can be obtained in the customer project via the ``TBB_INTERFACE_VERSION`` variable.
|
||||
|
||||
Use cases of Intel TBB integration into CMake-aware projects
|
||||
------------------------------------------------------------
|
||||
There are two types of Intel TBB packages:
|
||||
* Binary packages with pre-built binaries for Windows* OS, Linux* OS and macOS*. They are available on the releases page of the Github repository: https://github.com/01org/tbb/releases. The main purpose of the binary package integration is the ability to build Intel TBB header files and binaries into your CMake-aware project.
|
||||
* A source package is also available to download from the release page via the "Source code" link. In addition, it can be cloned from the repository by ``git clone https://github.com/01org/tbb.git``. The main purpose of the source package integration is to allow you to do a custom build of the Intel TBB library from the source files and then build that into your CMake-aware project.
|
||||
|
||||
There are four types of CMake modules that can be used to integrate Intel TBB: `TBBConfig`, `TBBGet`, `TBBMakeConfig` and `TBBBuild`. See `Technical documentation for CMake modules`_ section for additional details.
|
||||
|
||||
Binary package integration
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
The following use case is valid for packages starting from Intel TBB 2017 U7:
|
||||
|
||||
* Download package manually and make integration.
|
||||
|
||||
Pre-condition: Location of TBBConfig.cmake is available via ``TBB_DIR`` or ``CMAKE_PREFIX_PATH`` contains path to Intel TBB root.
|
||||
|
||||
CMake code for integration:
|
||||
|
||||
.. code:: cmake
|
||||
|
||||
find_package(TBB <options>)
|
||||
|
||||
The following use case is valid for all Intel TBB 2017 packages.
|
||||
|
||||
* Download package using TBBGet_ and make integration.
|
||||
|
||||
Pre-condition: Intel TBB CMake modules are available via <path-to-tbb-cmake-modules>.
|
||||
|
||||
CMake code for integration:
|
||||
.. code:: cmake
|
||||
|
||||
include(<path-to-tbb-cmake-modules>/TBBGet.cmake)
|
||||
tbb_get(TBB_ROOT tbb_root CONFIG_DIR TBB_DIR)
|
||||
find_package(TBB <options>)
|
||||
|
||||
Source package integration
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
* Build Intel TBB from existing source files using TBBBuild_ and make integration.
|
||||
|
||||
Pre-condition: Intel TBB source code is available via <tbb_root> and Intel TBB CMake modules are available via <path-to-tbb-cmake-modules>.
|
||||
|
||||
CMake code for integration:
|
||||
.. code:: cmake
|
||||
|
||||
include(<path-to-tbb-cmake-modules>/TBBBuild.cmake)
|
||||
tbb_build(TBB_ROOT <tbb_root> CONFIG_DIR TBB_DIR)
|
||||
find_package(TBB <options>)
|
||||
|
||||
* Download Intel TBB source files using TBBGet_, build it using TBBBuild_ and make integration.
|
||||
|
||||
Pre-condition: Intel TBB CMake modules are available via <path-to-tbb-cmake-modules>.
|
||||
|
||||
CMake code for integration:
|
||||
.. code:: cmake
|
||||
|
||||
include(<path-to-tbb-cmake-modules>/TBBGet.cmake)
|
||||
include(<path-to-tbb-cmake-modules>/TBBBuild.cmake)
|
||||
tbb_get(TBB_ROOT tbb_root SOURCE_CODE)
|
||||
tbb_build(TBB_ROOT ${tbb_root} CONFIG_DIR TBB_DIR)
|
||||
find_package(TBB <options>)
|
||||
|
||||
Tutorials: Intel TBB integration using CMake
|
||||
--------------------------------------------
|
||||
Binary Intel TBB integration to the sub_string_finder sample (Windows* OS)
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
In this example, we will integrate binary Intel TBB package into the sub_string_finder sample on Windows* OS (Microsoft* Visual Studio).
|
||||
This example is also applicable for other platforms with slight changes.
|
||||
Place holders <version> and <date> should be replaced with the actual values for the Intel TBB package being used. The example is written for `CMake 3.7.1`.
|
||||
|
||||
Precondition:
|
||||
* `Microsoft* Visual Studio 11` or higher.
|
||||
* `CMake 3.0.0` or higher.
|
||||
|
||||
#. Download the latest binary package for Windows from `this page <https://github.com/01org/tbb/releases/latest>`_ and unpack it to the directory ``C:\demo_tbb_cmake``.
|
||||
#. In the directory ``C:\demo_tbb_cmake\tbb<version>_<date>oss\examples\GettingStarted\sub_string_finder`` create ``CMakeLists.txt`` file with the following content:
|
||||
.. code:: cmake
|
||||
|
||||
cmake_minimum_required(VERSION 3.0.0 FATAL_ERROR)
|
||||
|
||||
project(sub_string_finder CXX)
|
||||
add_executable(sub_string_finder sub_string_finder.cpp)
|
||||
|
||||
# find_package will search for available TBBConfig using variables CMAKE_PREFIX_PATH and TBB_DIR.
|
||||
find_package(TBB REQUIRED tbb)
|
||||
|
||||
# Link Intel TBB imported targets to the executable;
|
||||
# "TBB::tbb" can be used instead of "${TBB_IMPORTED_TARGETS}".
|
||||
target_link_libraries(sub_string_finder ${TBB_IMPORTED_TARGETS})
|
||||
#. Run CMake GUI and:
|
||||
* Fill the following fields (you can use the buttons ``Browse Source...`` and ``Browse Build...`` accordingly)
|
||||
|
||||
* Where is the source code: ``C:/demo_tbb_cmake/tbb<version>_<date>oss/examples/GettingStarted/sub_string_finder``
|
||||
* Where to build the binaries: ``C:/demo_tbb_cmake/tbb<version>_<date>oss/examples/GettingStarted/sub_string_finder/build``
|
||||
|
||||
* Add new cache entry using button ``Add Entry`` to let CMake know where to search for TBBConfig:
|
||||
|
||||
* Name: ``CMAKE_PREFIX_PATH``
|
||||
* Type: ``PATH``
|
||||
* Value: ``C:/demo_tbb_cmake/tbb<version>_<date>oss``
|
||||
|
||||
* Push the button ``Generate`` and choose a proper generator for your Microsoft* Visual Studio version.
|
||||
#. Now you can open the generated solution ``C:/demo_tbb_cmake/tbb<version>_<date>oss/examples/GettingStarted/sub_string_finder/build/sub_string_finder.sln`` in your Microsoft* Visual Studio and build it.
|
||||
|
||||
Source code integration of Intel TBB to the sub_string_finder sample (Linux* OS)
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
In this example, we will build Intel TBB from source code with enabled Community Preview Features and link the sub_string_finder sample with the built library.
|
||||
This example is also applicable for other platforms with slight changes.
|
||||
|
||||
Precondition:
|
||||
* `CMake 3.0.0` or higher.
|
||||
* `Git` (to clone the Intel TBB repository from GitHub)
|
||||
|
||||
#. Create the directory ``~/demo_tbb_cmake``, go to the created directory and clone the Intel TBB repository there:
|
||||
``mkdir ~/demo_tbb_cmake ; cd ~/demo_tbb_cmake ; git clone https://github.com/01org/tbb.git``
|
||||
#. In the directory ``~/demo_tbb_cmake/tbb/examples/GettingStarted/sub_string_finder`` create ``CMakeLists.txt`` file with following content:
|
||||
.. code:: cmake
|
||||
|
||||
cmake_minimum_required(VERSION 3.0.0 FATAL_ERROR)
|
||||
|
||||
project(sub_string_finder CXX)
|
||||
add_executable(sub_string_finder sub_string_finder.cpp)
|
||||
|
||||
include(${TBB_ROOT}/cmake/TBBBuild.cmake)
|
||||
|
||||
# Build Intel TBB with enabled Community Preview Features (CPF).
|
||||
tbb_build(TBB_ROOT ${TBB_ROOT} CONFIG_DIR TBB_DIR MAKE_ARGS tbb_cpf=1)
|
||||
|
||||
find_package(TBB REQUIRED tbb_preview)
|
||||
|
||||
# Link Intel TBB imported targets to the executable;
|
||||
# "TBB::tbb_preview" can be used instead of "${TBB_IMPORTED_TARGETS}".
|
||||
target_link_libraries(sub_string_finder ${TBB_IMPORTED_TARGETS})
|
||||
#. Create a build directory for the sub_string_finder sample to perform build out of source, go to the created directory
|
||||
``mkdir ~/demo_tbb_cmake/tbb/examples/GettingStarted/sub_string_finder/build ; cd ~/demo_tbb_cmake/tbb/examples/GettingStarted/sub_string_finder/build``
|
||||
#. Run CMake to prepare Makefile for the sub_string_finder sample and provide Intel TBB location (root) where to perform build:
|
||||
``cmake -DTBB_ROOT=${HOME}/demo_tbb_cmake/tbb ..``
|
||||
#. Make an executable and run it:
|
||||
``make ; ./sub_string_finder``
|
||||
|
||||
Technical documentation for CMake modules
|
||||
-----------------------------------------
|
||||
TBBConfig
|
||||
^^^^^^^^^
|
||||
|
||||
Configuration module for ``Intel(R) Threading Building Blocks (Intel(R) TBB)`` library.
|
||||
|
||||
How to use this module in your CMake project:
|
||||
#. Add location of Intel TBB (root) to `CMAKE_PREFIX_PATH <https://cmake.org/cmake/help/latest/variable/CMAKE_PREFIX_PATH.html>`_
|
||||
or specify location of TBBConfig.cmake in ``TBB_DIR``.
|
||||
#. Use `find_package <https://cmake.org/cmake/help/latest/command/find_package.html>`_ to configure Intel TBB.
|
||||
#. Use provided variables and/or imported targets (described below) to work with Intel TBB.
|
||||
|
||||
Intel TBB components can be passed to `find_package <https://cmake.org/cmake/help/latest/command/find_package.html>`_
|
||||
after keyword ``COMPONENTS`` or ``REQUIRED``.
|
||||
Use basic names of components (``tbb``, ``tbbmalloc``, ``tbb_preview``, etc.).
|
||||
|
||||
If components are not specified then default are used: ``tbb``, ``tbbmalloc`` and ``tbbmalloc_proxy``.
|
||||
|
||||
If ``tbbmalloc_proxy`` is requested, ``tbbmalloc`` component will also be added and set as dependency for ``tbbmalloc_proxy``.
|
||||
|
||||
TBBConfig creates `imported targets <https://cmake.org/cmake/help/latest/manual/cmake-buildsystem.7.html#imported-targets>`_ as
|
||||
shared libraries using the following format: ``TBB::<component>`` (for example, ``TBB::tbb``, ``TBB::tbbmalloc``).
|
||||
|
||||
Variables set during Intel TBB configuration:
|
||||
|
||||
========================= ================================================
|
||||
Variable Description
|
||||
========================= ================================================
|
||||
``TBB_FOUND`` Intel TBB library is found
|
||||
``TBB_<component>_FOUND`` specific Intel TBB component is found
|
||||
``TBB_IMPORTED_TARGETS`` all created Intel TBB imported targets
|
||||
``TBB_VERSION`` Intel TBB version (format: ``<major>.<minor>``)
|
||||
``TBB_INTERFACE_VERSION`` Intel TBB interface version
|
||||
========================= ================================================
|
||||
|
||||
TBBGet
|
||||
^^^^^^
|
||||
|
||||
Module for getting ``Intel(R) Threading Building Blocks (Intel(R) TBB)`` library from `GitHub <https://github.com/01org/tbb>`_.
|
||||
|
||||
Provides the following functions:
|
||||
``tbb_get(TBB_ROOT <variable> [RELEASE_TAG <release_tag>|LATEST] [SAVE_TO <path>] [SYSTEM_NAME Linux|Windows|Darwin] [CONFIG_DIR <variable> | SOURCE_CODE])``
|
||||
downloads Intel TBB from GitHub and creates TBBConfig for the downloaded binary package if there is no TBBConfig.
|
||||
|
||||
==================================== ====================================
|
||||
Parameter Description
|
||||
==================================== ====================================
|
||||
``TBB_ROOT <variable>`` a variable to save Intel TBB root in, ``<variable>-NOTFOUND`` will be provided in case ``tbb_get`` is unsuccessful
|
||||
``RELEASE_TAG <release_tag>|LATEST`` Intel TBB release tag to be downloaded (for example, ``2017_U6``), ``LATEST`` is used by default
|
||||
``SAVE_TO <path>`` path to location at which to unpack downloaded Intel TBB, ``${CMAKE_CURRENT_BINARY_DIR}/tbb_downloaded`` is used by default
|
||||
``SYSTEM_NAME Linux|Windows|Darwin`` operating system name to download a binary package for,
|
||||
value of `CMAKE_SYSTEM_NAME <https://cmake.org/cmake/help/latest/variable/CMAKE_SYSTEM_NAME.html>`_ is used by default
|
||||
``CONFIG_DIR <variable>`` a variable to save location of TBBConfig.cmake and TBBConfigVersion.cmake. Ignored if ``SOURCE_CODE`` specified
|
||||
``SOURCE_CODE`` flag to get Intel TBB source code (instead of binary package)
|
||||
==================================== ====================================
|
||||
|
||||
TBBMakeConfig
|
||||
^^^^^^^^^^^^^
|
||||
|
||||
Module for making TBBConfig in ``Intel(R) Threading Building Blocks (Intel(R) TBB)`` binary package.
|
||||
|
||||
This module is to be used for packages that do not have TBBConfig.
|
||||
|
||||
Provides the following functions:
|
||||
``tbb_make_config(TBB_ROOT <path> CONFIG_DIR <variable> [SYSTEM_NAME Linux|Windows|Darwin])``
|
||||
creates CMake configuration files (TBBConfig.cmake and TBBConfigVersion.cmake) for Intel TBB binary package.
|
||||
|
||||
==================================== ====================================
|
||||
Parameter Description
|
||||
==================================== ====================================
|
||||
``TBB_ROOT <variable>`` path to Intel TBB root
|
||||
``CONFIG_DIR <variable>`` a variable to store location of the created configuration files
|
||||
``SYSTEM_NAME Linux|Windows|Darwin`` operating system name of the binary Intel TBB package,
|
||||
value of `CMAKE_SYSTEM_NAME <https://cmake.org/cmake/help/latest/variable/CMAKE_SYSTEM_NAME.html>`_ is used by default
|
||||
==================================== ====================================
|
||||
|
||||
TBBBuild
|
||||
^^^^^^^^
|
||||
|
||||
Module for building ``Intel(R) Threading Building Blocks (Intel(R) TBB)`` library from the source code.
|
||||
|
||||
Provides the following functions:
|
||||
``tbb_build(TBB_ROOT <tbb_root> CONFIG_DIR <variable> [MAKE_ARGS <custom_make_arguments>])``
|
||||
builds Intel TBB from source code using the ``Makefile``, creates and provides the location of the CMake configuration files (TBBConfig.cmake and TBBConfigVersion.cmake) .
|
||||
|
||||
===================================== ====================================
|
||||
Parameter Description
|
||||
===================================== ====================================
|
||||
``TBB_ROOT <variable>`` path to Intel TBB root
|
||||
``CONFIG_DIR <variable>`` a variable to store location of the created configuration files,
|
||||
``<variable>-NOTFOUND`` will be provided in case ``tbb_build`` is unsuccessful
|
||||
``MAKE_ARGS <custom_make_arguments>`` custom arguments to be passed to ``make`` tool.
|
||||
|
||||
The following arguments are always passed with automatically detected values to
|
||||
``make`` tool if they are not redefined in ``<custom_make_arguments>``:
|
||||
|
||||
- ``compiler=<compiler>``
|
||||
- ``tbb_build_dir=<tbb_build_dir>``
|
||||
- ``tbb_build_prefix=<tbb_build_prefix>``
|
||||
- ``-j<n>``
|
||||
===================================== ====================================
|
||||
|
||||
|
||||
------------
|
||||
|
||||
Intel and the Intel logo are trademarks of Intel Corporation or its subsidiaries in the U.S. and/or other countries.
|
||||
|
||||
``*`` Other names and brands may be claimed as the property of others.
|
||||
@@ -1,197 +0,0 @@
|
||||
# Copyright (c) 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.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
#
|
||||
#
|
||||
#
|
||||
|
||||
#
|
||||
# Usage:
|
||||
# include(TBBBuild.cmake)
|
||||
# tbb_build(ROOT <tbb_root> MAKE_ARGS <arg1> [... <argN>])
|
||||
# find_package(TBB <options>)
|
||||
#
|
||||
|
||||
include(CMakeParseArguments)
|
||||
|
||||
# Save the location of Intel TBB CMake modules here, as it will not be possible to do inside functions,
|
||||
# see for details: https://cmake.org/cmake/help/latest/variable/CMAKE_CURRENT_LIST_DIR.html
|
||||
set(_tbb_cmake_module_path ${CMAKE_CURRENT_LIST_DIR})
|
||||
|
||||
##
|
||||
# Builds Intel TBB.
|
||||
#
|
||||
# Parameters:
|
||||
# TBB_ROOT <directory> - path to Intel TBB root directory (with sources);
|
||||
# MAKE_ARGS <list> - user-defined arguments to be passed to make-tool;
|
||||
# CONFIG_DIR <variable> - store location of the created TBBConfig if the build was ok, store <variable>-NOTFOUND otherwise.
|
||||
#
|
||||
function(tbb_build)
|
||||
# NOTE: internal function are used to hide them from user.
|
||||
|
||||
##
|
||||
# Provides arguments for make-command to build Intel TBB.
|
||||
#
|
||||
# Following arguments are provided automatically if they are not defined by user:
|
||||
# compiler=<value>
|
||||
# tbb_build_dir=<value>
|
||||
# tbb_build_prefix=<value>
|
||||
# -j<n>
|
||||
#
|
||||
# Parameters:
|
||||
# USER_DEFINED_ARGS <list> - list of user-defined arguments;
|
||||
# RESULT <variable> - resulting list of 'make' arguments.
|
||||
#
|
||||
function(tbb_get_make_args)
|
||||
set(oneValueArgs RESULT)
|
||||
set(multiValueArgs USER_DEFINED_ARGS)
|
||||
cmake_parse_arguments(tbb_GMA "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN})
|
||||
|
||||
set(result ${tbb_GMA_USER_DEFINED_ARGS})
|
||||
|
||||
if (NOT tbb_GMA_USER_DEFINED_ARGS MATCHES "compiler=")
|
||||
# TODO: add other supported compilers.
|
||||
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
||||
set(compiler gcc)
|
||||
elseif (CMAKE_CXX_COMPILER_ID STREQUAL "Intel")
|
||||
set(compiler icc)
|
||||
if (CMAKE_SYSTEM_NAME MATCHES "Windows")
|
||||
set(compiler icl)
|
||||
endif()
|
||||
elseif (MSVC)
|
||||
set(compiler cl)
|
||||
elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
||||
set(compiler clang)
|
||||
endif()
|
||||
|
||||
set(result "compiler=${compiler}" ${result})
|
||||
endif()
|
||||
|
||||
if (NOT tbb_GMA_USER_DEFINED_ARGS MATCHES "tbb_build_dir=")
|
||||
set(result "tbb_build_dir=${CMAKE_CURRENT_BINARY_DIR}/tbb_cmake_build" ${result})
|
||||
endif()
|
||||
|
||||
if (NOT tbb_GMA_USER_DEFINED_ARGS MATCHES "tbb_build_prefix=")
|
||||
set(result "tbb_build_prefix=tbb_cmake_build_subdir" ${result})
|
||||
endif()
|
||||
|
||||
if (NOT tbb_GMA_USER_DEFINED_ARGS MATCHES "(;|^) *\\-j[0-9]* *(;|$)")
|
||||
include(ProcessorCount)
|
||||
ProcessorCount(num_of_cores)
|
||||
if (NOT num_of_cores EQUAL 0)
|
||||
set(result "-j${num_of_cores}" ${result})
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if (CMAKE_SYSTEM_NAME MATCHES "Android")
|
||||
set(result target=android ${result})
|
||||
endif()
|
||||
|
||||
set(${tbb_GMA_RESULT} ${result} PARENT_SCOPE)
|
||||
endfunction()
|
||||
|
||||
##
|
||||
# Provides release and debug directories basing on 'make' arguments.
|
||||
#
|
||||
# Following 'make' arguments are parsed: tbb_build_dir, tbb_build_prefix
|
||||
#
|
||||
# Parameters:
|
||||
# MAKE_ARGS <list> - 'make' arguments (tbb_build_dir and tbb_build_prefix are required)
|
||||
# RELEASE_DIR <variable> - store normalized (CMake) path to release directory
|
||||
# DEBUG_DIR <variable> - store normalized (CMake) path to debug directory
|
||||
#
|
||||
function(tbb_get_build_paths_from_make_args)
|
||||
set(oneValueArgs RELEASE_DIR DEBUG_DIR)
|
||||
set(multiValueArgs MAKE_ARGS)
|
||||
cmake_parse_arguments(tbb_GBPFMA "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN})
|
||||
|
||||
foreach(arg ${tbb_GBPFMA_MAKE_ARGS})
|
||||
if (arg MATCHES "tbb_build_dir=")
|
||||
string(REPLACE "tbb_build_dir=" "" tbb_build_dir "${arg}")
|
||||
elseif (arg MATCHES "tbb_build_prefix=")
|
||||
string(REPLACE "tbb_build_prefix=" "" tbb_build_prefix "${arg}")
|
||||
endif()
|
||||
endforeach()
|
||||
|
||||
set(tbb_release_dir "${tbb_build_dir}/${tbb_build_prefix}_release")
|
||||
set(tbb_debug_dir "${tbb_build_dir}/${tbb_build_prefix}_debug")
|
||||
|
||||
file(TO_CMAKE_PATH "${tbb_release_dir}" tbb_release_dir)
|
||||
file(TO_CMAKE_PATH "${tbb_debug_dir}" tbb_debug_dir)
|
||||
|
||||
set(${tbb_GBPFMA_RELEASE_DIR} ${tbb_release_dir} PARENT_SCOPE)
|
||||
set(${tbb_GBPFMA_DEBUG_DIR} ${tbb_debug_dir} PARENT_SCOPE)
|
||||
endfunction()
|
||||
|
||||
# -------------------- #
|
||||
# Function entry point #
|
||||
# -------------------- #
|
||||
set(oneValueArgs TBB_ROOT CONFIG_DIR)
|
||||
set(multiValueArgs MAKE_ARGS)
|
||||
cmake_parse_arguments(tbb_build "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN})
|
||||
|
||||
if (NOT EXISTS "${tbb_build_TBB_ROOT}/Makefile" OR NOT EXISTS "${tbb_build_TBB_ROOT}/src")
|
||||
message(STATUS "Intel TBB can not be built: Makefile or src directory was not found in ${tbb_build_TBB_ROOT}")
|
||||
set(${tbb_build_CONFIG_DIR} ${tbb_build_CONFIG_DIR}-NOTFOUND PARENT_SCOPE)
|
||||
return()
|
||||
endif()
|
||||
|
||||
set(make_tool_name make)
|
||||
if (CMAKE_SYSTEM_NAME MATCHES "Windows")
|
||||
set(make_tool_name gmake)
|
||||
elseif (CMAKE_SYSTEM_NAME MATCHES "Android")
|
||||
set(make_tool_name ndk-build)
|
||||
endif()
|
||||
|
||||
find_program(TBB_MAKE_TOOL ${make_tool_name} DOC "Make-tool to build Intel TBB.")
|
||||
mark_as_advanced(TBB_MAKE_TOOL)
|
||||
|
||||
if (NOT TBB_MAKE_TOOL)
|
||||
message(STATUS "Intel TBB can not be built: required make-tool (${make_tool_name}) was not found")
|
||||
set(${tbb_build_CONFIG_DIR} ${tbb_build_CONFIG_DIR}-NOTFOUND PARENT_SCOPE)
|
||||
return()
|
||||
endif()
|
||||
|
||||
tbb_get_make_args(USER_DEFINED_ARGS ${tbb_build_MAKE_ARGS} RESULT tbb_make_args)
|
||||
|
||||
set(tbb_build_cmd ${TBB_MAKE_TOOL} ${tbb_make_args})
|
||||
|
||||
string(REPLACE ";" " " tbb_build_cmd_str "${tbb_build_cmd}")
|
||||
message(STATUS "Building Intel TBB: ${tbb_build_cmd_str}")
|
||||
execute_process(COMMAND ${tbb_build_cmd}
|
||||
WORKING_DIRECTORY ${tbb_build_TBB_ROOT}
|
||||
RESULT_VARIABLE tbb_build_result
|
||||
ERROR_VARIABLE tbb_build_error_output
|
||||
OUTPUT_QUIET)
|
||||
|
||||
if (NOT tbb_build_result EQUAL 0)
|
||||
message(STATUS "Building is unsuccessful (${tbb_build_result}): ${tbb_build_error_output}")
|
||||
set(${tbb_build_CONFIG_DIR} ${tbb_build_CONFIG_DIR}-NOTFOUND PARENT_SCOPE)
|
||||
return()
|
||||
endif()
|
||||
|
||||
tbb_get_build_paths_from_make_args(MAKE_ARGS ${tbb_make_args}
|
||||
RELEASE_DIR tbb_release_dir
|
||||
DEBUG_DIR tbb_debug_dir)
|
||||
|
||||
include(${_tbb_cmake_module_path}/TBBMakeConfig.cmake)
|
||||
tbb_make_config(TBB_ROOT ${tbb_build_TBB_ROOT}
|
||||
SYSTEM_NAME ${CMAKE_SYSTEM_NAME}
|
||||
CONFIG_DIR tbb_config_dir
|
||||
CONFIG_FOR_SOURCE
|
||||
TBB_RELEASE_DIR ${tbb_release_dir}
|
||||
TBB_DEBUG_DIR ${tbb_debug_dir})
|
||||
|
||||
set(${tbb_build_CONFIG_DIR} ${tbb_config_dir} PARENT_SCOPE)
|
||||
endfunction()
|
||||
@@ -1,298 +0,0 @@
|
||||
# Copyright (c) 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.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
#
|
||||
#
|
||||
#
|
||||
|
||||
include(CMakeParseArguments)
|
||||
|
||||
# Save the location of Intel TBB CMake modules here, as it will not be possible to do inside functions,
|
||||
# see for details: https://cmake.org/cmake/help/latest/variable/CMAKE_CURRENT_LIST_DIR.html
|
||||
set(_tbb_cmake_module_path ${CMAKE_CURRENT_LIST_DIR})
|
||||
|
||||
##
|
||||
# Downloads file.
|
||||
#
|
||||
# Parameters:
|
||||
# URL <url> - URL to download data from;
|
||||
# SAVE_AS <filename> - filename there to save downloaded data;
|
||||
# INFO <string> - text description of content to be downloaded;
|
||||
# will be printed as message in format is "Downloading <INFO>: <URL>;
|
||||
# FORCE - option to delete local file from SAVE_AS if it exists;
|
||||
#
|
||||
function(_tbb_download_file)
|
||||
set(options FORCE)
|
||||
set(oneValueArgs URL RELEASE SAVE_AS INFO)
|
||||
cmake_parse_arguments(tbb_df "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN})
|
||||
|
||||
if (tbb_df_FORCE AND EXISTS "${tbb_df_SAVE_AS}")
|
||||
file(REMOVE ${tbb_df_SAVE_AS})
|
||||
endif()
|
||||
|
||||
if (NOT EXISTS "${tbb_df_SAVE_AS}")
|
||||
set(_show_progress)
|
||||
if (TBB_DOWNLOADING_PROGRESS)
|
||||
set(_show_progress SHOW_PROGRESS)
|
||||
endif()
|
||||
|
||||
message(STATUS "Downloading ${tbb_df_INFO}: ${tbb_df_URL}")
|
||||
file(DOWNLOAD ${tbb_df_URL} ${tbb_df_SAVE_AS} ${_show_progress} STATUS download_status)
|
||||
|
||||
list(GET download_status 0 download_status_num)
|
||||
if (NOT download_status_num EQUAL 0)
|
||||
message(STATUS "Unsuccessful downloading: ${download_status}")
|
||||
file(REMOVE ${tbb_df_SAVE_AS})
|
||||
return()
|
||||
endif()
|
||||
else()
|
||||
message(STATUS "Needed file was found locally ${tbb_df_SAVE_AS}. Remove it if you still want to download a new one")
|
||||
endif()
|
||||
endfunction()
|
||||
|
||||
##
|
||||
# Checks if specified Intel TBB release is available on GitHub.
|
||||
#
|
||||
# tbb_check_git_release(<release> <result>)
|
||||
# Parameters:
|
||||
# <release_tag> - release to be checked;
|
||||
# <result> - store result (TRUE/FALSE).
|
||||
#
|
||||
function(_tbb_check_git_release_tag _tbb_release_tag _tbb_release_tag_avail)
|
||||
if (_tbb_release_tag STREQUAL LATEST)
|
||||
set(${_tbb_release_tag_avail} TRUE PARENT_SCOPE)
|
||||
return()
|
||||
endif()
|
||||
|
||||
set(tbb_releases_file "${CMAKE_CURRENT_BINARY_DIR}/tbb_releases.json")
|
||||
|
||||
_tbb_download_file(URL "${tbb_github_api}/releases"
|
||||
SAVE_AS ${tbb_releases_file}
|
||||
INFO "information from GitHub about Intel TBB releases"
|
||||
FORCE)
|
||||
|
||||
if (NOT EXISTS "${tbb_releases_file}")
|
||||
set(${_tbb_release_tag_avail} FALSE PARENT_SCOPE)
|
||||
return()
|
||||
endif()
|
||||
|
||||
file(READ ${tbb_releases_file} tbb_releases)
|
||||
|
||||
string(REPLACE "\"" "" tbb_releases ${tbb_releases})
|
||||
string(REGEX MATCHALL "tag_name: *([A-Za-z0-9_\\.]+)" tbb_releases ${tbb_releases})
|
||||
|
||||
set(_release_available FALSE)
|
||||
foreach(tbb_rel ${tbb_releases})
|
||||
string(REGEX REPLACE "tag_name: *" "" tbb_rel_cut ${tbb_rel})
|
||||
list(REMOVE_ITEM tbb_releases ${tbb_rel})
|
||||
list(APPEND tbb_releases ${tbb_rel_cut})
|
||||
if (_tbb_release_tag STREQUAL tbb_rel_cut)
|
||||
set(_release_available TRUE)
|
||||
break()
|
||||
endif()
|
||||
endforeach()
|
||||
|
||||
if (NOT _release_available)
|
||||
string(REPLACE ";" ", " tbb_releases_str "${tbb_releases}")
|
||||
message(STATUS "Requested release tag ${_tbb_release_tag} is not available. Available Intel TBB release tags: ${tbb_releases_str}")
|
||||
endif()
|
||||
|
||||
set(${_tbb_release_tag_avail} ${_release_available} PARENT_SCOPE)
|
||||
endfunction()
|
||||
|
||||
##
|
||||
# Compares two Intel TBB releases and provides result
|
||||
# TRUE if the first release is less than the second, FALSE otherwise.
|
||||
#
|
||||
# tbb_is_release_less(<rel1> <rel2> <result>)
|
||||
#
|
||||
function(_tbb_is_release_less rel1 rel2 result)
|
||||
# Convert release to numeric representation to compare it using "if" with VERSION_LESS.
|
||||
string(REGEX REPLACE "[A-Za-z]" "" rel1 "${rel1}")
|
||||
string(REPLACE "_" "." rel1 "${rel1}")
|
||||
string(REGEX REPLACE "[A-Za-z]" "" rel2 "${rel2}")
|
||||
string(REPLACE "_" "." rel2 "${rel2}")
|
||||
|
||||
if (${rel1} VERSION_LESS ${rel2})
|
||||
set(${result} TRUE PARENT_SCOPE)
|
||||
return()
|
||||
endif()
|
||||
|
||||
set(${result} FALSE PARENT_SCOPE)
|
||||
endfunction()
|
||||
|
||||
##
|
||||
# Finds exact URL to download Intel TBB basing on provided parameters.
|
||||
#
|
||||
# Usage:
|
||||
# _tbb_get_url(URL <var_to_save_url> RELEASE_TAG <release_tag|LATEST> OS <os> [SOURCE_CODE])
|
||||
#
|
||||
function(_tbb_get_url)
|
||||
set(oneValueArgs URL RELEASE_TAG OS)
|
||||
set(options SOURCE_CODE)
|
||||
cmake_parse_arguments(tbb_get_url "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN})
|
||||
|
||||
set(tbb_github_api "https://api.github.com/repos/01org/tbb")
|
||||
|
||||
_tbb_check_git_release_tag(${tbb_get_url_RELEASE_TAG} tbb_release_available)
|
||||
if (NOT tbb_release_available)
|
||||
set(${tbb_download_FULL_PATH} ${tbb_download_FULL_PATH}-NOTFOUND PARENT_SCOPE)
|
||||
return()
|
||||
endif()
|
||||
|
||||
if (tbb_get_url_RELEASE_TAG STREQUAL LATEST)
|
||||
set(tbb_rel_info_api_url "${tbb_github_api}/releases/latest")
|
||||
else()
|
||||
set(tbb_rel_info_api_url "${tbb_github_api}/releases/tags/${tbb_get_url_RELEASE_TAG}")
|
||||
endif()
|
||||
|
||||
set(tbb_release_info_file "${CMAKE_CURRENT_BINARY_DIR}/tbb_${tbb_get_url_RELEASE_TAG}_info.json")
|
||||
|
||||
_tbb_download_file(URL ${tbb_rel_info_api_url}
|
||||
SAVE_AS ${tbb_release_info_file}
|
||||
INFO "information from GitHub about packages for Intel TBB ${tbb_get_url_RELEASE_TAG}"
|
||||
FORCE)
|
||||
|
||||
if (NOT EXISTS "${tbb_release_info_file}")
|
||||
set(${tbb_get_url_URL} ${tbb_get_url_URL}-NOTFOUND PARENT_SCOPE)
|
||||
return()
|
||||
endif()
|
||||
|
||||
file(STRINGS ${tbb_release_info_file} tbb_release_info)
|
||||
|
||||
if (tbb_get_url_SOURCE_CODE)
|
||||
# Find name of the latest release to get link to source archive.
|
||||
if (tbb_get_url_RELEASE_TAG STREQUAL LATEST)
|
||||
string(REPLACE "\"" "" tbb_release_info ${tbb_release_info})
|
||||
string(REGEX REPLACE ".*tag_name: *([A-Za-z0-9_\\.]+).*" "\\1" tbb_get_url_RELEASE_TAG "${tbb_release_info}")
|
||||
endif()
|
||||
|
||||
set(${tbb_get_url_URL} "https://github.com/01org/tbb/archive/${tbb_get_url_RELEASE_TAG}.tar.gz" PARENT_SCOPE)
|
||||
else()
|
||||
if (tbb_get_url_OS MATCHES "Linux")
|
||||
set(tbb_lib_archive_suffix lin.tgz)
|
||||
elseif (tbb_get_url_OS MATCHES "Windows")
|
||||
set(tbb_lib_archive_suffix win.zip)
|
||||
elseif (tbb_get_url_OS MATCHES "Darwin")
|
||||
set(tbb_lib_archive_suffix mac.tgz)
|
||||
|
||||
# Since 2017_U4 release archive for Apple has suffix "mac.tgz" instead of "osx.tgz".
|
||||
if (NOT tbb_get_url_RELEASE_TAG STREQUAL "LATEST")
|
||||
_tbb_is_release_less(${tbb_get_url_RELEASE_TAG} 2017_U4 release_less)
|
||||
if (release_less)
|
||||
set(tbb_lib_archive_suffix osx.tgz)
|
||||
endif()
|
||||
endif()
|
||||
elseif (tbb_get_url_OS MATCHES "Android")
|
||||
set(tbb_lib_archive_suffix and.tgz)
|
||||
else()
|
||||
message(STATUS "Currently prebuilt Intel TBB is not available for your OS (${tbb_get_url_OS})")
|
||||
set(${tbb_get_url_URL} ${tbb_get_url_URL}-NOTFOUND PARENT_SCOPE)
|
||||
return()
|
||||
endif()
|
||||
|
||||
string(REGEX REPLACE ".*(https.*oss_${tbb_lib_archive_suffix}).*" "\\1" tbb_bin_url "${tbb_release_info}")
|
||||
|
||||
set(${tbb_get_url_URL} ${tbb_bin_url} PARENT_SCOPE)
|
||||
endif()
|
||||
endfunction()
|
||||
|
||||
function(tbb_get)
|
||||
set(oneValueArgs RELEASE_TAG SYSTEM_NAME SAVE_TO TBB_ROOT CONFIG_DIR)
|
||||
set(options SOURCE_CODE)
|
||||
cmake_parse_arguments(tbb_get "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN})
|
||||
|
||||
set(tbb_os ${CMAKE_SYSTEM_NAME})
|
||||
if (tbb_get_SYSTEM_NAME)
|
||||
set(tbb_os ${tbb_get_SYSTEM_NAME})
|
||||
endif()
|
||||
|
||||
set(tbb_release_tag LATEST)
|
||||
if (tbb_get_RELEASE_TAG)
|
||||
set(tbb_release_tag ${tbb_get_RELEASE_TAG})
|
||||
endif()
|
||||
|
||||
set(tbb_save_to ${CMAKE_CURRENT_BINARY_DIR}/tbb_downloaded)
|
||||
if (tbb_get_SAVE_TO)
|
||||
set(tbb_save_to ${tbb_get_SAVE_TO})
|
||||
endif()
|
||||
|
||||
if (tbb_get_SOURCE_CODE)
|
||||
_tbb_get_url(URL tbb_url RELEASE_TAG ${tbb_release_tag} OS ${tbb_os} SOURCE_CODE)
|
||||
else()
|
||||
_tbb_get_url(URL tbb_url RELEASE_TAG ${tbb_release_tag} OS ${tbb_os})
|
||||
endif()
|
||||
|
||||
if (NOT tbb_url)
|
||||
message(STATUS "URL to download Intel TBB has not been found")
|
||||
set(${tbb_get_TBB_ROOT} ${tbb_get_TBB_ROOT}-NOTFOUND PARENT_SCOPE)
|
||||
return()
|
||||
endif()
|
||||
|
||||
get_filename_component(filename ${tbb_url} NAME)
|
||||
set(local_file "${CMAKE_CURRENT_BINARY_DIR}/${filename}")
|
||||
|
||||
_tbb_download_file(URL ${tbb_url}
|
||||
SAVE_AS ${local_file}
|
||||
INFO "Intel TBB library")
|
||||
|
||||
if (NOT EXISTS "${local_file}")
|
||||
set(${tbb_get_TBB_ROOT} ${tbb_get_TBB_ROOT}-NOTFOUND PARENT_SCOPE)
|
||||
return()
|
||||
endif()
|
||||
|
||||
get_filename_component(subdir_name ${filename} NAME_WE)
|
||||
file(MAKE_DIRECTORY ${tbb_save_to}/${subdir_name})
|
||||
if (NOT EXISTS "${tbb_save_to}/${subdir_name}")
|
||||
message(STATUS "${tbb_save_to}/${subdir_name} can not be created")
|
||||
set(${tbb_get_TBB_ROOT} ${tbb_get_TBB_ROOT}-NOTFOUND PARENT_SCOPE)
|
||||
return()
|
||||
endif()
|
||||
|
||||
message(STATUS "Unpacking ${local_file} to ${tbb_save_to}/${subdir_name}")
|
||||
execute_process(COMMAND ${CMAKE_COMMAND} -E tar xzf ${local_file}
|
||||
WORKING_DIRECTORY ${tbb_save_to}/${subdir_name}
|
||||
RESULT_VARIABLE unpacking_result)
|
||||
|
||||
if (NOT unpacking_result EQUAL 0)
|
||||
message(STATUS "Unsuccessful unpacking: ${unpacking_result}")
|
||||
set(${tbb_get_TBB_ROOT} ${tbb_get_TBB_ROOT}-NOTFOUND PARENT_SCOPE)
|
||||
return()
|
||||
endif()
|
||||
|
||||
file(GLOB_RECURSE tbb_h ${tbb_save_to}/${subdir_name}/*/include/tbb/tbb.h)
|
||||
list(GET tbb_h 0 tbb_h)
|
||||
|
||||
if (NOT EXISTS "${tbb_h}")
|
||||
message(STATUS "tbb/tbb.h has not been found in the downloaded package")
|
||||
set(${tbb_get_TBB_ROOT} ${tbb_get_TBB_ROOT}-NOTFOUND PARENT_SCOPE)
|
||||
return()
|
||||
endif()
|
||||
|
||||
get_filename_component(tbb_root "${tbb_h}" PATH)
|
||||
get_filename_component(tbb_root "${tbb_root}" PATH)
|
||||
get_filename_component(tbb_root "${tbb_root}" PATH)
|
||||
|
||||
if (NOT tbb_get_SOURCE_CODE)
|
||||
set(tbb_config_dir ${tbb_root}/cmake)
|
||||
|
||||
if (NOT EXISTS "${tbb_config_dir}")
|
||||
tbb_make_config(TBB_ROOT ${tbb_root} CONFIG_DIR tbb_config_dir)
|
||||
endif()
|
||||
|
||||
set(${tbb_get_CONFIG_DIR} ${tbb_config_dir} PARENT_SCOPE)
|
||||
endif()
|
||||
|
||||
set(${tbb_get_TBB_ROOT} ${tbb_root} PARENT_SCOPE)
|
||||
endfunction()
|
||||
@@ -1,169 +0,0 @@
|
||||
# Copyright (c) 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.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
#
|
||||
#
|
||||
#
|
||||
|
||||
#
|
||||
# Usage:
|
||||
# include(TBBMakeConfig.cmake)
|
||||
# tbb_make_config(TBB_ROOT <tbb_root> SYSTEM_NAME <system_name> CONFIG_DIR <var_to_store_config_dir> [SAVE_TO] [CONFIG_FOR_SOURCE TBB_RELEASE_DIR <tbb_release_dir> TBB_DEBUG_DIR <tbb_debug_dir>])
|
||||
#
|
||||
|
||||
include(CMakeParseArguments)
|
||||
|
||||
# Save the location of Intel TBB CMake modules here, as it will not be possible to do inside functions,
|
||||
# see for details: https://cmake.org/cmake/help/latest/variable/CMAKE_CURRENT_LIST_DIR.html
|
||||
set(_tbb_cmake_module_path ${CMAKE_CURRENT_LIST_DIR})
|
||||
|
||||
function(tbb_make_config)
|
||||
set(oneValueArgs TBB_ROOT SYSTEM_NAME CONFIG_DIR SAVE_TO TBB_RELEASE_DIR TBB_DEBUG_DIR)
|
||||
set(options CONFIG_FOR_SOURCE)
|
||||
cmake_parse_arguments(tbb_MK "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN})
|
||||
|
||||
set(tbb_system_name ${CMAKE_SYSTEM_NAME})
|
||||
if (tbb_MK_SYSTEM_NAME)
|
||||
set(tbb_system_name ${tbb_MK_SYSTEM_NAME})
|
||||
endif()
|
||||
|
||||
set(tbb_config_dir ${tbb_MK_TBB_ROOT}/cmake)
|
||||
if (tbb_MK_SAVE_TO)
|
||||
set(tbb_config_dir ${tbb_MK_SAVE_TO})
|
||||
endif()
|
||||
|
||||
file(MAKE_DIRECTORY ${tbb_config_dir})
|
||||
|
||||
set(TBB_DEFAULT_COMPONENTS tbb tbbmalloc tbbmalloc_proxy)
|
||||
|
||||
if (tbb_MK_CONFIG_FOR_SOURCE)
|
||||
set(TBB_RELEASE_DIR ${tbb_MK_TBB_RELEASE_DIR})
|
||||
set(TBB_DEBUG_DIR ${tbb_MK_TBB_DEBUG_DIR})
|
||||
endif()
|
||||
|
||||
if (tbb_system_name STREQUAL "Linux")
|
||||
set(TBB_SHARED_LIB_DIR "lib")
|
||||
set(TBB_X32_SUBDIR "ia32")
|
||||
set(TBB_X64_SUBDIR "intel64")
|
||||
set(TBB_LIB_PREFIX "lib")
|
||||
set(TBB_LIB_EXT "so.2")
|
||||
|
||||
# Note: multiline variable
|
||||
set(TBB_CHOOSE_COMPILER_SUBDIR "if (CMAKE_CXX_COMPILER_LOADED)
|
||||
set(_tbb_compiler_id \${CMAKE_CXX_COMPILER_ID})
|
||||
set(_tbb_compiler_ver \${CMAKE_CXX_COMPILER_VERSION})
|
||||
elseif (CMAKE_C_COMPILER_LOADED)
|
||||
set(_tbb_compiler_id \${CMAKE_C_COMPILER_ID})
|
||||
set(_tbb_compiler_ver \${CMAKE_C_COMPILER_VERSION})
|
||||
endif()
|
||||
|
||||
# For non-GCC compilers try to find version of system GCC to choose right compiler subdirectory.
|
||||
if (NOT _tbb_compiler_id STREQUAL \"GNU\")
|
||||
execute_process(COMMAND gcc --version OUTPUT_VARIABLE _tbb_gcc_ver_output ERROR_QUIET)
|
||||
string(REGEX REPLACE \".*gcc.*([0-9]+\\\\.[0-9]+)\\\\.[0-9]+.*\" \"\\\\1\" _tbb_compiler_ver \"\${_tbb_gcc_ver_output}\")
|
||||
if (NOT _tbb_compiler_ver)
|
||||
message(FATAL_ERROR \"This Intel TBB package is intended to be used only environment with available 'gcc'\")
|
||||
endif()
|
||||
unset(_tbb_gcc_ver_output)
|
||||
endif()
|
||||
|
||||
set(_tbb_compiler_subdir gcc4.1)
|
||||
foreach (_tbb_gcc_version 4.1 4.4 4.7)
|
||||
if (NOT _tbb_compiler_ver VERSION_LESS \${_tbb_gcc_version})
|
||||
set(_tbb_compiler_subdir gcc\${_tbb_gcc_version})
|
||||
endif()
|
||||
endforeach()
|
||||
|
||||
unset(_tbb_compiler_id)
|
||||
unset(_tbb_compiler_ver)")
|
||||
|
||||
elseif (tbb_system_name STREQUAL "Windows")
|
||||
set(TBB_SHARED_LIB_DIR "bin")
|
||||
set(TBB_X32_SUBDIR "ia32")
|
||||
set(TBB_X64_SUBDIR "intel64")
|
||||
set(TBB_LIB_PREFIX "")
|
||||
set(TBB_LIB_EXT "dll")
|
||||
|
||||
# Note: multiline variable
|
||||
set(TBB_CHOOSE_COMPILER_SUBDIR "if (NOT MSVC)
|
||||
message(FATAL_ERROR \"This Intel TBB package is intended to be used only in the project with MSVC\")
|
||||
endif()
|
||||
|
||||
# Detect the most relevant MSVC subdirectory
|
||||
set(_tbb_msvc_1700_subdir vc11)
|
||||
set(_tbb_msvc_1800_subdir vc12)
|
||||
set(_tbb_msvc_1900_subdir vc14)
|
||||
set(_tbb_msvc_ver \${MSVC_VERSION})
|
||||
if (MSVC_VERSION VERSION_LESS 1700)
|
||||
message(FATAL_ERROR \"This Intel TBB package is intended to be used only in the project with MSVC version 1700 (vc11) or higher\")
|
||||
elseif (MSVC_VERSION VERSION_GREATER 1900)
|
||||
set(_tbb_msvc_ver 1900)
|
||||
endif()
|
||||
set(_tbb_compiler_subdir \${_tbb_msvc_\${_tbb_msvc_ver}_subdir})
|
||||
unset(_tbb_msvc_1700_subdir)
|
||||
unset(_tbb_msvc_1800_subdir)
|
||||
unset(_tbb_msvc_1900_subdir)
|
||||
|
||||
if (WINDOWS_STORE)
|
||||
set(_tbb_compiler_subdir \${_tbb_compiler_subdir}_ui)
|
||||
endif()")
|
||||
|
||||
if (tbb_MK_CONFIG_FOR_SOURCE)
|
||||
set(TBB_IMPLIB_RELEASE "\nIMPORTED_IMPLIB_RELEASE \"${tbb_MK_TBB_RELEASE_DIR}/\${_tbb_component}.lib\"")
|
||||
set(TBB_IMPLIB_DEBUG "\nIMPORTED_IMPLIB_DEBUG \"${tbb_MK_TBB_DEBUG_DIR}/\${_tbb_component}_debug.lib\"")
|
||||
else()
|
||||
# Note: multiline variable
|
||||
set(TBB_IMPLIB "
|
||||
IMPORTED_IMPLIB_RELEASE \"\${_tbb_root}/lib/\${_tbb_arch_subdir}/\${_tbb_compiler_subdir}/\${_tbb_component}.lib\"
|
||||
IMPORTED_IMPLIB_DEBUG \"\${_tbb_root}/lib/\${_tbb_arch_subdir}/\${_tbb_compiler_subdir}/\${_tbb_component}_debug.lib\"")
|
||||
endif()
|
||||
|
||||
# Note: multiline variable
|
||||
# tbb/internal/_tbb_windef.h (included via tbb/tbb_stddef.h) does implicit linkage of some .lib files, use a special define to avoid it
|
||||
set(TBB_COMPILE_DEFINITIONS "
|
||||
INTERFACE_COMPILE_DEFINITIONS \"__TBB_NO_IMPLICIT_LINKAGE=1\"")
|
||||
elseif (tbb_system_name STREQUAL "Darwin")
|
||||
set(TBB_SHARED_LIB_DIR "lib")
|
||||
set(TBB_X32_SUBDIR ".")
|
||||
set(TBB_X64_SUBDIR ".")
|
||||
set(TBB_LIB_PREFIX "lib")
|
||||
set(TBB_LIB_EXT "dylib")
|
||||
set(TBB_CHOOSE_COMPILER_SUBDIR "set(_tbb_compiler_subdir .)")
|
||||
elseif (tbb_system_name STREQUAL "Android")
|
||||
set(TBB_SHARED_LIB_DIR "lib")
|
||||
set(TBB_X32_SUBDIR ".")
|
||||
set(TBB_X64_SUBDIR "x86_64")
|
||||
set(TBB_LIB_PREFIX "lib")
|
||||
set(TBB_LIB_EXT "so")
|
||||
set(TBB_CHOOSE_COMPILER_SUBDIR "set(_tbb_compiler_subdir .)")
|
||||
else()
|
||||
message(FATAL_ERROR "Unsupported OS name: ${tbb_system_name}")
|
||||
endif()
|
||||
|
||||
file(READ "${tbb_MK_TBB_ROOT}/include/tbb/tbb_stddef.h" _tbb_stddef)
|
||||
string(REGEX REPLACE ".*#define TBB_VERSION_MAJOR ([0-9]+).*" "\\1" _tbb_ver_major "${_tbb_stddef}")
|
||||
string(REGEX REPLACE ".*#define TBB_VERSION_MINOR ([0-9]+).*" "\\1" _tbb_ver_minor "${_tbb_stddef}")
|
||||
string(REGEX REPLACE ".*#define TBB_INTERFACE_VERSION ([0-9]+).*" "\\1" TBB_INTERFACE_VERSION "${_tbb_stddef}")
|
||||
set(TBB_VERSION "${_tbb_ver_major}.${_tbb_ver_minor}")
|
||||
|
||||
if (tbb_MK_CONFIG_FOR_SOURCE)
|
||||
set(_tbb_config_template TBBConfigForSource.cmake.in)
|
||||
else()
|
||||
set(_tbb_config_template TBBConfig.cmake.in)
|
||||
endif()
|
||||
configure_file(${_tbb_cmake_module_path}/templates/${_tbb_config_template} ${tbb_config_dir}/TBBConfig.cmake @ONLY)
|
||||
configure_file(${_tbb_cmake_module_path}/templates/TBBConfigVersion.cmake.in ${tbb_config_dir}/TBBConfigVersion.cmake @ONLY)
|
||||
|
||||
set(${tbb_MK_CONFIG_DIR} ${tbb_config_dir} PARENT_SCOPE)
|
||||
endfunction()
|
||||
@@ -1,45 +0,0 @@
|
||||
# Copyright (c) 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.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
#
|
||||
#
|
||||
#
|
||||
|
||||
function(tbb_conf_gen_print_help)
|
||||
message("Usage: cmake -DTBB_ROOT=<tbb_root> -DTBB_OS=Linux|Windows|Darwin [-DSAVE_TO=<path>] -P tbb_config_generator.cmake")
|
||||
endfunction()
|
||||
|
||||
if (NOT DEFINED TBB_ROOT)
|
||||
tbb_conf_gen_print_help()
|
||||
message(FATAL_ERROR "Required parameter TBB_ROOT is not defined")
|
||||
endif()
|
||||
|
||||
if (NOT EXISTS "${TBB_ROOT}")
|
||||
tbb_conf_gen_print_help()
|
||||
message(FATAL_ERROR "TBB_ROOT=${TBB_ROOT} does not exist")
|
||||
endif()
|
||||
|
||||
if (NOT DEFINED TBB_OS)
|
||||
tbb_conf_gen_print_help()
|
||||
message(FATAL_ERROR "Required parameter TBB_OS is not defined")
|
||||
endif()
|
||||
|
||||
if (DEFINED SAVE_TO)
|
||||
set(tbb_conf_gen_save_to_param SAVE_TO ${SAVE_TO})
|
||||
endif()
|
||||
|
||||
include(${CMAKE_CURRENT_LIST_DIR}/TBBMakeConfig.cmake)
|
||||
tbb_make_config(TBB_ROOT ${TBB_ROOT} CONFIG_DIR tbb_config_dir SYSTEM_NAME ${TBB_OS} ${tbb_conf_gen_save_to_param})
|
||||
|
||||
message(STATUS "TBBConfig files were created in ${tbb_config_dir}")
|
||||
@@ -1,89 +0,0 @@
|
||||
# Copyright (c) 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.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
#
|
||||
#
|
||||
#
|
||||
|
||||
# TBB_FOUND should not be set explicitly. It is defined automatically by CMake.
|
||||
# Handling of TBB_VERSION is in TBBConfigVersion.cmake.
|
||||
|
||||
if (NOT TBB_FIND_COMPONENTS)
|
||||
set(TBB_FIND_COMPONENTS "@TBB_DEFAULT_COMPONENTS@")
|
||||
foreach (_tbb_component ${TBB_FIND_COMPONENTS})
|
||||
set(TBB_FIND_REQUIRED_${_tbb_component} 1)
|
||||
endforeach()
|
||||
endif()
|
||||
|
||||
# Add components with internal dependencies: tbbmalloc_proxy -> tbbmalloc
|
||||
list(FIND TBB_FIND_COMPONENTS tbbmalloc_proxy _tbbmalloc_proxy_ix)
|
||||
if (NOT _tbbmalloc_proxy_ix EQUAL -1)
|
||||
list(FIND TBB_FIND_COMPONENTS tbbmalloc _tbbmalloc_ix)
|
||||
if (_tbbmalloc_ix EQUAL -1)
|
||||
list(APPEND TBB_FIND_COMPONENTS tbbmalloc)
|
||||
set(TBB_FIND_REQUIRED_tbbmalloc ${TBB_FIND_REQUIRED_tbbmalloc_proxy})
|
||||
endif()
|
||||
endif()
|
||||
|
||||
set(TBB_INTERFACE_VERSION @TBB_INTERFACE_VERSION@)
|
||||
|
||||
get_filename_component(_tbb_root "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
||||
get_filename_component(_tbb_root "${_tbb_root}" PATH)
|
||||
|
||||
set(_tbb_x32_subdir @TBB_X32_SUBDIR@)
|
||||
set(_tbb_x64_subdir @TBB_X64_SUBDIR@)
|
||||
|
||||
if (CMAKE_SIZEOF_VOID_P EQUAL 8)
|
||||
set(_tbb_arch_subdir ${_tbb_x64_subdir})
|
||||
else()
|
||||
set(_tbb_arch_subdir ${_tbb_x32_subdir})
|
||||
endif()
|
||||
|
||||
@TBB_CHOOSE_COMPILER_SUBDIR@
|
||||
|
||||
get_filename_component(_tbb_lib_path "${_tbb_root}/@TBB_SHARED_LIB_DIR@/${_tbb_arch_subdir}/${_tbb_compiler_subdir}" ABSOLUTE)
|
||||
|
||||
foreach (_tbb_component ${TBB_FIND_COMPONENTS})
|
||||
set(_tbb_release_lib "${_tbb_lib_path}/@TBB_LIB_PREFIX@${_tbb_component}.@TBB_LIB_EXT@")
|
||||
set(_tbb_debug_lib "${_tbb_lib_path}/@TBB_LIB_PREFIX@${_tbb_component}_debug.@TBB_LIB_EXT@")
|
||||
|
||||
if (EXISTS "${_tbb_release_lib}" AND EXISTS "${_tbb_debug_lib}")
|
||||
add_library(TBB::${_tbb_component} SHARED IMPORTED)
|
||||
set_target_properties(TBB::${_tbb_component} PROPERTIES
|
||||
IMPORTED_CONFIGURATIONS "RELEASE;DEBUG"
|
||||
IMPORTED_LOCATION_RELEASE "${_tbb_release_lib}"
|
||||
IMPORTED_LOCATION_DEBUG "${_tbb_debug_lib}"
|
||||
INTERFACE_INCLUDE_DIRECTORIES "${_tbb_root}/include"@TBB_IMPLIB@@TBB_COMPILE_DEFINITIONS@)
|
||||
|
||||
# Add internal dependencies for imported targets: TBB::tbbmalloc_proxy -> TBB::tbbmalloc
|
||||
if (_tbb_component STREQUAL tbbmalloc_proxy)
|
||||
set_target_properties(TBB::tbbmalloc_proxy PROPERTIES INTERFACE_LINK_LIBRARIES TBB::tbbmalloc)
|
||||
endif()
|
||||
|
||||
list(APPEND TBB_IMPORTED_TARGETS TBB::${_tbb_component})
|
||||
set(TBB_${_tbb_component}_FOUND 1)
|
||||
elseif (TBB_FIND_REQUIRED AND TBB_FIND_REQUIRED_${_tbb_component})
|
||||
message(FATAL_ERROR "Missed required Intel TBB component: ${_tbb_component}")
|
||||
endif()
|
||||
endforeach()
|
||||
|
||||
unset(_tbb_x32_subdir)
|
||||
unset(_tbb_x64_subdir)
|
||||
unset(_tbb_arch_subdir)
|
||||
unset(_tbb_compiler_subdir)
|
||||
unset(_tbbmalloc_proxy_ix)
|
||||
unset(_tbbmalloc_ix)
|
||||
unset(_tbb_lib_path)
|
||||
unset(_tbb_release_lib)
|
||||
unset(_tbb_debug_lib)
|
||||
@@ -1,82 +0,0 @@
|
||||
# Copyright (c) 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.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
#
|
||||
#
|
||||
#
|
||||
|
||||
# TBB_FOUND should not be set explicitly. It is defined automatically by CMake.
|
||||
# Handling of TBB_VERSION is in TBBConfigVersion.cmake.
|
||||
|
||||
if (NOT TBB_FIND_COMPONENTS)
|
||||
set(TBB_FIND_COMPONENTS "@TBB_DEFAULT_COMPONENTS@")
|
||||
foreach (_tbb_component ${TBB_FIND_COMPONENTS})
|
||||
set(TBB_FIND_REQUIRED_${_tbb_component} 1)
|
||||
endforeach()
|
||||
endif()
|
||||
|
||||
# Add components with internal dependencies: tbbmalloc_proxy -> tbbmalloc
|
||||
list(FIND TBB_FIND_COMPONENTS tbbmalloc_proxy _tbbmalloc_proxy_ix)
|
||||
if (NOT _tbbmalloc_proxy_ix EQUAL -1)
|
||||
list(FIND TBB_FIND_COMPONENTS tbbmalloc _tbbmalloc_ix)
|
||||
if (_tbbmalloc_ix EQUAL -1)
|
||||
list(APPEND TBB_FIND_COMPONENTS tbbmalloc)
|
||||
set(TBB_FIND_REQUIRED_tbbmalloc ${TBB_FIND_REQUIRED_tbbmalloc_proxy})
|
||||
endif()
|
||||
endif()
|
||||
|
||||
set(TBB_INTERFACE_VERSION @TBB_INTERFACE_VERSION@)
|
||||
|
||||
get_filename_component(_tbb_root "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
||||
get_filename_component(_tbb_root "${_tbb_root}" PATH)
|
||||
|
||||
foreach (_tbb_component ${TBB_FIND_COMPONENTS})
|
||||
set(_tbb_release_lib "@TBB_RELEASE_DIR@/@TBB_LIB_PREFIX@${_tbb_component}.@TBB_LIB_EXT@")
|
||||
set(_tbb_debug_lib "@TBB_DEBUG_DIR@/@TBB_LIB_PREFIX@${_tbb_component}_debug.@TBB_LIB_EXT@")
|
||||
|
||||
if (EXISTS "${_tbb_release_lib}" OR EXISTS "${_tbb_debug_lib}")
|
||||
add_library(TBB::${_tbb_component} SHARED IMPORTED)
|
||||
set_target_properties(TBB::${_tbb_component} PROPERTIES
|
||||
INTERFACE_INCLUDE_DIRECTORIES "${_tbb_root}/include"@TBB_COMPILE_DEFINITIONS@)
|
||||
|
||||
|
||||
if (EXISTS "${_tbb_release_lib}")
|
||||
set_target_properties(TBB::${_tbb_component} PROPERTIES
|
||||
IMPORTED_LOCATION_RELEASE "${_tbb_release_lib}"@TBB_IMPLIB_RELEASE@)
|
||||
set_property(TARGET TBB::${_tbb_component} APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
|
||||
endif()
|
||||
|
||||
if (EXISTS "${_tbb_debug_lib}")
|
||||
set_target_properties(TBB::${_tbb_component} PROPERTIES
|
||||
IMPORTED_LOCATION_DEBUG "${_tbb_debug_lib}"@TBB_IMPLIB_DEBUG@)
|
||||
set_property(TARGET TBB::${_tbb_component} APPEND PROPERTY IMPORTED_CONFIGURATIONS DEBUG)
|
||||
endif()
|
||||
|
||||
# Add internal dependencies for imported targets: TBB::tbbmalloc_proxy -> TBB::tbbmalloc
|
||||
if (_tbb_component STREQUAL tbbmalloc_proxy)
|
||||
set_target_properties(TBB::tbbmalloc_proxy PROPERTIES INTERFACE_LINK_LIBRARIES TBB::tbbmalloc)
|
||||
endif()
|
||||
|
||||
list(APPEND TBB_IMPORTED_TARGETS TBB::${_tbb_component})
|
||||
set(TBB_${_tbb_component}_FOUND 1)
|
||||
elseif (TBB_FIND_REQUIRED AND TBB_FIND_REQUIRED_${_tbb_component})
|
||||
message(FATAL_ERROR "Missed required Intel TBB component: ${_tbb_component}")
|
||||
endif()
|
||||
endforeach()
|
||||
|
||||
unset(_tbbmalloc_proxy_ix)
|
||||
unset(_tbbmalloc_ix)
|
||||
unset(_tbb_lib_path)
|
||||
unset(_tbb_release_lib)
|
||||
unset(_tbb_debug_lib)
|
||||
@@ -1,28 +0,0 @@
|
||||
# Copyright (c) 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.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
#
|
||||
#
|
||||
#
|
||||
|
||||
set(PACKAGE_VERSION @TBB_VERSION@)
|
||||
|
||||
if ("${PACKAGE_VERSION}" VERSION_LESS "${PACKAGE_FIND_VERSION}")
|
||||
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
||||
else()
|
||||
set(PACKAGE_VERSION_COMPATIBLE TRUE)
|
||||
if ("${PACKAGE_VERSION}" VERSION_EQUAL "${PACKAGE_FIND_VERSION}")
|
||||
set(PACKAGE_VERSION_EXACT TRUE)
|
||||
endif()
|
||||
endif()
|
||||
+98
-64
@@ -1,6 +1,6 @@
|
||||
------------------------------------------------------------------------
|
||||
Intel(R) Threading Building Blocks - Release Notes
|
||||
Version 2018
|
||||
Version 4.4
|
||||
------------------------------------------------------------------------
|
||||
|
||||
|
||||
@@ -23,23 +23,19 @@ and compilers listed here.
|
||||
Hardware - Recommended
|
||||
|
||||
Microsoft* Windows* Systems
|
||||
Intel(R) Core(TM) processor family
|
||||
Intel(R) Xeon(R) processor family
|
||||
Intel(R) Xeon Phi(TM) processor family
|
||||
Intel(R) Core(TM) 2 Duo processor or Intel(R) Xeon(R) processor
|
||||
or higher
|
||||
Linux* Systems
|
||||
Intel(R) Core(TM) processor family
|
||||
Intel(R) Xeon(R) processor family
|
||||
Intel(R) Xeon Phi(TM) processor family
|
||||
macOS* Systems
|
||||
Intel(R) Core(TM) processor family
|
||||
Android* Systems
|
||||
Intel(R) Atom(TM) processor family
|
||||
Intel(R) Core(TM) 2 Duo processor or Intel(R) Xeon(R) processor
|
||||
or higher
|
||||
Intel(R) Xeon Phi(TM) coprocessor
|
||||
OS X* Systems
|
||||
Intel(R) Core(TM) 2 Duo processor or higher
|
||||
|
||||
Hardware - Supported
|
||||
|
||||
Intel(R) Pentium(R) 4 processor family
|
||||
Intel(R) Pentium(R) 4 processor family and higher
|
||||
Intel(R) Xeon Phi(TM) coprocessor
|
||||
Intel(R) Atom(TM) processor family
|
||||
Non Intel(R) processors compatible with the above processors
|
||||
|
||||
Software - Minimum Requirements
|
||||
@@ -49,85 +45,123 @@ Software - Minimum Requirements
|
||||
|
||||
Software - Recommended
|
||||
|
||||
Intel(R) Parallel Studio XE 2017, 2018
|
||||
Intel(R) System Studio 2017, 2018
|
||||
Intel(R) Parallel Studio XE 2015 Professional Edition
|
||||
Intel(R) Parallel Studio XE 2016 Professional Edition
|
||||
Intel(R) System Studio 2016
|
||||
|
||||
Software - Supported Operating Systems
|
||||
|
||||
Systems with Microsoft* Windows* operating systems
|
||||
Microsoft* Windows* 10
|
||||
Microsoft* Windows* 8.1
|
||||
Microsoft* Windows* 8, 8.1
|
||||
Microsoft* Windows* 7 SP1
|
||||
Microsoft* Windows* Server 2016
|
||||
Microsoft* Windows* Server 2012 R2
|
||||
Microsoft* Windows* Server 2012
|
||||
Microsoft* Windows* Server 2008 R2 SP1
|
||||
Windows* Embedded 10
|
||||
Windows* Embedded 8.1
|
||||
Microsoft* Windows* HPC Server 2008
|
||||
Systems with Linux* operating systems
|
||||
CentOS 7.1
|
||||
Debian* 8, 9
|
||||
Fedora* 24, 25, 26
|
||||
CentOS 6.5
|
||||
Debian* 7, 8
|
||||
Fedora* 20, 21
|
||||
Intel(R) Cluster Ready
|
||||
Red Hat* Enterprise Linux* 6, 7
|
||||
SuSE* Linux* Enterprise Server 11, 12
|
||||
Ubuntu* 14.04 LTS, 16.04 LTS, 17.04
|
||||
WindRiver* Linux 8, 9
|
||||
Yocto 2.2, 2.3
|
||||
Systems with OS X* or macOS* operating systems
|
||||
OS X* 10.10, 10.11
|
||||
macOS* 10.12, 10.13
|
||||
Systems with Android* operating systems
|
||||
Android* 5.x, 6.x, 7.x, 8.x
|
||||
Ubuntu* 12.04 LTS, 13.10, 14.04 LTS, 15.04
|
||||
WindRiver* Linux 7
|
||||
Yocto 1.7
|
||||
Systems with OS X* operating systems
|
||||
OS X* 10.10 and higher
|
||||
|
||||
Software - Supported Compilers
|
||||
|
||||
Intel(R) C++ Compiler 16, 17 and 18 version
|
||||
Microsoft* Visual C++ 12.0 (Microsoft* Visual Studio* 2013,
|
||||
Windows* OS only)
|
||||
Microsoft* Visual C++ 14.0 (Microsoft* Visual Studio* 2015,
|
||||
Windows* OS only)
|
||||
Microsoft* Visual C++ 14.1 (Microsoft* Visual Studio* 2017,
|
||||
Windows* OS only)
|
||||
Microsoft* Windows* Software Development Kit for Windows* 8.1
|
||||
Microsoft* Windows* Software Development Kit for Windows* 10
|
||||
Intel(R) C++ Compiler 14 (Intel(R) Parallel Studio XE 2015)
|
||||
and higher
|
||||
Microsoft* Visual C++ 10.0 (Microsoft* Visual Studio* 2010,
|
||||
Windows* OS only) and higher
|
||||
For each supported Linux* operating system, the standard gcc
|
||||
version provided with that operating system is supported
|
||||
GNU Compilers (gcc) 4.1 - 7.1
|
||||
GNU C Library (glibc) version 2.4 - 2.19
|
||||
Xcode* 6.3 - 9.1
|
||||
Android* NDK r10e - r16
|
||||
version provided with that operating system is supported,
|
||||
starting from gcc 4.1 and higher
|
||||
Xcode* 6.3 and higher and command line tools (OS X* only)
|
||||
|
||||
Software - Supported Performance Analysis Tools
|
||||
|
||||
Intel(R) VTune(TM) Amplifier XE 2017, 2018.
|
||||
Intel(R) Inspector XE 2017, 2018.
|
||||
Intel(R) Advisor XE 2017, 2018.
|
||||
|
||||
Known Issues
|
||||
------------
|
||||
|
||||
Below is the list of known issues in this release of
|
||||
Intel(R) Threading Building Blocks (Intel(R) TBB).
|
||||
See the "Known Issues" appendix in the Intel(R) TBB Developer
|
||||
Reference for notes applicable to multiple releases of Intel(R) TBB.
|
||||
Please note the following with respect to this particular release of
|
||||
Intel(R) Threading Building Blocks.
|
||||
|
||||
Library Issues
|
||||
|
||||
- If you build Intel(R) TBB from sources with GCC 6, specify
|
||||
the -flifetime-dse=1 option to prevent crashes at runtime,
|
||||
or use Intel(R) TBB makefiles that automatically set this option.
|
||||
- In general, non-debug ("release") builds of applications should
|
||||
link against the non-debug versions of the Intel TBB libraries,
|
||||
and debug builds should link against the debug versions of
|
||||
these libraries. On Windows* OS, compile with /MD and use
|
||||
Intel TBB release libraries, or compile with /MDd and use
|
||||
debug libraries; not doing so may cause run-time failures.
|
||||
See the product documentation for more details on debug vs.
|
||||
release libraries.
|
||||
|
||||
- The current implementation of gfx_factory does not allow memory
|
||||
buffer objects to be used concurrently. As a result, several
|
||||
streaming nodes customized with gfx_factory cannot be connected
|
||||
with each other directly.
|
||||
- The debug version of Intel TBB library built with static MSVCRT
|
||||
(vc_mt/tbb_debug.dll) additionally requires the debug library
|
||||
of Microsoft* Visual C++ 10.0 runtime (msvcp100d.dll) in order
|
||||
to run.
|
||||
|
||||
- If an application uses static MSVCRT libraries or the Intel TBB
|
||||
library built with static MSVCRT (vc_mt variant), and throws
|
||||
an exception from a functor passed to task_group::run_and_wait(),
|
||||
the exception will not be intercepted by Intel TBB and will not
|
||||
result in cancellation of the task_group. For a workaround,
|
||||
catch the exception in the functor and cancel the task_group
|
||||
explicitly.
|
||||
|
||||
- If you are using Intel(R) Threading Building Blocks and OpenMP*
|
||||
constructs mixed together in rapid succession in the same
|
||||
program, and you are using Intel(R) compilers for your OpenMP*
|
||||
code, set KMP_BLOCKTIME to a small value (e.g., 20 milliseconds)
|
||||
to improve performance. This setting can also be made within
|
||||
your OpenMP* code via the kmp_set_blocktime() library call.
|
||||
See the Intel(R) compiler OpenMP* documentation for more details
|
||||
on KMP_BLOCKTIME and kmp_set_blocktime().
|
||||
|
||||
- If you are using Intel(R) Threading Building Blocks and OpenMP
|
||||
together in a program on Linux OS, avoid using KMP_AFFINITY and
|
||||
OMP_PROC_BIND, as well as programmatically setting thread
|
||||
affinity before Intel TBB task scheduler is initialized.
|
||||
An affinity mask set for a thread that initializes Intel TBB
|
||||
limits the number of worker threads used by default in the task
|
||||
scheduler.
|
||||
|
||||
- If an open source version of Intel TBB is installed to a system
|
||||
folder like /usr/lib64 on Linux OS, examples may fail to link
|
||||
because sometimes gcc searches for libraries in an unexpected
|
||||
order. To resolve this, use the -L linker option to specify
|
||||
the right location of Intel TBB libraries. This issue does not
|
||||
affect program execution.
|
||||
|
||||
- If an application that uses dynamic memory allocator replacement
|
||||
via LD_PRELOAD is analyzed with Intel(R) VTune(TM) Amplifier XE
|
||||
for Linux, the analysis may fail to start. For a workaround,
|
||||
either specify the full path to both libtbbmalloc_proxy.so.2
|
||||
and libtbbmalloc.so.2 in LD_PRELOAD, or set up the project for
|
||||
Intel(R) VTune(TM) Amplifier XE to use a shell script that sets
|
||||
LD_PRELOAD and starts the application.
|
||||
|
||||
- If your application includes tbb/enumerable_thread_specific.h (or
|
||||
tbb/tbb.h) for offload execution on an Intel(R) Xeon Phi(TM)
|
||||
coprocessor, you may see link issues related to libpthread.
|
||||
To resolve this issue, add the following compiler option:
|
||||
/Qoffload-option,mic,compiler,"-pthread" on Windows* OS,
|
||||
or -qoffload-option,mic,compiler,"-pthread" on Linux* OS.
|
||||
|
||||
- On Linux* OS with some versions of gcc runtime (e.g. 4.4.7,
|
||||
4.8.2, and 4.9.2), the destructor of a task_group might not
|
||||
throw missing_wait exception.
|
||||
|
||||
------------------------------------------------------------------------
|
||||
(C) 2017 Intel Corporation
|
||||
Copyright (C) 2005-2015 Intel Corporation. All Rights Reserved.
|
||||
|
||||
Intel, the Intel logo, Intel Core, Intel Atom, Xeon, Intel Xeon Phi and
|
||||
Pentium are trademarks of Intel Corporation in the U.S. and/or other
|
||||
countries.
|
||||
Intel, Xeon and Pentium are registered trademarks or trademarks of
|
||||
Intel Corporation or its subsidiaries in the United States and other countries.
|
||||
|
||||
* Other names and brands may be claimed as the property of others.
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
</div>
|
||||
<div id="nav-path" class="navpath">
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="index.html">Main Page</a></li><li class="navelem"><a class="el" href="a00007.html">TBB concepts</a></li> </ul>
|
||||
<li class="navelem"><a class="el" href="index.html">Main Page</a></li><li class="navelem"><a class="el" href="a00008.html">TBB concepts</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
@@ -50,7 +50,7 @@
|
||||
</div></div><!-- contents -->
|
||||
<hr>
|
||||
<p></p>
|
||||
Copyright © 2005-2017 Intel Corporation. All Rights Reserved.
|
||||
Copyright © 2005-2015 Intel Corporation. All Rights Reserved.
|
||||
<p></p>
|
||||
Intel, Pentium, Intel Xeon, Itanium, Intel XScale and VTune are
|
||||
registered trademarks or trademarks of Intel Corporation or its
|
||||
|
||||
+18
-11
@@ -4,7 +4,7 @@
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<meta name="generator" content="Doxygen 1.8.4"/>
|
||||
<title>Requirements on parallel_for body</title>
|
||||
<title>Requirements on parallel_do body</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
@@ -26,27 +26,34 @@
|
||||
</div>
|
||||
<div id="nav-path" class="navpath">
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="index.html">Main Page</a></li><li class="navelem"><a class="el" href="a00007.html">TBB concepts</a></li> </ul>
|
||||
<li class="navelem"><a class="el" href="index.html">Main Page</a></li><li class="navelem"><a class="el" href="a00008.html">TBB concepts</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">Requirements on parallel_for body </div> </div>
|
||||
<div class="title">Requirements on parallel_do body </div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="textblock"><p>Class <code>Body</code> implementing the concept of parallel_for body must define:</p>
|
||||
<div class="textblock"><p>Class <code>Body</code> implementing the concept of parallel_do body must define:</p>
|
||||
<ul>
|
||||
<li><div class="fragment"><div class="line">Body::Body( <span class="keyword">const</span> Body& ); </div>
|
||||
</div><!-- fragment --> Copy constructor</li>
|
||||
<li><div class="fragment"><div class="line">Body::~Body(); </div>
|
||||
</div><!-- fragment --> Destructor</li>
|
||||
<li><div class="fragment"><div class="line"><span class="keywordtype">void</span> Body::operator()( Range& r ) <span class="keyword">const</span>; </div>
|
||||
</div><!-- fragment --> Function call operator applying the body to range <code>r</code>. </li>
|
||||
<li><div class="fragment"><div class="line">B::operator()( </div>
|
||||
<div class="line"> cv_item_type item,</div>
|
||||
<div class="line"> parallel_do_feeder<item_type>& feeder</div>
|
||||
<div class="line">) <span class="keyword">const</span></div>
|
||||
<div class="line"></div>
|
||||
<div class="line">OR</div>
|
||||
<div class="line"></div>
|
||||
<div class="line">B::operator()( cv_item_type& item ) <span class="keyword">const</span></div>
|
||||
</div><!-- fragment --> Process item. May be invoked concurrently for the same <code>this</code> but different <code>item</code>.</li>
|
||||
<li><div class="fragment"><div class="line">item_type( <span class="keyword">const</span> item_type& ) </div>
|
||||
</div><!-- fragment --> Copy a work item.</li>
|
||||
<li><div class="fragment"><div class="line">~item_type() </div>
|
||||
</div><!-- fragment --> Destroy a work item </li>
|
||||
</ul>
|
||||
</div></div><!-- contents -->
|
||||
<hr>
|
||||
<p></p>
|
||||
Copyright © 2005-2017 Intel Corporation. All Rights Reserved.
|
||||
Copyright © 2005-2015 Intel Corporation. All Rights Reserved.
|
||||
<p></p>
|
||||
Intel, Pentium, Intel Xeon, Itanium, Intel XScale and VTune are
|
||||
registered trademarks or trademarks of Intel Corporation or its
|
||||
|
||||
+9
-11
@@ -4,7 +4,7 @@
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<meta name="generator" content="Doxygen 1.8.4"/>
|
||||
<title>Requirements on parallel_reduce body</title>
|
||||
<title>Requirements on parallel_for body</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
@@ -26,29 +26,27 @@
|
||||
</div>
|
||||
<div id="nav-path" class="navpath">
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="index.html">Main Page</a></li><li class="navelem"><a class="el" href="a00007.html">TBB concepts</a></li> </ul>
|
||||
<li class="navelem"><a class="el" href="index.html">Main Page</a></li><li class="navelem"><a class="el" href="a00008.html">TBB concepts</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">Requirements on parallel_reduce body </div> </div>
|
||||
<div class="title">Requirements on parallel_for body </div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="textblock"><p>Class <code>Body</code> implementing the concept of parallel_reduce body must define:</p>
|
||||
<div class="textblock"><p>Class <code>Body</code> implementing the concept of parallel_for body must define:</p>
|
||||
<ul>
|
||||
<li><div class="fragment"><div class="line">Body::Body( Body&, split ); </div>
|
||||
</div><!-- fragment --> Splitting constructor. Must be able to run concurrently with operator() and method <code>join</code> </li>
|
||||
<li><div class="fragment"><div class="line">Body::Body( <span class="keyword">const</span> Body& ); </div>
|
||||
</div><!-- fragment --> Copy constructor</li>
|
||||
<li><div class="fragment"><div class="line">Body::~Body(); </div>
|
||||
</div><!-- fragment --> Destructor</li>
|
||||
<li><div class="fragment"><div class="line"><span class="keywordtype">void</span> Body::operator()( Range& r ); </div>
|
||||
</div><!-- fragment --> Function call operator applying body to range <code>r</code> and accumulating the result</li>
|
||||
<li><div class="fragment"><div class="line"><span class="keywordtype">void</span> Body::join( Body& b ); </div>
|
||||
</div><!-- fragment --> Join results. The result in <code>b</code> should be merged into the result of <code>this</code> </li>
|
||||
<li><div class="fragment"><div class="line"><span class="keywordtype">void</span> Body::operator()( Range& r ) <span class="keyword">const</span>; </div>
|
||||
</div><!-- fragment --> Function call operator applying the body to range <code>r</code>. </li>
|
||||
</ul>
|
||||
</div></div><!-- contents -->
|
||||
<hr>
|
||||
<p></p>
|
||||
Copyright © 2005-2017 Intel Corporation. All Rights Reserved.
|
||||
Copyright © 2005-2015 Intel Corporation. All Rights Reserved.
|
||||
<p></p>
|
||||
Intel, Pentium, Intel Xeon, Itanium, Intel XScale and VTune are
|
||||
registered trademarks or trademarks of Intel Corporation or its
|
||||
|
||||
+18
-4
@@ -4,7 +4,7 @@
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<meta name="generator" content="Doxygen 1.8.4"/>
|
||||
<title>Requirements on parallel_reduce anonymous function objects (lambda functions)</title>
|
||||
<title>Requirements on parallel_reduce body</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
@@ -24,17 +24,31 @@
|
||||
<li><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div id="nav-path" class="navpath">
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="index.html">Main Page</a></li><li class="navelem"><a class="el" href="a00008.html">TBB concepts</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">Requirements on parallel_reduce anonymous function objects (lambda functions) </div> </div>
|
||||
<div class="title">Requirements on parallel_reduce body </div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="textblock"><p>TO BE DOCUMENTED </p>
|
||||
<div class="textblock"><p>Class <code>Body</code> implementing the concept of parallel_reduce body must define:</p>
|
||||
<ul>
|
||||
<li><div class="fragment"><div class="line">Body::Body( Body&, split ); </div>
|
||||
</div><!-- fragment --> Splitting constructor. Must be able to run concurrently with operator() and method <code>join</code> </li>
|
||||
<li><div class="fragment"><div class="line">Body::~Body(); </div>
|
||||
</div><!-- fragment --> Destructor</li>
|
||||
<li><div class="fragment"><div class="line"><span class="keywordtype">void</span> Body::operator()( Range& r ); </div>
|
||||
</div><!-- fragment --> Function call operator applying body to range <code>r</code> and accumulating the result</li>
|
||||
<li><div class="fragment"><div class="line"><span class="keywordtype">void</span> Body::join( Body& b ); </div>
|
||||
</div><!-- fragment --> Join results. The result in <code>b</code> should be merged into the result of <code>this</code> </li>
|
||||
</ul>
|
||||
</div></div><!-- contents -->
|
||||
<hr>
|
||||
<p></p>
|
||||
Copyright © 2005-2017 Intel Corporation. All Rights Reserved.
|
||||
Copyright © 2005-2015 Intel Corporation. All Rights Reserved.
|
||||
<p></p>
|
||||
Intel, Pentium, Intel Xeon, Itanium, Intel XScale and VTune are
|
||||
registered trademarks or trademarks of Intel Corporation or its
|
||||
|
||||
+4
-20
@@ -4,7 +4,7 @@
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<meta name="generator" content="Doxygen 1.8.4"/>
|
||||
<title>Requirements on parallel_scan body</title>
|
||||
<title>Requirements on parallel_reduce anonymous function objects (lambda functions)</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
@@ -24,33 +24,17 @@
|
||||
<li><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div id="nav-path" class="navpath">
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="index.html">Main Page</a></li><li class="navelem"><a class="el" href="a00007.html">TBB concepts</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">Requirements on parallel_scan body </div> </div>
|
||||
<div class="title">Requirements on parallel_reduce anonymous function objects (lambda functions) </div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="textblock"><p>Class <code>Body</code> implementing the concept of parallel_scan body must define:</p>
|
||||
<ul>
|
||||
<li><div class="fragment"><div class="line">Body::Body( Body&, split ); </div>
|
||||
</div><!-- fragment --> Splitting constructor. Split <code>b</code> so that <code>this</code> and <code>b</code> can accumulate separately</li>
|
||||
<li><div class="fragment"><div class="line">Body::~Body(); </div>
|
||||
</div><!-- fragment --> Destructor</li>
|
||||
<li><div class="fragment"><div class="line"><span class="keywordtype">void</span> Body::operator()( <span class="keyword">const</span> Range& r, pre_scan_tag ); </div>
|
||||
</div><!-- fragment --> Preprocess iterations for range <code>r</code> </li>
|
||||
<li><div class="fragment"><div class="line"><span class="keywordtype">void</span> Body::operator()( <span class="keyword">const</span> Range& r, final_scan_tag ); </div>
|
||||
</div><!-- fragment --> Do final processing for iterations of range <code>r</code> </li>
|
||||
<li><div class="fragment"><div class="line"><span class="keywordtype">void</span> Body::reverse_join( Body& a ); </div>
|
||||
</div><!-- fragment --> Merge preprocessing state of <code>a</code> into <code>this</code>, where <code>a</code> was created earlier from <code>b</code> by b's splitting constructor </li>
|
||||
</ul>
|
||||
<div class="textblock"><p>TO BE DOCUMENTED </p>
|
||||
</div></div><!-- contents -->
|
||||
<hr>
|
||||
<p></p>
|
||||
Copyright © 2005-2017 Intel Corporation. All Rights Reserved.
|
||||
Copyright © 2005-2015 Intel Corporation. All Rights Reserved.
|
||||
<p></p>
|
||||
Intel, Pentium, Intel Xeon, Itanium, Intel XScale and VTune are
|
||||
registered trademarks or trademarks of Intel Corporation or its
|
||||
|
||||
+15
-9
@@ -4,7 +4,7 @@
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<meta name="generator" content="Doxygen 1.8.4"/>
|
||||
<title>Requirements on iterators for parallel_sort</title>
|
||||
<title>Requirements on parallel_scan body</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
@@ -26,25 +26,31 @@
|
||||
</div>
|
||||
<div id="nav-path" class="navpath">
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="index.html">Main Page</a></li><li class="navelem"><a class="el" href="a00007.html">TBB concepts</a></li> </ul>
|
||||
<li class="navelem"><a class="el" href="index.html">Main Page</a></li><li class="navelem"><a class="el" href="a00008.html">TBB concepts</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">Requirements on iterators for parallel_sort </div> </div>
|
||||
<div class="title">Requirements on parallel_scan body </div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="textblock"><p>Requirements on the iterator type <code>It</code> and its value type <code>T</code> for <code>parallel_sort:</code> </p>
|
||||
<div class="textblock"><p>Class <code>Body</code> implementing the concept of parallel_scan body must define:</p>
|
||||
<ul>
|
||||
<li><div class="fragment"><div class="line"><span class="keywordtype">void</span> iter_swap( It a, It b ) </div>
|
||||
</div><!-- fragment --> Swaps the values of the elements the given iterators <code>a</code> and <code>b</code> are pointing to. <code>It</code> should be a random access iterator.</li>
|
||||
<li><div class="fragment"><div class="line"><span class="keywordtype">bool</span> Compare::operator()( <span class="keyword">const</span> T& x, <span class="keyword">const</span> T& y ) </div>
|
||||
</div><!-- fragment --> True if x comes before y; </li>
|
||||
<li><div class="fragment"><div class="line">Body::Body( Body&, split ); </div>
|
||||
</div><!-- fragment --> Splitting constructor. Split <code>b</code> so that <code>this</code> and <code>b</code> can accumulate separately</li>
|
||||
<li><div class="fragment"><div class="line">Body::~Body(); </div>
|
||||
</div><!-- fragment --> Destructor</li>
|
||||
<li><div class="fragment"><div class="line"><span class="keywordtype">void</span> Body::operator()( <span class="keyword">const</span> Range& r, pre_scan_tag ); </div>
|
||||
</div><!-- fragment --> Preprocess iterations for range <code>r</code> </li>
|
||||
<li><div class="fragment"><div class="line"><span class="keywordtype">void</span> Body::operator()( <span class="keyword">const</span> Range& r, final_scan_tag ); </div>
|
||||
</div><!-- fragment --> Do final processing for iterations of range <code>r</code> </li>
|
||||
<li><div class="fragment"><div class="line"><span class="keywordtype">void</span> Body::reverse_join( Body& a ); </div>
|
||||
</div><!-- fragment --> Merge preprocessing state of <code>a</code> into <code>this</code>, where <code>a</code> was created earlier from <code>b</code> by b's splitting constructor </li>
|
||||
</ul>
|
||||
</div></div><!-- contents -->
|
||||
<hr>
|
||||
<p></p>
|
||||
Copyright © 2005-2017 Intel Corporation. All Rights Reserved.
|
||||
Copyright © 2005-2015 Intel Corporation. All Rights Reserved.
|
||||
<p></p>
|
||||
Intel, Pentium, Intel Xeon, Itanium, Intel XScale and VTune are
|
||||
registered trademarks or trademarks of Intel Corporation or its
|
||||
|
||||
+9
-13
@@ -4,7 +4,7 @@
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<meta name="generator" content="Doxygen 1.8.4"/>
|
||||
<title>TBB concepts</title>
|
||||
<title>Requirements on iterators for parallel_sort</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
@@ -26,29 +26,25 @@
|
||||
</div>
|
||||
<div id="nav-path" class="navpath">
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="index.html">Main Page</a></li> </ul>
|
||||
<li class="navelem"><a class="el" href="index.html">Main Page</a></li><li class="navelem"><a class="el" href="a00008.html">TBB concepts</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">TBB concepts </div> </div>
|
||||
<div class="title">Requirements on iterators for parallel_sort </div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="textblock"><p>A concept is a set of requirements to a type, which are necessary and sufficient for the type to model a particular behavior or a set of behaviors. Some concepts are specific to a particular algorithm (e.g. algorithm body), while other ones are common to several algorithms (e.g. range concept).</p>
|
||||
<p>All TBB algorithms make use of different classes implementing various concepts. Implementation classes are supplied by the user as type arguments of template parameters and/or as objects passed as function call arguments. The library provides predefined implementations of some concepts (e.g. several kinds of <a class="el" href="a00001.html">ranges</a>), while other ones must always be implemented by the user.</p>
|
||||
<p>TBB defines a set of minimal requirements each concept must conform to. Here is the list of different concepts hyperlinked to the corresponding requirements specifications:</p>
|
||||
<div class="textblock"><p>Requirements on value type <code>T</code> of <code>RandomAccessIterator</code> for <code>parallel_sort:</code> </p>
|
||||
<ul>
|
||||
<li><a class="el" href="a00001.html">Requirements on range concept</a></li>
|
||||
<li>parallel_do_body_req</li>
|
||||
<li><a class="el" href="a00002.html">Requirements on parallel_for body</a></li>
|
||||
<li><a class="el" href="a00003.html">Requirements on parallel_reduce body</a></li>
|
||||
<li><a class="el" href="a00005.html">Requirements on parallel_scan body</a></li>
|
||||
<li><a class="el" href="a00006.html">Requirements on iterators for parallel_sort</a> </li>
|
||||
<li><div class="fragment"><div class="line"><span class="keywordtype">void</span> swap( T& x, T& y ) </div>
|
||||
</div><!-- fragment --> Swaps <code>x</code> and <code>y</code> </li>
|
||||
<li><div class="fragment"><div class="line"><span class="keywordtype">bool</span> Compare::operator()( <span class="keyword">const</span> T& x, <span class="keyword">const</span> T& y ) </div>
|
||||
</div><!-- fragment --> True if x comes before y; </li>
|
||||
</ul>
|
||||
</div></div><!-- contents -->
|
||||
<hr>
|
||||
<p></p>
|
||||
Copyright © 2005-2017 Intel Corporation. All Rights Reserved.
|
||||
Copyright © 2005-2015 Intel Corporation. All Rights Reserved.
|
||||
<p></p>
|
||||
Intel, Pentium, Intel Xeon, Itanium, Intel XScale and VTune are
|
||||
registered trademarks or trademarks of Intel Corporation or its
|
||||
|
||||
+20
-17
@@ -4,7 +4,7 @@
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<meta name="generator" content="Doxygen 1.8.4"/>
|
||||
<title>__TBB_malloc_proxy_caller Struct Reference</title>
|
||||
<title>TBB concepts</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
@@ -17,35 +17,38 @@
|
||||
<div id="navrow1" class="tabs">
|
||||
<ul class="tablist">
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||
<li class="current"><a href="pages.html"><span>Related Pages</span></a></li>
|
||||
<li><a href="modules.html"><span>Modules</span></a></li>
|
||||
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
||||
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
||||
<li><a href="annotated.html"><span>Classes</span></a></li>
|
||||
<li><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div id="navrow2" class="tabs2">
|
||||
<ul class="tablist">
|
||||
<li><a href="annotated.html"><span>Class List</span></a></li>
|
||||
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
|
||||
<li><a href="functions.html"><span>Class Members</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div id="nav-path" class="navpath">
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="index.html">Main Page</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="a00264.html">List of all members</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">__TBB_malloc_proxy_caller Struct Reference</div> </div>
|
||||
<div class="title">TBB concepts </div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<hr/>The documentation for this struct was generated from the following file:<ul>
|
||||
<li>tbbmalloc_proxy.h</li>
|
||||
<div class="textblock"><p>A concept is a set of requirements to a type, which are necessary and sufficient for the type to model a particular behavior or a set of behaviors. Some concepts are specific to a particular algorithm (e.g. algorithm body), while other ones are common to several algorithms (e.g. range concept).</p>
|
||||
<p>All TBB algorithms make use of different classes implementing various concepts. Implementation classes are supplied by the user as type arguments of template parameters and/or as objects passed as function call arguments. The library provides predefined implementations of some concepts (e.g. several kinds of <a class="el" href="a00001.html">ranges</a>), while other ones must always be implemented by the user.</p>
|
||||
<p>TBB defines a set of minimal requirements each concept must conform to. Here is the list of different concepts hyperlinked to the corresponding requirements specifications:</p>
|
||||
<ul>
|
||||
<li><a class="el" href="a00001.html">Requirements on range concept</a></li>
|
||||
<li><a class="el" href="a00002.html">Requirements on parallel_do body</a></li>
|
||||
<li><a class="el" href="a00003.html">Requirements on parallel_for body</a></li>
|
||||
<li><a class="el" href="a00004.html">Requirements on parallel_reduce body</a></li>
|
||||
<li><a class="el" href="a00006.html">Requirements on parallel_scan body</a></li>
|
||||
<li><a class="el" href="a00007.html">Requirements on iterators for parallel_sort</a> </li>
|
||||
</ul>
|
||||
</div><!-- contents -->
|
||||
</div></div><!-- contents -->
|
||||
<hr>
|
||||
<p></p>
|
||||
Copyright © 2005-2017 Intel Corporation. All Rights Reserved.
|
||||
Copyright © 2005-2015 Intel Corporation. All Rights Reserved.
|
||||
<p></p>
|
||||
Intel, Pentium, Intel Xeon, Itanium, Intel XScale and VTune are
|
||||
registered trademarks or trademarks of Intel Corporation or its
|
||||
|
||||
+6
-96
@@ -4,7 +4,7 @@
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<meta name="generator" content="Doxygen 1.8.4"/>
|
||||
<title>tbb::interface5::concurrent_hash_map< Key, T, HashCompare, A >::accessor Class Reference</title>
|
||||
<title>__TBB_malloc_proxy_caller Struct Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
@@ -31,111 +31,21 @@
|
||||
<li><a href="functions.html"><span>Class Members</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div id="nav-path" class="navpath">
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="a00237.html">tbb</a></li><li class="navelem"><b>interface5</b></li><li class="navelem"><a class="el" href="a00040.html">concurrent_hash_map</a></li><li class="navelem"><a class="el" href="a00009.html">accessor</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#pub-types">Public Types</a> |
|
||||
<a href="#pub-methods">Public Member Functions</a> |
|
||||
<a href="a00362.html">List of all members</a> </div>
|
||||
<a href="a00263.html">List of all members</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">tbb::interface5::concurrent_hash_map< Key, T, HashCompare, A >::accessor Class Reference</div> </div>
|
||||
<div class="title">__TBB_malloc_proxy_caller Struct Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
|
||||
<p>Allows write access to elements and combines data access, locking, and garbage collection.
|
||||
<a href="a00009.html#details">More...</a></p>
|
||||
|
||||
<p><code>#include <concurrent_hash_map.h></code></p>
|
||||
<div class="dynheader">
|
||||
Inheritance diagram for tbb::interface5::concurrent_hash_map< Key, T, HashCompare, A >::accessor:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center">
|
||||
<img src="a00009.png" usemap="#tbb::interface5::concurrent_hash_map< Key, T, HashCompare, A >::accessor_map" alt=""/>
|
||||
<map id="tbb::interface5::concurrent_hash_map< Key, T, HashCompare, A >::accessor_map" name="tbb::interface5::concurrent_hash_map< Key, T, HashCompare, A >::accessor_map">
|
||||
<area href="a00051.html" title="Combines data access, locking, and garbage collection. " alt="tbb::interface5::concurrent_hash_map< Key, T, HashCompare, A >::const_accessor" shape="rect" coords="0,56,488,80"/>
|
||||
</map>
|
||||
</div></div>
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
|
||||
Public Types</h2></td></tr>
|
||||
<tr class="memitem:a850178bbdcdbc4cf5955cab37eb8c42c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a850178bbdcdbc4cf5955cab37eb8c42c"></a>
|
||||
typedef <br class="typebreak"/>
|
||||
concurrent_hash_map::value_type </td><td class="memItemRight" valign="bottom"><a class="el" href="a00009.html#a850178bbdcdbc4cf5955cab37eb8c42c">value_type</a></td></tr>
|
||||
<tr class="memdesc:a850178bbdcdbc4cf5955cab37eb8c42c"><td class="mdescLeft"> </td><td class="mdescRight">Type of value. <br/></td></tr>
|
||||
<tr class="separator:a850178bbdcdbc4cf5955cab37eb8c42c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="inherit_header pub_types_a00051"><td colspan="2" onclick="javascript:toggleInherit('pub_types_a00051')"><img src="closed.png" alt="-"/> Public Types inherited from <a class="el" href="a00051.html">tbb::interface5::concurrent_hash_map< Key, T, HashCompare, A >::const_accessor</a></td></tr>
|
||||
<tr class="memitem:aa8ca5aef4ee14b7eddb64767b8cd5fda inherit pub_types_a00051"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa8ca5aef4ee14b7eddb64767b8cd5fda"></a>
|
||||
typedef const <br class="typebreak"/>
|
||||
concurrent_hash_map::value_type </td><td class="memItemRight" valign="bottom"><a class="el" href="a00051.html#aa8ca5aef4ee14b7eddb64767b8cd5fda">value_type</a></td></tr>
|
||||
<tr class="memdesc:aa8ca5aef4ee14b7eddb64767b8cd5fda inherit pub_types_a00051"><td class="mdescLeft"> </td><td class="mdescRight">Type of value. <br/></td></tr>
|
||||
<tr class="separator:aa8ca5aef4ee14b7eddb64767b8cd5fda inherit pub_types_a00051"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
|
||||
Public Member Functions</h2></td></tr>
|
||||
<tr class="memitem:a4e03905a33fbdafdb99113cc68d2bd4b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4e03905a33fbdafdb99113cc68d2bd4b"></a>
|
||||
reference </td><td class="memItemRight" valign="bottom"><a class="el" href="a00009.html#a4e03905a33fbdafdb99113cc68d2bd4b">operator*</a> () const </td></tr>
|
||||
<tr class="memdesc:a4e03905a33fbdafdb99113cc68d2bd4b"><td class="mdescLeft"> </td><td class="mdescRight">Return reference to associated value in hash table. <br/></td></tr>
|
||||
<tr class="separator:a4e03905a33fbdafdb99113cc68d2bd4b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ab04f73bd4a4ca7df0dc91a7b4d66f987"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab04f73bd4a4ca7df0dc91a7b4d66f987"></a>
|
||||
pointer </td><td class="memItemRight" valign="bottom"><a class="el" href="a00009.html#ab04f73bd4a4ca7df0dc91a7b4d66f987">operator-></a> () const </td></tr>
|
||||
<tr class="memdesc:ab04f73bd4a4ca7df0dc91a7b4d66f987"><td class="mdescLeft"> </td><td class="mdescRight">Return pointer to associated value in hash table. <br/></td></tr>
|
||||
<tr class="separator:ab04f73bd4a4ca7df0dc91a7b4d66f987"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="inherit_header pub_methods_a00051"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_a00051')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="a00051.html">tbb::interface5::concurrent_hash_map< Key, T, HashCompare, A >::const_accessor</a></td></tr>
|
||||
<tr class="memitem:a6299b523d2ae8e2613f1bc160ca99b85 inherit pub_methods_a00051"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6299b523d2ae8e2613f1bc160ca99b85"></a>
|
||||
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="a00051.html#a6299b523d2ae8e2613f1bc160ca99b85">empty</a> () const </td></tr>
|
||||
<tr class="memdesc:a6299b523d2ae8e2613f1bc160ca99b85 inherit pub_methods_a00051"><td class="mdescLeft"> </td><td class="mdescRight">True if result is empty. <br/></td></tr>
|
||||
<tr class="separator:a6299b523d2ae8e2613f1bc160ca99b85 inherit pub_methods_a00051"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a18390cb369369d72bdf7c867755b5190 inherit pub_methods_a00051"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a18390cb369369d72bdf7c867755b5190"></a>
|
||||
void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00051.html#a18390cb369369d72bdf7c867755b5190">release</a> ()</td></tr>
|
||||
<tr class="memdesc:a18390cb369369d72bdf7c867755b5190 inherit pub_methods_a00051"><td class="mdescLeft"> </td><td class="mdescRight">Set to null. <br/></td></tr>
|
||||
<tr class="separator:a18390cb369369d72bdf7c867755b5190 inherit pub_methods_a00051"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a8adf04e33e7c8c876ba849f26807713a inherit pub_methods_a00051"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8adf04e33e7c8c876ba849f26807713a"></a>
|
||||
const_reference </td><td class="memItemRight" valign="bottom"><a class="el" href="a00051.html#a8adf04e33e7c8c876ba849f26807713a">operator*</a> () const </td></tr>
|
||||
<tr class="memdesc:a8adf04e33e7c8c876ba849f26807713a inherit pub_methods_a00051"><td class="mdescLeft"> </td><td class="mdescRight">Return reference to associated value in hash table. <br/></td></tr>
|
||||
<tr class="separator:a8adf04e33e7c8c876ba849f26807713a inherit pub_methods_a00051"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a28fa9b9e6c35d7e80217e69a7afe1ee5 inherit pub_methods_a00051"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a28fa9b9e6c35d7e80217e69a7afe1ee5"></a>
|
||||
const_pointer </td><td class="memItemRight" valign="bottom"><a class="el" href="a00051.html#a28fa9b9e6c35d7e80217e69a7afe1ee5">operator-></a> () const </td></tr>
|
||||
<tr class="memdesc:a28fa9b9e6c35d7e80217e69a7afe1ee5 inherit pub_methods_a00051"><td class="mdescLeft"> </td><td class="mdescRight">Return pointer to associated value in hash table. <br/></td></tr>
|
||||
<tr class="separator:a28fa9b9e6c35d7e80217e69a7afe1ee5 inherit pub_methods_a00051"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a7b26d22d228cf0d8678c9b346c63752c inherit pub_methods_a00051"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7b26d22d228cf0d8678c9b346c63752c"></a>
|
||||
 </td><td class="memItemRight" valign="bottom"><a class="el" href="a00051.html#a7b26d22d228cf0d8678c9b346c63752c">const_accessor</a> ()</td></tr>
|
||||
<tr class="memdesc:a7b26d22d228cf0d8678c9b346c63752c inherit pub_methods_a00051"><td class="mdescLeft"> </td><td class="mdescRight">Create empty result. <br/></td></tr>
|
||||
<tr class="separator:a7b26d22d228cf0d8678c9b346c63752c inherit pub_methods_a00051"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:afbc0c85a146c912b9a0f94a7695957c7 inherit pub_methods_a00051"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afbc0c85a146c912b9a0f94a7695957c7"></a>
|
||||
 </td><td class="memItemRight" valign="bottom"><a class="el" href="a00051.html#afbc0c85a146c912b9a0f94a7695957c7">~const_accessor</a> ()</td></tr>
|
||||
<tr class="memdesc:afbc0c85a146c912b9a0f94a7695957c7 inherit pub_methods_a00051"><td class="mdescLeft"> </td><td class="mdescRight">Destroy result after releasing the underlying reference. <br/></td></tr>
|
||||
<tr class="separator:afbc0c85a146c912b9a0f94a7695957c7 inherit pub_methods_a00051"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
|
||||
Additional Inherited Members</h2></td></tr>
|
||||
<tr class="inherit_header pro_methods_a00051"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_a00051')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="a00051.html">tbb::interface5::concurrent_hash_map< Key, T, HashCompare, A >::const_accessor</a></td></tr>
|
||||
<tr class="memitem:a05b74d408d8cd7773f7b5edfef97da1b inherit pro_methods_a00051"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a05b74d408d8cd7773f7b5edfef97da1b"></a>
|
||||
bool </td><td class="memItemRight" valign="bottom"><b>is_writer</b> ()</td></tr>
|
||||
<tr class="separator:a05b74d408d8cd7773f7b5edfef97da1b inherit pro_methods_a00051"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="inherit_header pro_attribs_a00051"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_a00051')"><img src="closed.png" alt="-"/> Protected Attributes inherited from <a class="el" href="a00051.html">tbb::interface5::concurrent_hash_map< Key, T, HashCompare, A >::const_accessor</a></td></tr>
|
||||
<tr class="memitem:ac9b96f45483ddbff95a95e8e666a8f28 inherit pro_attribs_a00051"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac9b96f45483ddbff95a95e8e666a8f28"></a>
|
||||
<a class="el" href="a00087.html">node</a> * </td><td class="memItemRight" valign="bottom"><b>my_node</b></td></tr>
|
||||
<tr class="separator:ac9b96f45483ddbff95a95e8e666a8f28 inherit pro_attribs_a00051"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a5034084f595666b47734f99a6eaefa9f inherit pro_attribs_a00051"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5034084f595666b47734f99a6eaefa9f"></a>
|
||||
hashcode_t </td><td class="memItemRight" valign="bottom"><b>my_hash</b></td></tr>
|
||||
<tr class="separator:a5034084f595666b47734f99a6eaefa9f inherit pro_attribs_a00051"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<div class="textblock"><h3>template<typename Key, typename T, typename HashCompare = tbb_hash_compare<Key>, typename A = tbb_allocator<std::pair<Key, T> >><br/>
|
||||
class tbb::interface5::concurrent_hash_map< Key, T, HashCompare, A >::accessor</h3>
|
||||
|
||||
<p>Allows write access to elements and combines data access, locking, and garbage collection. </p>
|
||||
</div><hr/>The documentation for this class was generated from the following file:<ul>
|
||||
<li>concurrent_hash_map.h</li>
|
||||
<hr/>The documentation for this struct was generated from the following file:<ul>
|
||||
<li>tbbmalloc_proxy.h</li>
|
||||
</ul>
|
||||
</div><!-- contents -->
|
||||
<hr>
|
||||
<p></p>
|
||||
Copyright © 2005-2017 Intel Corporation. All Rights Reserved.
|
||||
Copyright © 2005-2015 Intel Corporation. All Rights Reserved.
|
||||
<p></p>
|
||||
Intel, Pentium, Intel Xeon, Itanium, Intel XScale and VTune are
|
||||
registered trademarks or trademarks of Intel Corporation or its
|
||||
|
||||
+87
-9
@@ -4,7 +4,7 @@
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<meta name="generator" content="Doxygen 1.8.4"/>
|
||||
<title>tbb::interface5::concurrent_hash_map< Key, T, HashCompare, A >::accessor_not_used Struct Reference</title>
|
||||
<title>tbb::interface5::concurrent_hash_map< Key, T, HashCompare, A >::accessor Class Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
@@ -33,31 +33,109 @@
|
||||
</div>
|
||||
<div id="nav-path" class="navpath">
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="a00237.html">tbb</a></li><li class="navelem"><b>interface5</b></li><li class="navelem"><a class="el" href="a00040.html">concurrent_hash_map</a></li><li class="navelem"><a class="el" href="a00010.html">accessor_not_used</a></li> </ul>
|
||||
<li class="navelem"><a class="el" href="a00241.html">tbb</a></li><li class="navelem"><b>interface5</b></li><li class="navelem"><a class="el" href="a00045.html">concurrent_hash_map</a></li><li class="navelem"><a class="el" href="a00010.html">accessor</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#pub-types">Public Types</a> |
|
||||
<a href="#pub-methods">Public Member Functions</a> |
|
||||
<a href="a00363.html">List of all members</a> </div>
|
||||
<a href="a00371.html">List of all members</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">tbb::interface5::concurrent_hash_map< Key, T, HashCompare, A >::accessor_not_used Struct Reference</div> </div>
|
||||
<div class="title">tbb::interface5::concurrent_hash_map< Key, T, HashCompare, A >::accessor Class Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
|
||||
<p>Allows write access to elements and combines data access, locking, and garbage collection.
|
||||
<a href="a00010.html#details">More...</a></p>
|
||||
|
||||
<p><code>#include <concurrent_hash_map.h></code></p>
|
||||
<div class="dynheader">
|
||||
Inheritance diagram for tbb::interface5::concurrent_hash_map< Key, T, HashCompare, A >::accessor:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center">
|
||||
<img src="a00010.png" usemap="#tbb::interface5::concurrent_hash_map< Key, T, HashCompare, A >::accessor_map" alt=""/>
|
||||
<map id="tbb::interface5::concurrent_hash_map< Key, T, HashCompare, A >::accessor_map" name="tbb::interface5::concurrent_hash_map< Key, T, HashCompare, A >::accessor_map">
|
||||
<area href="a00056.html" title="Combines data access, locking, and garbage collection. " alt="tbb::interface5::concurrent_hash_map< Key, T, HashCompare, A >::const_accessor" shape="rect" coords="0,56,488,80"/>
|
||||
</map>
|
||||
</div></div>
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
|
||||
Public Types</h2></td></tr>
|
||||
<tr class="memitem:a850178bbdcdbc4cf5955cab37eb8c42c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a850178bbdcdbc4cf5955cab37eb8c42c"></a>
|
||||
typedef <br class="typebreak"/>
|
||||
concurrent_hash_map::value_type </td><td class="memItemRight" valign="bottom"><a class="el" href="a00010.html#a850178bbdcdbc4cf5955cab37eb8c42c">value_type</a></td></tr>
|
||||
<tr class="memdesc:a850178bbdcdbc4cf5955cab37eb8c42c"><td class="mdescLeft"> </td><td class="mdescRight">Type of value. <br/></td></tr>
|
||||
<tr class="separator:a850178bbdcdbc4cf5955cab37eb8c42c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="inherit_header pub_types_a00056"><td colspan="2" onclick="javascript:toggleInherit('pub_types_a00056')"><img src="closed.png" alt="-"/> Public Types inherited from <a class="el" href="a00056.html">tbb::interface5::concurrent_hash_map< Key, T, HashCompare, A >::const_accessor</a></td></tr>
|
||||
<tr class="memitem:aa8ca5aef4ee14b7eddb64767b8cd5fda inherit pub_types_a00056"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa8ca5aef4ee14b7eddb64767b8cd5fda"></a>
|
||||
typedef const <br class="typebreak"/>
|
||||
concurrent_hash_map::value_type </td><td class="memItemRight" valign="bottom"><a class="el" href="a00056.html#aa8ca5aef4ee14b7eddb64767b8cd5fda">value_type</a></td></tr>
|
||||
<tr class="memdesc:aa8ca5aef4ee14b7eddb64767b8cd5fda inherit pub_types_a00056"><td class="mdescLeft"> </td><td class="mdescRight">Type of value. <br/></td></tr>
|
||||
<tr class="separator:aa8ca5aef4ee14b7eddb64767b8cd5fda inherit pub_types_a00056"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
|
||||
Public Member Functions</h2></td></tr>
|
||||
<tr class="memitem:a28b496c90f07e4557a6dfa5a8dd3f4e1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a28b496c90f07e4557a6dfa5a8dd3f4e1"></a>
|
||||
void </td><td class="memItemRight" valign="bottom"><b>release</b> ()</td></tr>
|
||||
<tr class="separator:a28b496c90f07e4557a6dfa5a8dd3f4e1"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a4e03905a33fbdafdb99113cc68d2bd4b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4e03905a33fbdafdb99113cc68d2bd4b"></a>
|
||||
reference </td><td class="memItemRight" valign="bottom"><a class="el" href="a00010.html#a4e03905a33fbdafdb99113cc68d2bd4b">operator*</a> () const </td></tr>
|
||||
<tr class="memdesc:a4e03905a33fbdafdb99113cc68d2bd4b"><td class="mdescLeft"> </td><td class="mdescRight">Return reference to associated value in hash table. <br/></td></tr>
|
||||
<tr class="separator:a4e03905a33fbdafdb99113cc68d2bd4b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ab04f73bd4a4ca7df0dc91a7b4d66f987"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab04f73bd4a4ca7df0dc91a7b4d66f987"></a>
|
||||
pointer </td><td class="memItemRight" valign="bottom"><a class="el" href="a00010.html#ab04f73bd4a4ca7df0dc91a7b4d66f987">operator-></a> () const </td></tr>
|
||||
<tr class="memdesc:ab04f73bd4a4ca7df0dc91a7b4d66f987"><td class="mdescLeft"> </td><td class="mdescRight">Return pointer to associated value in hash table. <br/></td></tr>
|
||||
<tr class="separator:ab04f73bd4a4ca7df0dc91a7b4d66f987"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="inherit_header pub_methods_a00056"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_a00056')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="a00056.html">tbb::interface5::concurrent_hash_map< Key, T, HashCompare, A >::const_accessor</a></td></tr>
|
||||
<tr class="memitem:a6299b523d2ae8e2613f1bc160ca99b85 inherit pub_methods_a00056"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6299b523d2ae8e2613f1bc160ca99b85"></a>
|
||||
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="a00056.html#a6299b523d2ae8e2613f1bc160ca99b85">empty</a> () const </td></tr>
|
||||
<tr class="memdesc:a6299b523d2ae8e2613f1bc160ca99b85 inherit pub_methods_a00056"><td class="mdescLeft"> </td><td class="mdescRight">True if result is empty. <br/></td></tr>
|
||||
<tr class="separator:a6299b523d2ae8e2613f1bc160ca99b85 inherit pub_methods_a00056"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a18390cb369369d72bdf7c867755b5190 inherit pub_methods_a00056"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a18390cb369369d72bdf7c867755b5190"></a>
|
||||
void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00056.html#a18390cb369369d72bdf7c867755b5190">release</a> ()</td></tr>
|
||||
<tr class="memdesc:a18390cb369369d72bdf7c867755b5190 inherit pub_methods_a00056"><td class="mdescLeft"> </td><td class="mdescRight">Set to null. <br/></td></tr>
|
||||
<tr class="separator:a18390cb369369d72bdf7c867755b5190 inherit pub_methods_a00056"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a8adf04e33e7c8c876ba849f26807713a inherit pub_methods_a00056"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8adf04e33e7c8c876ba849f26807713a"></a>
|
||||
const_reference </td><td class="memItemRight" valign="bottom"><a class="el" href="a00056.html#a8adf04e33e7c8c876ba849f26807713a">operator*</a> () const </td></tr>
|
||||
<tr class="memdesc:a8adf04e33e7c8c876ba849f26807713a inherit pub_methods_a00056"><td class="mdescLeft"> </td><td class="mdescRight">Return reference to associated value in hash table. <br/></td></tr>
|
||||
<tr class="separator:a8adf04e33e7c8c876ba849f26807713a inherit pub_methods_a00056"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a28fa9b9e6c35d7e80217e69a7afe1ee5 inherit pub_methods_a00056"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a28fa9b9e6c35d7e80217e69a7afe1ee5"></a>
|
||||
const_pointer </td><td class="memItemRight" valign="bottom"><a class="el" href="a00056.html#a28fa9b9e6c35d7e80217e69a7afe1ee5">operator-></a> () const </td></tr>
|
||||
<tr class="memdesc:a28fa9b9e6c35d7e80217e69a7afe1ee5 inherit pub_methods_a00056"><td class="mdescLeft"> </td><td class="mdescRight">Return pointer to associated value in hash table. <br/></td></tr>
|
||||
<tr class="separator:a28fa9b9e6c35d7e80217e69a7afe1ee5 inherit pub_methods_a00056"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a7b26d22d228cf0d8678c9b346c63752c inherit pub_methods_a00056"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7b26d22d228cf0d8678c9b346c63752c"></a>
|
||||
 </td><td class="memItemRight" valign="bottom"><a class="el" href="a00056.html#a7b26d22d228cf0d8678c9b346c63752c">const_accessor</a> ()</td></tr>
|
||||
<tr class="memdesc:a7b26d22d228cf0d8678c9b346c63752c inherit pub_methods_a00056"><td class="mdescLeft"> </td><td class="mdescRight">Create empty result. <br/></td></tr>
|
||||
<tr class="separator:a7b26d22d228cf0d8678c9b346c63752c inherit pub_methods_a00056"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:afbc0c85a146c912b9a0f94a7695957c7 inherit pub_methods_a00056"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afbc0c85a146c912b9a0f94a7695957c7"></a>
|
||||
 </td><td class="memItemRight" valign="bottom"><a class="el" href="a00056.html#afbc0c85a146c912b9a0f94a7695957c7">~const_accessor</a> ()</td></tr>
|
||||
<tr class="memdesc:afbc0c85a146c912b9a0f94a7695957c7 inherit pub_methods_a00056"><td class="mdescLeft"> </td><td class="mdescRight">Destroy result after releasing the underlying reference. <br/></td></tr>
|
||||
<tr class="separator:afbc0c85a146c912b9a0f94a7695957c7 inherit pub_methods_a00056"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
|
||||
Additional Inherited Members</h2></td></tr>
|
||||
<tr class="inherit_header pro_methods_a00056"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_a00056')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="a00056.html">tbb::interface5::concurrent_hash_map< Key, T, HashCompare, A >::const_accessor</a></td></tr>
|
||||
<tr class="memitem:a05b74d408d8cd7773f7b5edfef97da1b inherit pro_methods_a00056"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a05b74d408d8cd7773f7b5edfef97da1b"></a>
|
||||
bool </td><td class="memItemRight" valign="bottom"><b>is_writer</b> ()</td></tr>
|
||||
<tr class="separator:a05b74d408d8cd7773f7b5edfef97da1b inherit pro_methods_a00056"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="inherit_header pro_attribs_a00056"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_a00056')"><img src="closed.png" alt="-"/> Protected Attributes inherited from <a class="el" href="a00056.html">tbb::interface5::concurrent_hash_map< Key, T, HashCompare, A >::const_accessor</a></td></tr>
|
||||
<tr class="memitem:ac9b96f45483ddbff95a95e8e666a8f28 inherit pro_attribs_a00056"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac9b96f45483ddbff95a95e8e666a8f28"></a>
|
||||
<a class="el" href="a00102.html">node</a> * </td><td class="memItemRight" valign="bottom"><b>my_node</b></td></tr>
|
||||
<tr class="separator:ac9b96f45483ddbff95a95e8e666a8f28 inherit pro_attribs_a00056"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a5034084f595666b47734f99a6eaefa9f inherit pro_attribs_a00056"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5034084f595666b47734f99a6eaefa9f"></a>
|
||||
hashcode_t </td><td class="memItemRight" valign="bottom"><b>my_hash</b></td></tr>
|
||||
<tr class="separator:a5034084f595666b47734f99a6eaefa9f inherit pro_attribs_a00056"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<hr/>The documentation for this struct was generated from the following file:<ul>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<div class="textblock"><h3>template<typename Key, typename T, typename HashCompare = tbb_hash_compare<Key>, typename A = tbb_allocator<std::pair<Key, T> >><br/>
|
||||
class tbb::interface5::concurrent_hash_map< Key, T, HashCompare, A >::accessor</h3>
|
||||
|
||||
<p>Allows write access to elements and combines data access, locking, and garbage collection. </p>
|
||||
</div><hr/>The documentation for this class was generated from the following file:<ul>
|
||||
<li>concurrent_hash_map.h</li>
|
||||
</ul>
|
||||
</div><!-- contents -->
|
||||
<hr>
|
||||
<p></p>
|
||||
Copyright © 2005-2017 Intel Corporation. All Rights Reserved.
|
||||
Copyright © 2005-2015 Intel Corporation. All Rights Reserved.
|
||||
<p></p>
|
||||
Intel, Pentium, Intel Xeon, Itanium, Intel XScale and VTune are
|
||||
registered trademarks or trademarks of Intel Corporation or its
|
||||
|
||||
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
+10
-69
@@ -4,7 +4,7 @@
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<meta name="generator" content="Doxygen 1.8.4"/>
|
||||
<title>tbb::interface6::aggregator Class Reference</title>
|
||||
<title>tbb::interface5::concurrent_hash_map< Key, T, HashCompare, A >::accessor_not_used Struct Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
@@ -33,90 +33,31 @@
|
||||
</div>
|
||||
<div id="nav-path" class="navpath">
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="a00237.html">tbb</a></li><li class="navelem"><b>interface6</b></li><li class="navelem"><a class="el" href="a00011.html">aggregator</a></li> </ul>
|
||||
<li class="navelem"><a class="el" href="a00241.html">tbb</a></li><li class="navelem"><b>interface5</b></li><li class="navelem"><a class="el" href="a00045.html">concurrent_hash_map</a></li><li class="navelem"><a class="el" href="a00011.html">accessor_not_used</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#pub-methods">Public Member Functions</a> |
|
||||
<a href="a00382.html">List of all members</a> </div>
|
||||
<a href="a00372.html">List of all members</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">tbb::interface6::aggregator Class Reference</div> </div>
|
||||
<div class="title">tbb::interface5::concurrent_hash_map< Key, T, HashCompare, A >::accessor_not_used Struct Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
|
||||
<p>Basic aggregator interface.
|
||||
<a href="a00011.html#details">More...</a></p>
|
||||
|
||||
<p><code>#include <aggregator.h></code></p>
|
||||
<div class="dynheader">
|
||||
Inheritance diagram for tbb::interface6::aggregator:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center">
|
||||
<img src="a00011.png" usemap="#tbb::interface6::aggregator_map" alt=""/>
|
||||
<map id="tbb::interface6::aggregator_map" name="tbb::interface6::aggregator_map">
|
||||
<area href="a00012.html" alt="tbb::interface6::aggregator_ext< internal::basic_handler >" shape="rect" coords="0,0,335,24"/>
|
||||
</map>
|
||||
</div></div>
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
|
||||
Public Member Functions</h2></td></tr>
|
||||
<tr class="memitem:aa7cc924b6f0d17578d61fd9002f59f84"><td class="memTemplParams" colspan="2">template<typename Body > </td></tr>
|
||||
<tr class="memitem:aa7cc924b6f0d17578d61fd9002f59f84"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00011.html#aa7cc924b6f0d17578d61fd9002f59f84">execute</a> (const Body &b)</td></tr>
|
||||
<tr class="memdesc:aa7cc924b6f0d17578d61fd9002f59f84"><td class="mdescLeft"> </td><td class="mdescRight">BASIC INTERFACE: Enter a function for exclusive execution by the aggregator. <a href="#aa7cc924b6f0d17578d61fd9002f59f84">More...</a><br/></td></tr>
|
||||
<tr class="separator:aa7cc924b6f0d17578d61fd9002f59f84"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
|
||||
Additional Inherited Members</h2></td></tr>
|
||||
<tr class="inherit_header pub_methods_a00012"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_a00012')"><img src="closed.png" alt="-"/> Private Member Functions inherited from <a class="el" href="a00012.html">tbb::interface6::aggregator_ext< internal::basic_handler ></a></td></tr>
|
||||
<tr class="memitem:a8ae120a21264cc1ea0a9cfafaa0634e4 inherit pub_methods_a00012"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8ae120a21264cc1ea0a9cfafaa0634e4"></a>
|
||||
 </td><td class="memItemRight" valign="bottom"><b>aggregator_ext</b> (const <a class="el" href="a00023.html">internal::basic_handler</a> &h)</td></tr>
|
||||
<tr class="separator:a8ae120a21264cc1ea0a9cfafaa0634e4 inherit pub_methods_a00012"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ae55b16ec6af204aa00d6a716fccec9f7 inherit pub_methods_a00012"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00012.html#ae55b16ec6af204aa00d6a716fccec9f7">process</a> (<a class="el" href="a00013.html">aggregator_operation</a> *op)</td></tr>
|
||||
<tr class="memdesc:ae55b16ec6af204aa00d6a716fccec9f7 inherit pub_methods_a00012"><td class="mdescLeft"> </td><td class="mdescRight">EXPERT INTERFACE: Enter a user-made operation into the aggregator's mailbox. <a href="#ae55b16ec6af204aa00d6a716fccec9f7">More...</a><br/></td></tr>
|
||||
<tr class="separator:ae55b16ec6af204aa00d6a716fccec9f7 inherit pub_methods_a00012"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ad376e5c31d10e885f33964592aa629d4 inherit pro_methods_a00012"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00012.html#ad376e5c31d10e885f33964592aa629d4">execute_impl</a> (<a class="el" href="a00013.html">aggregator_operation</a> &op)</td></tr>
|
||||
<tr class="separator:ad376e5c31d10e885f33964592aa629d4 inherit pro_methods_a00012"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a28b496c90f07e4557a6dfa5a8dd3f4e1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a28b496c90f07e4557a6dfa5a8dd3f4e1"></a>
|
||||
void </td><td class="memItemRight" valign="bottom"><b>release</b> ()</td></tr>
|
||||
<tr class="separator:a28b496c90f07e4557a6dfa5a8dd3f4e1"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<div class="textblock"><p>Basic aggregator interface. </p>
|
||||
</div><h2 class="groupheader">Member Function Documentation</h2>
|
||||
<a class="anchor" id="aa7cc924b6f0d17578d61fd9002f59f84"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<div class="memtemplate">
|
||||
template<typename Body > </div>
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">void tbb::interface6::aggregator::execute </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">const Body & </td>
|
||||
<td class="paramname"><em>b</em>)</td><td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>BASIC INTERFACE: Enter a function for exclusive execution by the aggregator. </p>
|
||||
<p>The calling thread stores the function object in a basic_operation and places the operation in the aggregator's mailbox </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<hr/>The documentation for this class was generated from the following file:<ul>
|
||||
<li>aggregator.h</li>
|
||||
<hr/>The documentation for this struct was generated from the following file:<ul>
|
||||
<li>concurrent_hash_map.h</li>
|
||||
</ul>
|
||||
</div><!-- contents -->
|
||||
<hr>
|
||||
<p></p>
|
||||
Copyright © 2005-2017 Intel Corporation. All Rights Reserved.
|
||||
Copyright © 2005-2015 Intel Corporation. All Rights Reserved.
|
||||
<p></p>
|
||||
Intel, Pentium, Intel Xeon, Itanium, Intel XScale and VTune are
|
||||
registered trademarks or trademarks of Intel Corporation or its
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 1.0 KiB |
+33
-59
@@ -4,7 +4,7 @@
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<meta name="generator" content="Doxygen 1.8.4"/>
|
||||
<title>tbb::interface6::aggregator_ext< handler_type > Class Template Reference</title>
|
||||
<title>tbb::interface6::aggregator Class Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
@@ -33,94 +33,68 @@
|
||||
</div>
|
||||
<div id="nav-path" class="navpath">
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="a00237.html">tbb</a></li><li class="navelem"><b>interface6</b></li><li class="navelem"><a class="el" href="a00012.html">aggregator_ext</a></li> </ul>
|
||||
<li class="navelem"><a class="el" href="a00241.html">tbb</a></li><li class="navelem"><b>interface6</b></li><li class="navelem"><a class="el" href="a00012.html">aggregator</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#pub-methods">Public Member Functions</a> |
|
||||
<a href="#pro-methods">Protected Member Functions</a> |
|
||||
<a href="a00381.html">List of all members</a> </div>
|
||||
<a href="a00392.html">List of all members</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">tbb::interface6::aggregator_ext< handler_type > Class Template Reference</div> </div>
|
||||
<div class="title">tbb::interface6::aggregator Class Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
|
||||
<p>Aggregator base class and expert interface.
|
||||
<p>Basic aggregator interface.
|
||||
<a href="a00012.html#details">More...</a></p>
|
||||
|
||||
<p><code>#include <aggregator.h></code></p>
|
||||
<div class="dynheader">
|
||||
Inheritance diagram for tbb::interface6::aggregator_ext< handler_type >:</div>
|
||||
Inheritance diagram for tbb::interface6::aggregator:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center">
|
||||
<img src="a00012.png" usemap="#tbb::interface6::aggregator_ext< handler_type >_map" alt=""/>
|
||||
<map id="tbb::interface6::aggregator_ext< handler_type >_map" name="tbb::interface6::aggregator_ext< handler_type >_map">
|
||||
<img src="a00012.png" usemap="#tbb::interface6::aggregator_map" alt=""/>
|
||||
<map id="tbb::interface6::aggregator_map" name="tbb::interface6::aggregator_map">
|
||||
<area href="a00013.html" alt="tbb::interface6::aggregator_ext< internal::basic_handler >" shape="rect" coords="0,0,335,24"/>
|
||||
</map>
|
||||
</div></div>
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
|
||||
Public Member Functions</h2></td></tr>
|
||||
<tr class="memitem:a8ae120a21264cc1ea0a9cfafaa0634e4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8ae120a21264cc1ea0a9cfafaa0634e4"></a>
|
||||
 </td><td class="memItemRight" valign="bottom"><b>aggregator_ext</b> (const handler_type &h)</td></tr>
|
||||
<tr class="separator:a8ae120a21264cc1ea0a9cfafaa0634e4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ae55b16ec6af204aa00d6a716fccec9f7"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00012.html#ae55b16ec6af204aa00d6a716fccec9f7">process</a> (<a class="el" href="a00013.html">aggregator_operation</a> *op)</td></tr>
|
||||
<tr class="memdesc:ae55b16ec6af204aa00d6a716fccec9f7"><td class="mdescLeft"> </td><td class="mdescRight">EXPERT INTERFACE: Enter a user-made operation into the aggregator's mailbox. <a href="#ae55b16ec6af204aa00d6a716fccec9f7">More...</a><br/></td></tr>
|
||||
<tr class="separator:ae55b16ec6af204aa00d6a716fccec9f7"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aa7cc924b6f0d17578d61fd9002f59f84"><td class="memTemplParams" colspan="2">template<typename Body > </td></tr>
|
||||
<tr class="memitem:aa7cc924b6f0d17578d61fd9002f59f84"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00012.html#aa7cc924b6f0d17578d61fd9002f59f84">execute</a> (const Body &b)</td></tr>
|
||||
<tr class="memdesc:aa7cc924b6f0d17578d61fd9002f59f84"><td class="mdescLeft"> </td><td class="mdescRight">BASIC INTERFACE: Enter a function for exclusive execution by the aggregator. <a href="#aa7cc924b6f0d17578d61fd9002f59f84">More...</a><br/></td></tr>
|
||||
<tr class="separator:aa7cc924b6f0d17578d61fd9002f59f84"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
|
||||
Protected Member Functions</h2></td></tr>
|
||||
<tr class="memitem:ad376e5c31d10e885f33964592aa629d4"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00012.html#ad376e5c31d10e885f33964592aa629d4">execute_impl</a> (<a class="el" href="a00013.html">aggregator_operation</a> &op)</td></tr>
|
||||
<tr class="separator:ad376e5c31d10e885f33964592aa629d4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
|
||||
Additional Inherited Members</h2></td></tr>
|
||||
<tr class="inherit_header pub_methods_a00013"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_a00013')"><img src="closed.png" alt="-"/> Private Member Functions inherited from <a class="el" href="a00013.html">tbb::interface6::aggregator_ext< internal::basic_handler ></a></td></tr>
|
||||
<tr class="memitem:a8ae120a21264cc1ea0a9cfafaa0634e4 inherit pub_methods_a00013"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8ae120a21264cc1ea0a9cfafaa0634e4"></a>
|
||||
 </td><td class="memItemRight" valign="bottom"><b>aggregator_ext</b> (const <a class="el" href="a00023.html">internal::basic_handler</a> &h)</td></tr>
|
||||
<tr class="separator:a8ae120a21264cc1ea0a9cfafaa0634e4 inherit pub_methods_a00013"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ae55b16ec6af204aa00d6a716fccec9f7 inherit pub_methods_a00013"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00013.html#ae55b16ec6af204aa00d6a716fccec9f7">process</a> (<a class="el" href="a00014.html">aggregator_operation</a> *op)</td></tr>
|
||||
<tr class="memdesc:ae55b16ec6af204aa00d6a716fccec9f7 inherit pub_methods_a00013"><td class="mdescLeft"> </td><td class="mdescRight">EXPERT INTERFACE: Enter a user-made operation into the aggregator's mailbox. <a href="#ae55b16ec6af204aa00d6a716fccec9f7">More...</a><br/></td></tr>
|
||||
<tr class="separator:ae55b16ec6af204aa00d6a716fccec9f7 inherit pub_methods_a00013"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ad376e5c31d10e885f33964592aa629d4 inherit pro_methods_a00013"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00013.html#ad376e5c31d10e885f33964592aa629d4">execute_impl</a> (<a class="el" href="a00014.html">aggregator_operation</a> &op)</td></tr>
|
||||
<tr class="separator:ad376e5c31d10e885f33964592aa629d4 inherit pro_methods_a00013"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<div class="textblock"><h3>template<typename handler_type><br/>
|
||||
class tbb::interface6::aggregator_ext< handler_type ></h3>
|
||||
|
||||
<p>Aggregator base class and expert interface. </p>
|
||||
<p>An aggregator for collecting operations coming from multiple sources and executing them serially on a single thread. </p>
|
||||
<div class="textblock"><p>Basic aggregator interface. </p>
|
||||
</div><h2 class="groupheader">Member Function Documentation</h2>
|
||||
<a class="anchor" id="ad376e5c31d10e885f33964592aa629d4"></a>
|
||||
<a class="anchor" id="aa7cc924b6f0d17578d61fd9002f59f84"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<div class="memtemplate">
|
||||
template<typename handler_type> </div>
|
||||
template<typename Body > </div>
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">void <a class="el" href="a00012.html">tbb::interface6::aggregator_ext</a>< handler_type >::execute_impl </td>
|
||||
<td class="memname">void tbb::interface6::aggregator::execute </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype"><a class="el" href="a00013.html">aggregator_operation</a> & </td>
|
||||
<td class="paramname"><em>op</em>)</td><td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p>Place operation in mailbox, then either handle mailbox or wait for the operation to be completed by a different thread. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ae55b16ec6af204aa00d6a716fccec9f7"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<div class="memtemplate">
|
||||
template<typename handler_type> </div>
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">void <a class="el" href="a00012.html">tbb::interface6::aggregator_ext</a>< handler_type >::process </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype"><a class="el" href="a00013.html">aggregator_operation</a> * </td>
|
||||
<td class="paramname"><em>op</em>)</td><td></td>
|
||||
<td class="paramtype">const Body & </td>
|
||||
<td class="paramname"><em>b</em>)</td><td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -131,8 +105,8 @@ template<typename handler_type> </div>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>EXPERT INTERFACE: Enter a user-made operation into the aggregator's mailbox. </p>
|
||||
<p>Details of user-made operations must be handled by user-provided handler </p>
|
||||
<p>BASIC INTERFACE: Enter a function for exclusive execution by the aggregator. </p>
|
||||
<p>The calling thread stores the function object in a basic_operation and places the operation in the aggregator's mailbox </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -142,7 +116,7 @@ template<typename handler_type> </div>
|
||||
</div><!-- contents -->
|
||||
<hr>
|
||||
<p></p>
|
||||
Copyright © 2005-2017 Intel Corporation. All Rights Reserved.
|
||||
Copyright © 2005-2015 Intel Corporation. All Rights Reserved.
|
||||
<p></p>
|
||||
Intel, Pentium, Intel Xeon, Itanium, Intel XScale and VTune are
|
||||
registered trademarks or trademarks of Intel Corporation or its
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 843 B After Width: | Height: | Size: 1.0 KiB |
+66
-44
@@ -4,7 +4,7 @@
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<meta name="generator" content="Doxygen 1.8.4"/>
|
||||
<title>tbb::interface6::aggregator_operation Class Reference</title>
|
||||
<title>tbb::interface6::aggregator_ext< handler_type > Class Template Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
@@ -33,72 +33,94 @@
|
||||
</div>
|
||||
<div id="nav-path" class="navpath">
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="a00237.html">tbb</a></li><li class="navelem"><b>interface6</b></li><li class="navelem"><a class="el" href="a00013.html">aggregator_operation</a></li> </ul>
|
||||
<li class="navelem"><a class="el" href="a00241.html">tbb</a></li><li class="navelem"><b>interface6</b></li><li class="navelem"><a class="el" href="a00013.html">aggregator_ext</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#pub-types">Public Types</a> |
|
||||
<a href="#pub-methods">Public Member Functions</a> |
|
||||
<a href="#friends">Friends</a> |
|
||||
<a href="a00380.html">List of all members</a> </div>
|
||||
<a href="#pro-methods">Protected Member Functions</a> |
|
||||
<a href="a00391.html">List of all members</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">tbb::interface6::aggregator_operation Class Reference</div> </div>
|
||||
<div class="title">tbb::interface6::aggregator_ext< handler_type > Class Template Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
|
||||
<p>Aggregator base class and expert interface.
|
||||
<a href="a00013.html#details">More...</a></p>
|
||||
|
||||
<p><code>#include <aggregator.h></code></p>
|
||||
<div class="dynheader">
|
||||
Inheritance diagram for tbb::interface6::aggregator_operation:</div>
|
||||
Inheritance diagram for tbb::interface6::aggregator_ext< handler_type >:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center">
|
||||
<img src="a00013.png" usemap="#tbb::interface6::aggregator_operation_map" alt=""/>
|
||||
<map id="tbb::interface6::aggregator_operation_map" name="tbb::interface6::aggregator_operation_map">
|
||||
<area href="a00025.html" alt="tbb::interface6::internal::basic_operation_base" shape="rect" coords="0,56,289,80"/>
|
||||
<area href="a00024.html" alt="tbb::interface6::internal::basic_operation< Body >" shape="rect" coords="0,112,289,136"/>
|
||||
<img src="a00013.png" usemap="#tbb::interface6::aggregator_ext< handler_type >_map" alt=""/>
|
||||
<map id="tbb::interface6::aggregator_ext< handler_type >_map" name="tbb::interface6::aggregator_ext< handler_type >_map">
|
||||
</map>
|
||||
</div></div>
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
|
||||
Public Types</h2></td></tr>
|
||||
<tr class="memitem:a855dc55cb1823ed4845f4ed6b0a87700"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><b>aggregator_operation_status</b> { <b>agg_waiting</b> =0,
|
||||
<b>agg_finished</b>
|
||||
}</td></tr>
|
||||
<tr class="separator:a855dc55cb1823ed4845f4ed6b0a87700"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
|
||||
Public Member Functions</h2></td></tr>
|
||||
<tr class="memitem:adc0e032aa604f1da85ffc7ec269b157f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adc0e032aa604f1da85ffc7ec269b157f"></a>
|
||||
void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00013.html#adc0e032aa604f1da85ffc7ec269b157f">start</a> ()</td></tr>
|
||||
<tr class="memdesc:adc0e032aa604f1da85ffc7ec269b157f"><td class="mdescLeft"> </td><td class="mdescRight">Call start before handling this operation. <br/></td></tr>
|
||||
<tr class="separator:adc0e032aa604f1da85ffc7ec269b157f"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ac7edadfe74f475783f3b429904e7010a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00013.html#ac7edadfe74f475783f3b429904e7010a">finish</a> ()</td></tr>
|
||||
<tr class="memdesc:ac7edadfe74f475783f3b429904e7010a"><td class="mdescLeft"> </td><td class="mdescRight">Call finish when done handling this operation. <a href="#ac7edadfe74f475783f3b429904e7010a">More...</a><br/></td></tr>
|
||||
<tr class="separator:ac7edadfe74f475783f3b429904e7010a"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:acbce3d13545770501b54df153bf1e690"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acbce3d13545770501b54df153bf1e690"></a>
|
||||
<a class="el" href="a00013.html">aggregator_operation</a> * </td><td class="memItemRight" valign="bottom"><b>next</b> ()</td></tr>
|
||||
<tr class="separator:acbce3d13545770501b54df153bf1e690"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a03cf9fad0ca21da61b83325a50e17d0b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a03cf9fad0ca21da61b83325a50e17d0b"></a>
|
||||
void </td><td class="memItemRight" valign="bottom"><b>set_next</b> (<a class="el" href="a00013.html">aggregator_operation</a> *n)</td></tr>
|
||||
<tr class="separator:a03cf9fad0ca21da61b83325a50e17d0b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a8ae120a21264cc1ea0a9cfafaa0634e4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8ae120a21264cc1ea0a9cfafaa0634e4"></a>
|
||||
 </td><td class="memItemRight" valign="bottom"><b>aggregator_ext</b> (const handler_type &h)</td></tr>
|
||||
<tr class="separator:a8ae120a21264cc1ea0a9cfafaa0634e4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ae55b16ec6af204aa00d6a716fccec9f7"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00013.html#ae55b16ec6af204aa00d6a716fccec9f7">process</a> (<a class="el" href="a00014.html">aggregator_operation</a> *op)</td></tr>
|
||||
<tr class="memdesc:ae55b16ec6af204aa00d6a716fccec9f7"><td class="mdescLeft"> </td><td class="mdescRight">EXPERT INTERFACE: Enter a user-made operation into the aggregator's mailbox. <a href="#ae55b16ec6af204aa00d6a716fccec9f7">More...</a><br/></td></tr>
|
||||
<tr class="separator:ae55b16ec6af204aa00d6a716fccec9f7"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
|
||||
Friends</h2></td></tr>
|
||||
<tr class="memitem:a7f6e7d315f893b1b66d06ffdad12038e"><td class="memTemplParams" colspan="2"><a class="anchor" id="a7f6e7d315f893b1b66d06ffdad12038e"></a>
|
||||
template<typename handler_type > </td></tr>
|
||||
<tr class="memitem:a7f6e7d315f893b1b66d06ffdad12038e"><td class="memTemplItemLeft" align="right" valign="top">class </td><td class="memTemplItemRight" valign="bottom"><b>aggregator_ext</b></td></tr>
|
||||
<tr class="separator:a7f6e7d315f893b1b66d06ffdad12038e"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
|
||||
Protected Member Functions</h2></td></tr>
|
||||
<tr class="memitem:ad376e5c31d10e885f33964592aa629d4"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00013.html#ad376e5c31d10e885f33964592aa629d4">execute_impl</a> (<a class="el" href="a00014.html">aggregator_operation</a> &op)</td></tr>
|
||||
<tr class="separator:ad376e5c31d10e885f33964592aa629d4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<h2 class="groupheader">Member Function Documentation</h2>
|
||||
<a class="anchor" id="ac7edadfe74f475783f3b429904e7010a"></a>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<div class="textblock"><h3>template<typename handler_type><br/>
|
||||
class tbb::interface6::aggregator_ext< handler_type ></h3>
|
||||
|
||||
<p>Aggregator base class and expert interface. </p>
|
||||
<p>An aggregator for collecting operations coming from multiple sources and executing them serially on a single thread. </p>
|
||||
</div><h2 class="groupheader">Member Function Documentation</h2>
|
||||
<a class="anchor" id="ad376e5c31d10e885f33964592aa629d4"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<div class="memtemplate">
|
||||
template<typename handler_type> </div>
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">void tbb::interface6::aggregator_operation::finish </td>
|
||||
<td class="memname">void <a class="el" href="a00013.html">tbb::interface6::aggregator_ext</a>< handler_type >::execute_impl </td>
|
||||
<td>(</td>
|
||||
<td class="paramname">)</td><td></td>
|
||||
<td class="paramtype"><a class="el" href="a00014.html">aggregator_operation</a> & </td>
|
||||
<td class="paramname"><em>op</em>)</td><td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p>Place operation in mailbox, then either handle mailbox or wait for the operation to be completed by a different thread. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ae55b16ec6af204aa00d6a716fccec9f7"></a>
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<div class="memtemplate">
|
||||
template<typename handler_type> </div>
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">void <a class="el" href="a00013.html">tbb::interface6::aggregator_ext</a>< handler_type >::process </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype"><a class="el" href="a00014.html">aggregator_operation</a> * </td>
|
||||
<td class="paramname"><em>op</em>)</td><td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -109,8 +131,8 @@ template<typename handler_type > </td></tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Call finish when done handling this operation. </p>
|
||||
<p>The operation will be released to its originating thread, and possibly deleted. </p>
|
||||
<p>EXPERT INTERFACE: Enter a user-made operation into the aggregator's mailbox. </p>
|
||||
<p>Details of user-made operations must be handled by user-provided handler </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -120,7 +142,7 @@ template<typename handler_type > </td></tr>
|
||||
</div><!-- contents -->
|
||||
<hr>
|
||||
<p></p>
|
||||
Copyright © 2005-2017 Intel Corporation. All Rights Reserved.
|
||||
Copyright © 2005-2015 Intel Corporation. All Rights Reserved.
|
||||
<p></p>
|
||||
Intel, Pentium, Intel Xeon, Itanium, Intel XScale and VTune are
|
||||
registered trademarks or trademarks of Intel Corporation or its
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user