Re: [PATCH] Document PSTL linker flags

2019-04-24 Thread Jonathan Wakely

On 23/04/19 14:05 -0700, Thomas Rodgers wrote:


Jonathan Wakely writes:


On 23/04/19 09:54 -0700, Thomas Rodgers wrote:


 * doc/xml/manual/using.xml: Add PSTL linker flags to table 3.1.


OK - thanks.


Committed to trunk


I've also committed this update for the C++17 status docs.

commit 7b79761df0445c3adc8de1d19e05585a1f11e29c
Author: Jonathan Wakely 
Date:   Wed Apr 24 23:16:16 2019 +0100

Update C++17 library status tables

* doc/xml/manual/status_cxx2017.xml: Document P0024R2 status.
* doc/html/*: Regenerate.

diff --git a/libstdc++-v3/doc/xml/manual/status_cxx2017.xml b/libstdc++-v3/doc/xml/manual/status_cxx2017.xml
index bb82e34bba7..73403ef6ba0 100644
--- a/libstdc++-v3/doc/xml/manual/status_cxx2017.xml
+++ b/libstdc++-v3/doc/xml/manual/status_cxx2017.xml
@@ -633,17 +633,18 @@ Feature-testing recommendations for C++.
 
 
 
-  
+  
The Parallelism TS Should be Standardized	 
   
 	http://www.w3.org/1999/xlink; xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0024r2.html;>
 	P0024R2
 	
   
-   No 
+   9.1 
__has_include(execution) ,
 	  __cpp_lib_execution >= 201603 ,
 	  __cpp_lib_parallel_algorithm >= 201603 
+ (requires linking with -ltbb, see Note 3)
   
 
 
@@ -689,7 +690,7 @@ Feature-testing recommendations for C++.
   
7.1 
__cpp_lib_math_special_functions >= 201603 
-	 (see Note 3)
+	 (see Note 4)
   
 
 
@@ -841,7 +842,13 @@ Note 2: This feature is supported in older releases but the
 
 
 
-Note 3: The mathematical special functions are enabled in C++17 mode from
+Note 3: The Parallel Algorithms have an external dependency on Intel TBB 2018
+or later. If the execution
+header is included then -ltbb must be used to link to TBB.
+
+
+
+Note 4: The mathematical special functions are enabled in C++17 mode from
 GCC 7.1 onwards. For GCC 6.x or for C++11/C++14 define
 __STDCPP_WANT_MATH_SPEC_FUNCS__ to a non-zero value
 and test for __STDCPP_MATH_SPEC_FUNCS__ >= 201003L.


Re: [PATCH] Document PSTL linker flags

2019-04-23 Thread Thomas Rodgers


Jonathan Wakely writes:

> On 23/04/19 09:54 -0700, Thomas Rodgers wrote:
>>
>>   * doc/xml/manual/using.xml: Add PSTL linker flags to table 3.1.
>
> OK - thanks.

Committed to trunk


Re: [PATCH] Document PSTL linker flags

2019-04-23 Thread Jonathan Wakely

On 23/04/19 09:54 -0700, Thomas Rodgers wrote:


 * doc/xml/manual/using.xml: Add PSTL linker flags to table 3.1.


OK - thanks.




[PATCH] Document PSTL linker flags

2019-04-23 Thread Thomas Rodgers

 * doc/xml/manual/using.xml: Add PSTL linker flags to table 3.1.

>From eabe72642bf51b813f454c54ae3cc4e873cf34be Mon Sep 17 00:00:00 2001
From: Thomas Rodgers 
Date: Tue, 23 Apr 2019 09:50:13 -0700
Subject: [PATCH] Document PSTL linker flags

	 * doc/xml/manual/using.xml: Add PSTL linker flags to table
   3.1.
---
 libstdc++-v3/doc/xml/manual/using.xml | 9 +
 1 file changed, 9 insertions(+)

diff --git a/libstdc++-v3/doc/xml/manual/using.xml b/libstdc++-v3/doc/xml/manual/using.xml
index 9e8fe0715a3..8e099d9c3d8 100644
--- a/libstdc++-v3/doc/xml/manual/using.xml
+++ b/libstdc++-v3/doc/xml/manual/using.xml
@@ -107,6 +107,15 @@
   -fopenmp
   For parallel mode.
 
+
+
+  -ltbb
+  Linking to tbb (Thread Building Blocks) is required for use of the
+Parallel Standard Algorithms and execution policies in
+execution.
+  
+
+
   
 
 
-- 
2.20.1