[med-svn] [Git][med-team/libatomic-queue][master] 11 commits: Add compiler.patch: don't erase CC and CXX environment variables.

Étienne Mollier (@emollier) gitlab at salsa.debian.org
Fri Jul 1 17:47:42 BST 2022



Étienne Mollier pushed to branch master at Debian Med / libatomic-queue


Commits:
7294345d by Étienne Mollier at 2022-07-01T16:03:30+02:00
Add compiler.patch: don't erase CC and CXX environment variables.

- - - - -
f02613ca by Étienne Mollier at 2022-07-01T18:20:26+02:00
d/s/lintian-overrides: update to new naming convention.

- - - - -
2bc394a5 by Étienne Mollier at 2022-07-01T18:23:16+02:00
d/*.symbols: mark some compiler specific symbols optional.

Closes: #1012966

- - - - -
d811a6e9 by Étienne Mollier at 2022-07-01T18:24:15+02:00
routine-update: New upstream version

- - - - -
9911a904 by Étienne Mollier at 2022-07-01T18:24:16+02:00
New upstream version 0.0+git20220518.83774a2
- - - - -
c6aee5a2 by Étienne Mollier at 2022-07-01T18:24:22+02:00
Update upstream source from tag 'upstream/0.0+git20220518.83774a2'

Update to upstream version '0.0+git20220518.83774a2'
with Debian dir 05aff044812fe9fc44cc1c8740c585318cf452cf
- - - - -
e31b1b81 by Étienne Mollier at 2022-07-01T18:24:23+02:00
routine-update: Standards-Version: 4.6.1

- - - - -
7a9ad422 by Étienne Mollier at 2022-07-01T18:24:28+02:00
Remove field Section on binary package libatomic-queue0 that duplicates source.

Changes-By: lintian-brush
Fixes: lintian: installable-field-mirrors-source
See-also: https://lintian.debian.org/tags/installable-field-mirrors-source.html

- - - - -
c35e8185 by Étienne Mollier at 2022-07-01T18:27:55+02:00
update changelog

- - - - -
2ba9fbca by Étienne Mollier at 2022-07-01T18:31:43+02:00
d/control: explicitly set "Section: libs" for libatomic-queue0.

Normally it should take the section from the d/control source header,
but for some reason, after upgrade to newer upstream version, this
does not seem to be taken into account anymore.

- - - - -
fc1f79d1 by Étienne Mollier at 2022-07-01T18:43:02+02:00
ready to upload to unstable.

- - - - -


9 changed files:

- README.md
- debian/changelog
- debian/control
- debian/libatomic-queue0.symbols
- + debian/patches/compiler.patch
- debian/patches/series
- debian/source/lintian-overrides
- html/benchmarks.js
- include/atomic_queue/defs.h


Changes:

=====================================
README.md
=====================================
@@ -24,6 +24,8 @@ Available containers are:
 * `AtomicQueue2` - a fixed size ring-buffer for non-atomic elements.
 * `OptimistAtomicQueue2` - a faster fixed size ring-buffer for non-atomic elements which busy-waits when empty or full.
 
+In the above, _atomic elements_ are those, for which [`std::atomic<T>{T{}}.is_lock_free()`][10] returns `true`. In other words, the CPU can load, store and compare-and-exchange such elements atomically natively. On x86-64 such elements are all the [C++ standard arithmetic and pointer types][11].
+
 These containers have corresponding `AtomicQueueB`, `OptimistAtomicQueueB`, `AtomicQueueB2`, `OptimistAtomicQueueB2` versions where the buffer size is specified as an argument to the constructor.
 
 Totally ordered mode is supported. In this mode consumers receive messages in the same FIFO order the messages were posted. This mode is supported for `push` and `pop` functions, but for not the `try_` versions. On Intel x86 the totally ordered mode has 0 cost, as of 2019.
@@ -167,3 +169,5 @@ Copyright (c) 2019 Maxim Egorushkin. MIT License. See the full licence in file L
 [7]: https://man7.org/linux/man-pages/man2/perf_event_open.2.html
 [8]: https://github.com/torvalds/linux/blob/master/include/uapi/linux/hw_breakpoint.h
 [9]: https://stackoverflow.com/a/25168942/412080
+[10]: https://en.cppreference.com/w/cpp/atomic/atomic/is_lock_free
+[11]: https://en.cppreference.com/w/cpp/language/type


=====================================
debian/changelog
=====================================
@@ -1,8 +1,18 @@
-libatomic-queue (0.0+git20211209.7db4cea-2) UNRELEASED; urgency=medium
+libatomic-queue (0.0+git20220518.83774a2-1) unstable; urgency=medium
 
+  * Team upload.
+
+  [ Andreas Tille ]
   * Exclude i386 from Salsa CI since libxenium-dev is not available
 
- -- Andreas Tille <tille at debian.org>  Wed, 22 Dec 2021 07:36:54 +0100
+  [ Étienne Mollier ]
+  * Add compiler.patch: don't erase CC and CXX environment variables.
+  * d/s/lintian-overrides: update to new naming convention.
+  * d/*.symbols: mark some compiler specific symbols optional.
+    (Closes: #1012966)
+  * Standards-Version: 4.6.1 (routine-update)
+
+ -- Étienne Mollier <emollier at debian.org>  Fri, 01 Jul 2022 18:36:29 +0200
 
 libatomic-queue (0.0+git20211209.7db4cea-1) unstable; urgency=medium
 


=====================================
debian/control
=====================================
@@ -13,7 +13,7 @@ Build-Depends: debhelper-compat (= 13),
                libreaderwriterqueue-dev,
                libtbb-dev,
                libxenium-dev
-Standards-Version: 4.6.0
+Standards-Version: 4.6.1
 Vcs-Browser: https://salsa.debian.org/med-team/libatomic-queue
 Vcs-Git: https://salsa.debian.org/med-team/libatomic-queue.git
 Homepage: https://github.com/max0x7ba/atomic_queue


=====================================
debian/libatomic-queue0.symbols
=====================================
@@ -28,13 +28,15 @@ libatomic_queue.so.0 libatomic-queue0 #MINVER#
  _ZNKSt8__detail20_RegexTranslatorBaseINSt7__cxx1112regex_traitsIcEELb0ELb1EE12_M_transformEc at Base 0.0+git20201007.df79403
  _ZNKSt8__detail20_RegexTranslatorBaseINSt7__cxx1112regex_traitsIcEELb1ELb1EE12_M_transformEc at Base 0.0+git20201007.df79403
  _ZNKSt8__detail9_ExecutorIN9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEESaINS5_9sub_matchISB_EEENS5_12regex_traitsIcEELb0EE16_M_word_boundaryEv at Base 0.0+git20201007.df79403
+ (optional)_ZNKSt8__detail9_ExecutorIN9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEESaINS5_9sub_matchISB_EEENS5_12regex_traitsIcEELb0EE21_M_is_line_terminatorEc at Base 0.0+git20211209.7db4cea
  _ZNKSt8__detail9_ExecutorIN9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEESaINS5_9sub_matchISB_EEENS5_12regex_traitsIcEELb1EE16_M_word_boundaryEv at Base 0.0+git20201007.df79403
+ (optional)_ZNKSt8__detail9_ExecutorIN9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEESaINS5_9sub_matchISB_EEENS5_12regex_traitsIcEELb1EE21_M_is_line_terminatorEc at Base 0.0+git20211209.7db4cea
  _ZNSt11_Deque_baseINSt8__detail9_StateSeqINSt7__cxx1112regex_traitsIcEEEESaIS5_EED1Ev at Base 0.0+git20201007.df79403
  _ZNSt11_Deque_baseINSt8__detail9_StateSeqINSt7__cxx1112regex_traitsIcEEEESaIS5_EED2Ev at Base 0.0+git20201007.df79403
  _ZNSt11_Deque_baseIlSaIlEE17_M_initialize_mapEm at Base 0.0+git20201007.df79403
  _ZNSt11_Deque_baseIlSaIlEED1Ev at Base 0.0+git20201007.df79403
  _ZNSt11_Deque_baseIlSaIlEED2Ev at Base 0.0+git20201007.df79403
- _ZNSt12_Destroy_auxILb0EE9__destroyIPNSt8__detail6_StateIcEEEEvT_S6_ at Base 0.0+git20201007.df79403
+ (optional)_ZNSt12_Destroy_auxILb0EE9__destroyIPNSt8__detail6_StateIcEEEEvT_S6_ at Base 0.0+git20201007.df79403
  _ZNSt12_Vector_baseINSt7__cxx119sub_matchIN9__gnu_cxx17__normal_iteratorIPKcNS0_12basic_stringIcSt11char_traitsIcESaIcEEEEEEESaISC_EED1Ev at Base 0.0+git20201007.df79403
  _ZNSt12_Vector_baseINSt7__cxx119sub_matchIN9__gnu_cxx17__normal_iteratorIPKcNS0_12basic_stringIcSt11char_traitsIcESaIcEEEEEEESaISC_EED2Ev at Base 0.0+git20201007.df79403
  _ZNSt12_Vector_baseISt4pairIN9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEiESaISC_EED1Ev at Base 0.0+git20201007.df79403
@@ -47,6 +49,8 @@ libatomic_queue.so.0 libatomic-queue0 #MINVER#
  _ZNSt12system_errorC2ESt10error_codePKc at Base 0.0+git20201007.df79403
  _ZNSt14_Function_baseD1Ev at Base 0.0+git20201007.df79403
  _ZNSt14_Function_baseD2Ev at Base 0.0+git20201007.df79403
+ (optional)_ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE10_M_releaseEv at Base 0.0+git20211209.7db4cea
+ (optional)_ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE24_M_release_last_use_coldEv at Base 0.0+git20211209.7db4cea
  _ZNSt17_Function_handlerIFbcENSt8__detail11_AnyMatcherINSt7__cxx1112regex_traitsIcEELb0ELb0ELb0EEEE10_M_managerERSt9_Any_dataRKS8_St18_Manager_operation at Base 0.0+git20201007.df79403
  _ZNSt17_Function_handlerIFbcENSt8__detail11_AnyMatcherINSt7__cxx1112regex_traitsIcEELb0ELb0ELb0EEEE9_M_invokeERKSt9_Any_dataOc at Base 0.0+git20201007.df79403
  _ZNSt17_Function_handlerIFbcENSt8__detail11_AnyMatcherINSt7__cxx1112regex_traitsIcEELb0ELb0ELb1EEEE10_M_managerERSt9_Any_dataRKS8_St18_Manager_operation at Base 0.0+git20201007.df79403
@@ -79,15 +83,22 @@ libatomic_queue.so.0 libatomic-queue0 #MINVER#
  _ZNSt17_Function_handlerIFbcENSt8__detail15_BracketMatcherINSt7__cxx1112regex_traitsIcEELb1ELb0EEEE9_M_invokeERKSt9_Any_dataOc at Base 0.0+git20201007.df79403
  _ZNSt17_Function_handlerIFbcENSt8__detail15_BracketMatcherINSt7__cxx1112regex_traitsIcEELb1ELb1EEEE10_M_managerERSt9_Any_dataRKS8_St18_Manager_operation at Base 0.0+git20201007.df79403
  _ZNSt17_Function_handlerIFbcENSt8__detail15_BracketMatcherINSt7__cxx1112regex_traitsIcEELb1ELb1EEEE9_M_invokeERKSt9_Any_dataOc at Base 0.0+git20201007.df79403
- _ZNSt23_Sp_counted_ptr_inplaceINSt8__detail4_NFAINSt7__cxx1112regex_traitsIcEEEESaIS5_ELN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv at Base 0.0+git20201007.df79403
- _ZNSt23_Sp_counted_ptr_inplaceINSt8__detail4_NFAINSt7__cxx1112regex_traitsIcEEEESaIS5_ELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv at Base 0.0+git20201007.df79403
- _ZNSt23_Sp_counted_ptr_inplaceINSt8__detail4_NFAINSt7__cxx1112regex_traitsIcEEEESaIS5_ELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info at Base 0.0+git20201007.df79403
- _ZNSt23_Sp_counted_ptr_inplaceINSt8__detail4_NFAINSt7__cxx1112regex_traitsIcEEEESaIS5_ELN9__gnu_cxx12_Lock_policyE2EED0Ev at Base 0.0+git20201007.df79403
- _ZNSt23_Sp_counted_ptr_inplaceINSt8__detail4_NFAINSt7__cxx1112regex_traitsIcEEEESaIS5_ELN9__gnu_cxx12_Lock_policyE2EED1Ev at Base 0.0+git20201007.df79403
- _ZNSt23_Sp_counted_ptr_inplaceINSt8__detail4_NFAINSt7__cxx1112regex_traitsIcEEEESaIS5_ELN9__gnu_cxx12_Lock_policyE2EED2Ev at Base 0.0+git20201007.df79403
+ (optional)_ZNSt23_Sp_counted_ptr_inplaceINSt8__detail4_NFAINSt7__cxx1112regex_traitsIcEEEESaIS5_ELN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv at Base 0.0+git20201007.df79403
+ (optional)_ZNSt23_Sp_counted_ptr_inplaceINSt8__detail4_NFAINSt7__cxx1112regex_traitsIcEEEESaIS5_ELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv at Base 0.0+git20201007.df79403
+ (optional)_ZNSt23_Sp_counted_ptr_inplaceINSt8__detail4_NFAINSt7__cxx1112regex_traitsIcEEEESaIS5_ELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info at Base 0.0+git20201007.df79403
+ (optional)_ZNSt23_Sp_counted_ptr_inplaceINSt8__detail4_NFAINSt7__cxx1112regex_traitsIcEEEESaIS5_ELN9__gnu_cxx12_Lock_policyE2EED0Ev at Base 0.0+git20201007.df79403
+ (optional)_ZNSt23_Sp_counted_ptr_inplaceINSt8__detail4_NFAINSt7__cxx1112regex_traitsIcEEEESaIS5_ELN9__gnu_cxx12_Lock_policyE2EED1Ev at Base 0.0+git20201007.df79403
+ (optional)_ZNSt23_Sp_counted_ptr_inplaceINSt8__detail4_NFAINSt7__cxx1112regex_traitsIcEEEESaIS5_ELN9__gnu_cxx12_Lock_policyE2EED2Ev at Base 0.0+git20201007.df79403
+ (optional)_ZNSt23_Sp_counted_ptr_inplaceINSt8__detail4_NFAINSt7__cxx1112regex_traitsIcEEEESaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv at Base 0.0+git20211209.7db4cea
+ (optional)_ZNSt23_Sp_counted_ptr_inplaceINSt8__detail4_NFAINSt7__cxx1112regex_traitsIcEEEESaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv at Base 0.0+git20211209.7db4cea
+ (optional)_ZNSt23_Sp_counted_ptr_inplaceINSt8__detail4_NFAINSt7__cxx1112regex_traitsIcEEEESaIvELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info at Base 0.0+git20211209.7db4cea
+ (optional)_ZNSt23_Sp_counted_ptr_inplaceINSt8__detail4_NFAINSt7__cxx1112regex_traitsIcEEEESaIvELN9__gnu_cxx12_Lock_policyE2EED0Ev at Base 0.0+git20211209.7db4cea
+ (optional)_ZNSt23_Sp_counted_ptr_inplaceINSt8__detail4_NFAINSt7__cxx1112regex_traitsIcEEEESaIvELN9__gnu_cxx12_Lock_policyE2EED1Ev at Base 0.0+git20211209.7db4cea
+ (optional)_ZNSt23_Sp_counted_ptr_inplaceINSt8__detail4_NFAINSt7__cxx1112regex_traitsIcEEEESaIvELN9__gnu_cxx12_Lock_policyE2EED2Ev at Base 0.0+git20211209.7db4cea
  _ZNSt5dequeINSt8__detail9_StateSeqINSt7__cxx1112regex_traitsIcEEEESaIS5_EE12emplace_backIJS5_EEEvDpOT_ at Base 0.0+git20201007.df79403
  _ZNSt5dequeINSt8__detail9_StateSeqINSt7__cxx1112regex_traitsIcEEEESaIS5_EE16_M_push_back_auxIJRKS5_EEEvDpOT_ at Base 0.0+git20201007.df79403
  _ZNSt5dequeINSt8__detail9_StateSeqINSt7__cxx1112regex_traitsIcEEEESaIS5_EE17_M_reallocate_mapEmb at Base 0.0+git20201007.df79403
+ (optional)_ZNSt5dequeINSt8__detail9_StateSeqINSt7__cxx1112regex_traitsIcEEEESaIS5_EE9push_backERKS5_ at Base 0.0+git20211209.7db4cea
  _ZNSt5dequeIlSaIlEE16_M_push_back_auxIJRKlEEEvDpOT_ at Base 0.0+git20201007.df79403
  _ZNSt6vectorIN12atomic_queue15CpuTopologyInfoESaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_ at Base 0.0+git20201007.df79403
  _ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_ at Base 0.0+git20201007.df79403
@@ -98,7 +109,7 @@ libatomic_queue.so.0 libatomic-queue0 #MINVER#
  _ZNSt6vectorINSt7__cxx1112regex_traitsIcE10_RegexMaskESaIS3_EE17_M_realloc_insertIJRKS3_EEEvN9__gnu_cxx17__normal_iteratorIPS3_S5_EEDpOT_ at Base 0.0+git20201007.df79403
  _ZNSt6vectorINSt7__cxx119sub_matchIN9__gnu_cxx17__normal_iteratorIPKcNS0_12basic_stringIcSt11char_traitsIcESaIcEEEEEEESaISC_EE14_M_fill_assignEmRKSC_ at Base 0.0+git20201007.df79403
  _ZNSt6vectorINSt8__detail6_StateIcEESaIS2_EE17_M_realloc_insertIJS2_EEEvN9__gnu_cxx17__normal_iteratorIPS2_S4_EEDpOT_ at Base 0.0+git20201007.df79403
- _ZNSt6vectorISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_ESaIS7_EE12emplace_backIJS7_EEEvDpOT_ at Base 0.0+git20201007.df79403
+ (optional)_ZNSt6vectorISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_ESaIS7_EE12emplace_backIJS7_EEEvDpOT_ at Base 0.0+git20201007.df79403
  _ZNSt6vectorISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_ESaIS7_EE17_M_realloc_insertIJS7_EEEvN9__gnu_cxx17__normal_iteratorIPS7_S9_EEDpOT_ at Base 0.0+git20201007.df79403
  _ZNSt6vectorISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_ESaIS7_EEC1ERKS9_ at Base 0.0+git20201007.df79403
  _ZNSt6vectorISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_ESaIS7_EEC2ERKS9_ at Base 0.0+git20201007.df79403
@@ -111,10 +122,11 @@ libatomic_queue.so.0 libatomic-queue0 #MINVER#
  _ZNSt6vectorISt4pairIlS_INSt7__cxx119sub_matchIN9__gnu_cxx17__normal_iteratorIPKcNS1_12basic_stringIcSt11char_traitsIcESaIcEEEEEEESaISD_EEESaISG_EED2Ev at Base 0.0+git20201007.df79403
  _ZNSt6vectorIcSaIcEE12emplace_backIJcEEEvDpOT_ at Base 0.0+git20201007.df79403
  _ZNSt6vectorIcSaIcEE17_M_realloc_insertIJcEEEvN9__gnu_cxx17__normal_iteratorIPcS1_EEDpOT_ at Base 0.0+git20201007.df79403
- _ZNSt6vectorIcSaIcEE8_M_eraseEN9__gnu_cxx17__normal_iteratorIPcS1_EES5_ at Base 0.0+git20201007.df79403
+ (optional)_ZNSt6vectorIcSaIcEE8_M_eraseEN9__gnu_cxx17__normal_iteratorIPcS1_EES5_ at Base 0.0+git20201007.df79403
  _ZNSt6vectorImSaImEE17_M_realloc_insertIJRKmEEEvN9__gnu_cxx17__normal_iteratorIPmS1_EEDpOT_ at Base 0.0+git20201007.df79403
  _ZNSt7__cxx1111basic_regexIcNS_12regex_traitsIcEEED1Ev at Base 0.0+git20201007.df79403
  _ZNSt7__cxx1111basic_regexIcNS_12regex_traitsIcEEED2Ev at Base 0.0+git20201007.df79403
+ (optional)_ZNSt8_Rb_treeIlSt4pairIKllESt10_Select1stIS2_ESt4lessIlESaIS2_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESD_IJEEEEESt17_Rb_tree_iteratorIS2_ESt23_Rb_tree_const_iteratorIS2_EDpOT_ at Base 0.0+git20211209.7db4cea
  _ZNSt8_Rb_treeIlSt4pairIKllESt10_Select1stIS2_ESt4lessIlESaIS2_EE24_M_get_insert_unique_posERS1_ at Base 0.0+git20201007.df79403
  _ZNSt8_Rb_treeIlSt4pairIKllESt10_Select1stIS2_ESt4lessIlESaIS2_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS2_ERS1_ at Base 0.0+git20201007.df79403
  _ZNSt8__detail15_BracketMatcherINSt7__cxx1112regex_traitsIcEELb0ELb0EE8_M_readyEv at Base 0.0+git20201007.df79403
@@ -128,7 +140,8 @@ libatomic_queue.so.0 libatomic-queue0 #MINVER#
  _ZNSt8__detail15_BracketMatcherINSt7__cxx1112regex_traitsIcEELb1ELb1EE13_M_make_rangeEcc at Base 0.0+git20201007.df79403
  _ZNSt8__detail15_BracketMatcherINSt7__cxx1112regex_traitsIcEELb1ELb1EED1Ev at Base 0.0+git20201007.df79403
  _ZNSt8__detail15_BracketMatcherINSt7__cxx1112regex_traitsIcEELb1ELb1EED2Ev at Base 0.0+git20201007.df79403
- _ZNSt8__detail17__regex_algo_implIN9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEESaINS5_9sub_matchISB_EEEcNS5_12regex_traitsIcEELNS_20_RegexExecutorPolicyE0ELb1EEEbT_SI_RNS5_13match_resultsISI_T0_EERKNS5_11basic_regexIT1_T2_EENSt15regex_constants15match_flag_typeE at Base 0.0+git20201007.df79403
+ (optional)_ZNSt8__detail17__regex_algo_implIN9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEESaINS5_9sub_matchISB_EEEcNS5_12regex_traitsIcEEEEbT_SH_RNS5_13match_resultsISH_T0_EERKNS5_11basic_regexIT1_T2_EENSt15regex_constants15match_flag_typeENS_20_RegexExecutorPolicyEb at Base 0.0+git20211209.7db4cea
+ (optional)_ZNSt8__detail17__regex_algo_implIN9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEESaINS5_9sub_matchISB_EEEcNS5_12regex_traitsIcEELNS_20_RegexExecutorPolicyE0ELb1EEEbT_SI_RNS5_13match_resultsISI_T0_EERKNS5_11basic_regexIT1_T2_EENSt15regex_constants15match_flag_typeE at Base 0.0+git20201007.df79403
  _ZNSt8__detail4_NFAINSt7__cxx1112regex_traitsIcEEE15_M_insert_dummyEv at Base 0.0+git20201007.df79403
  _ZNSt8__detail4_NFAINSt7__cxx1112regex_traitsIcEEE15_M_insert_stateENS_6_StateIcEE at Base 0.0+git20201007.df79403
  _ZNSt8__detail4_NFAINSt7__cxx1112regex_traitsIcEEE16_M_insert_repeatEllb at Base 0.0+git20201007.df79403
@@ -151,10 +164,14 @@ libatomic_queue.so.0 libatomic-queue0 #MINVER#
  _ZNSt8__detail9_CompilerINSt7__cxx1112regex_traitsIcEEE14_M_alternativeEv at Base 0.0+git20201007.df79403
  _ZNSt8__detail9_CompilerINSt7__cxx1112regex_traitsIcEEE14_M_disjunctionEv at Base 0.0+git20201007.df79403
  _ZNSt8__detail9_CompilerINSt7__cxx1112regex_traitsIcEEE16_M_cur_int_valueEi at Base 0.0+git20201007.df79403
- _ZNSt8__detail9_CompilerINSt7__cxx1112regex_traitsIcEEE18_M_expression_termILb0ELb0EEEbRSt4pairIbcERNS_15_BracketMatcherIS3_XT_EXT0_EEE at Base 0.0+git20201007.df79403
- _ZNSt8__detail9_CompilerINSt7__cxx1112regex_traitsIcEEE18_M_expression_termILb0ELb1EEEbRSt4pairIbcERNS_15_BracketMatcherIS3_XT_EXT0_EEE at Base 0.0+git20201007.df79403
- _ZNSt8__detail9_CompilerINSt7__cxx1112regex_traitsIcEEE18_M_expression_termILb1ELb0EEEbRSt4pairIbcERNS_15_BracketMatcherIS3_XT_EXT0_EEE at Base 0.0+git20201007.df79403
- _ZNSt8__detail9_CompilerINSt7__cxx1112regex_traitsIcEEE18_M_expression_termILb1ELb1EEEbRSt4pairIbcERNS_15_BracketMatcherIS3_XT_EXT0_EEE at Base 0.0+git20201007.df79403
+ (optional)_ZNSt8__detail9_CompilerINSt7__cxx1112regex_traitsIcEEE18_M_expression_termILb0ELb0EEEbRNS4_13_BracketStateERNS_15_BracketMatcherIS3_XT_EXT0_EEE at Base 0.0+git20211209.7db4cea
+ (optional)_ZNSt8__detail9_CompilerINSt7__cxx1112regex_traitsIcEEE18_M_expression_termILb0ELb0EEEbRSt4pairIbcERNS_15_BracketMatcherIS3_XT_EXT0_EEE at Base 0.0+git20201007.df79403
+ (optional)_ZNSt8__detail9_CompilerINSt7__cxx1112regex_traitsIcEEE18_M_expression_termILb0ELb1EEEbRNS4_13_BracketStateERNS_15_BracketMatcherIS3_XT_EXT0_EEE at Base 0.0+git20211209.7db4cea
+ (optional)_ZNSt8__detail9_CompilerINSt7__cxx1112regex_traitsIcEEE18_M_expression_termILb0ELb1EEEbRSt4pairIbcERNS_15_BracketMatcherIS3_XT_EXT0_EEE at Base 0.0+git20201007.df79403
+ (optional)_ZNSt8__detail9_CompilerINSt7__cxx1112regex_traitsIcEEE18_M_expression_termILb1ELb0EEEbRNS4_13_BracketStateERNS_15_BracketMatcherIS3_XT_EXT0_EEE at Base 0.0+git20211209.7db4cea
+ (optional)_ZNSt8__detail9_CompilerINSt7__cxx1112regex_traitsIcEEE18_M_expression_termILb1ELb0EEEbRSt4pairIbcERNS_15_BracketMatcherIS3_XT_EXT0_EEE at Base 0.0+git20201007.df79403
+ (optional)_ZNSt8__detail9_CompilerINSt7__cxx1112regex_traitsIcEEE18_M_expression_termILb1ELb1EEEbRNS4_13_BracketStateERNS_15_BracketMatcherIS3_XT_EXT0_EEE at Base 0.0+git20211209.7db4cea
+ (optional)_ZNSt8__detail9_CompilerINSt7__cxx1112regex_traitsIcEEE18_M_expression_termILb1ELb1EEEbRSt4pairIbcERNS_15_BracketMatcherIS3_XT_EXT0_EEE at Base 0.0+git20201007.df79403
  _ZNSt8__detail9_CompilerINSt7__cxx1112regex_traitsIcEEE21_M_bracket_expressionEv at Base 0.0+git20201007.df79403
  _ZNSt8__detail9_CompilerINSt7__cxx1112regex_traitsIcEEE25_M_insert_bracket_matcherILb0ELb0EEEvb at Base 0.0+git20201007.df79403
  _ZNSt8__detail9_CompilerINSt7__cxx1112regex_traitsIcEEE25_M_insert_bracket_matcherILb0ELb1EEEvb at Base 0.0+git20201007.df79403
@@ -170,6 +187,7 @@ libatomic_queue.so.0 libatomic-queue0 #MINVER#
  _ZNSt8__detail9_CompilerINSt7__cxx1112regex_traitsIcEEEC2EPKcS6_RKSt6localeNSt15regex_constants18syntax_option_typeE at Base 0.0+git20201007.df79403
  _ZNSt8__detail9_ExecutorIN9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEESaINS5_9sub_matchISB_EEENS5_12regex_traitsIcEELb0EE12_M_lookaheadEl at Base 0.0+git20201007.df79403
  _ZNSt8__detail9_ExecutorIN9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEESaINS5_9sub_matchISB_EEENS5_12regex_traitsIcEELb0EE16_M_rep_once_moreENSH_11_Match_modeEl at Base 0.0+git20201007.df79403
+ (optional)_ZNSt8__detail9_ExecutorIN9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEESaINS5_9sub_matchISB_EEENS5_12regex_traitsIcEELb0EE17_M_handle_backrefENSH_11_Match_modeEl at Base 0.0+git20211209.7db4cea
  _ZNSt8__detail9_ExecutorIN9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEESaINS5_9sub_matchISB_EEENS5_12regex_traitsIcEELb0EE6_M_dfsENSH_11_Match_modeEl at Base 0.0+git20201007.df79403
  _ZNSt8__detail9_ExecutorIN9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEESaINS5_9sub_matchISB_EEENS5_12regex_traitsIcEELb0EED1Ev at Base 0.0+git20201007.df79403
  _ZNSt8__detail9_ExecutorIN9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEESaINS5_9sub_matchISB_EEENS5_12regex_traitsIcEELb0EED2Ev at Base 0.0+git20201007.df79403
@@ -198,7 +216,8 @@ libatomic_queue.so.0 libatomic-queue0 #MINVER#
  _ZTINSt8__detail15_BracketMatcherINSt7__cxx1112regex_traitsIcEELb1ELb1EEE at Base 0.0+git20201007.df79403
  _ZTISt11_Mutex_baseILN9__gnu_cxx12_Lock_policyE2EE at Base 0.0+git20201007.df79403
  _ZTISt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE at Base 0.0+git20201007.df79403
- _ZTISt23_Sp_counted_ptr_inplaceINSt8__detail4_NFAINSt7__cxx1112regex_traitsIcEEEESaIS5_ELN9__gnu_cxx12_Lock_policyE2EE at Base 0.0+git20201007.df79403
+ (optional)_ZTISt23_Sp_counted_ptr_inplaceINSt8__detail4_NFAINSt7__cxx1112regex_traitsIcEEEESaIS5_ELN9__gnu_cxx12_Lock_policyE2EE at Base 0.0+git20201007.df79403
+ (optional)_ZTISt23_Sp_counted_ptr_inplaceINSt8__detail4_NFAINSt7__cxx1112regex_traitsIcEEEESaIvELN9__gnu_cxx12_Lock_policyE2EE at Base 0.0+git20211209.7db4cea
  _ZTSNSt8__detail11_AnyMatcherINSt7__cxx1112regex_traitsIcEELb0ELb0ELb0EEE at Base 0.0+git20201007.df79403
  _ZTSNSt8__detail11_AnyMatcherINSt7__cxx1112regex_traitsIcEELb0ELb0ELb1EEE at Base 0.0+git20201007.df79403
  _ZTSNSt8__detail11_AnyMatcherINSt7__cxx1112regex_traitsIcEELb0ELb1ELb0EEE at Base 0.0+git20201007.df79403
@@ -218,8 +237,10 @@ libatomic_queue.so.0 libatomic-queue0 #MINVER#
  _ZTSSt11_Mutex_baseILN9__gnu_cxx12_Lock_policyE2EE at Base 0.0+git20201007.df79403
  _ZTSSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE at Base 0.0+git20201007.df79403
  _ZTSSt19_Sp_make_shared_tag at Base 0.0+git20201007.df79403
- _ZTSSt23_Sp_counted_ptr_inplaceINSt8__detail4_NFAINSt7__cxx1112regex_traitsIcEEEESaIS5_ELN9__gnu_cxx12_Lock_policyE2EE at Base 0.0+git20201007.df79403
- _ZTVSt23_Sp_counted_ptr_inplaceINSt8__detail4_NFAINSt7__cxx1112regex_traitsIcEEEESaIS5_ELN9__gnu_cxx12_Lock_policyE2EE at Base 0.0+git20201007.df79403
+ (optional)_ZTSSt23_Sp_counted_ptr_inplaceINSt8__detail4_NFAINSt7__cxx1112regex_traitsIcEEEESaIS5_ELN9__gnu_cxx12_Lock_policyE2EE at Base 0.0+git20201007.df79403
+ (optional)_ZTSSt23_Sp_counted_ptr_inplaceINSt8__detail4_NFAINSt7__cxx1112regex_traitsIcEEEESaIvELN9__gnu_cxx12_Lock_policyE2EE at Base 0.0+git20211209.7db4cea
+ (optional)_ZTVSt23_Sp_counted_ptr_inplaceINSt8__detail4_NFAINSt7__cxx1112regex_traitsIcEEEESaIS5_ELN9__gnu_cxx12_Lock_policyE2EE at Base 0.0+git20201007.df79403
+ (optional)_ZTVSt23_Sp_counted_ptr_inplaceINSt8__detail4_NFAINSt7__cxx1112regex_traitsIcEEEESaIvELN9__gnu_cxx12_Lock_policyE2EE at Base 0.0+git20211209.7db4cea
  _ZZNKSt7__cxx1112regex_traitsIcE16lookup_classnameIPKcEENS1_10_RegexMaskET_S6_bE12__classnames at Base 0.0+git20201007.df79403
  _ZZNKSt7__cxx1112regex_traitsIcE18lookup_collatenameIPKcEENS_12basic_stringIcSt11char_traitsIcESaIcEEET_SA_E14__collatenames at Base 0.0+git20201007.df79403
  _ZZNKSt8__detail11_AnyMatcherINSt7__cxx1112regex_traitsIcEELb0ELb0ELb0EEclEcE5__nul at Base 0.0+git20201007.df79403


=====================================
debian/patches/compiler.patch
=====================================
@@ -0,0 +1,21 @@
+Description: don't erase compiler environment variables.
+ This helps with testing alternative compilers, and it should also give a
+ little hand to cross-builds.
+Author: Étienne Mollier <emollier at debian.org>
+Forwarded: not-needed
+Last-Update: 2022-07-01
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- libatomic-queue.orig/Makefile
++++ libatomic-queue/Makefile
+@@ -22,8 +22,8 @@
+ ld.clang := clang++
+ ar.clang := ar
+ 
+-CXX := ${cxx.${TOOLSET}}
+-CC := ${cc.${TOOLSET}}
++CXX ?= ${cxx.${TOOLSET}}
++CC ?= ${cc.${TOOLSET}}
+ LD := ${ld.${TOOLSET}}
+ AR := ${ar.${TOOLSET}}
+ 


=====================================
debian/patches/series
=====================================
@@ -2,3 +2,4 @@ fix_unused_variable.patch
 generate-shared-library.patch
 no-native
 no_thin_archives.patch
+compiler.patch


=====================================
debian/source/lintian-overrides
=====================================
@@ -1,2 +1,2 @@
 # False positive
-libatomic-queue source: source-is-missing html/benchmarks.js*
+libatomic-queue source: source-is-missing [html/benchmarks.js*]


=====================================
html/benchmarks.js
=====================================
@@ -58,32 +58,30 @@ $(function() {
         const tooltips = []; // Build a tooltip once and then reuse it..
         const tooltip_formatter = function() {
             const threads = this.x;
-            let tooltip = tooltips[threads];
-            if(!tooltip) {
-                const data = [];
-                for(const p of this.points) {
-                    const stats = p.series.options.atomic_queue_stats[p.point.index];
-                    data[p.series.options.index] = {
-                        name: p.series.name,
-                        color: p.series.color,
-                        min: Highcharts.numberFormat(stats[1], 0),
-                        max: Highcharts.numberFormat(stats[2], 0),
-                        mean: Highcharts.numberFormat(stats[3], 0),
-                        stdev: Highcharts.numberFormat(stats[4], 0)
-                    };
-                }
-
-                let html = `<span class="tooltip_scalability_title">${threads} producers, ${threads} consumers</span>`;
-                html += '<table class="tooltip_scalability"><tr><th></th><th>mean</th><th>stdev</th><th>min</th><th>max</th></tr>';
-                for(const d of data)
-                    if(d)
-                        html += `<tr><td style="color: ${d.color}">${d.name}: </td><td><strong>${d.mean}</strong></td><td><strong>${d.stdev}</strong></td><td>${d.min}</td><td>${d.max}</td></tr>`;
-                html += '</table>';
+            const tooltip = tooltips[threads];
+            if(tooltip)
+                return tooltip;
 
-                tooltip = html;
-                tooltips[threads] = tooltip;
+            const data = [];
+            for(const p of this.points) {
+                const stats = p.series.options.atomic_queue_stats[p.point.index];
+                data[p.series.options.index] = {
+                    name: p.series.name,
+                    color: p.series.color,
+                    min: Highcharts.numberFormat(stats[1], 0),
+                    max: Highcharts.numberFormat(stats[2], 0),
+                    mean: Highcharts.numberFormat(stats[3], 0),
+                    stdev: Highcharts.numberFormat(stats[4], 0)
+                };
             }
-            return tooltip;
+            const tbody = data.reduce((s, d) => d ? s + `<tr><td style="color: ${d.color}">${d.name}: </td><td><strong>${d.mean}</strong></td><td><strong>${d.stdev}</strong></td><td>${d.min}</td><td>${d.max}</td></tr>` : s, "");
+            return tooltips[threads] = `
+                <span class="tooltip_scalability_title">${threads} producers, ${threads} consumers</span>
+                <table class="tooltip_scalability">
+                <tr><th></th><th>mean</th><th>stdev</th><th>min</th><th>max</th></tr>
+                ${tbody}
+                </table>
+                `;
         }
 
         const chart = Highcharts.chart(div_id, {
@@ -125,8 +123,8 @@ $(function() {
                 atomic_queue_stats: stats
             };
         });
-        series.sort((a, b) => { return a.index - b.index; });
-        const categories = series.map(s => { return s.name; });
+        series.sort((a, b) => a.index - b.index);
+        const categories = series.map(s => s.name);
 
         const tooltip_formatter = function() {
             const stats = this.series.options.atomic_queue_stats;


=====================================
include/atomic_queue/defs.h
=====================================
@@ -47,6 +47,13 @@ namespace atomic_queue {
 constexpr int CACHE_LINE_SIZE = 256; // TODO: Review that this is the correct value.
 static inline void spin_loop_pause() noexcept {} // TODO: Find the right instruction to use here, if any.
 } // namespace atomic_queue
+#elif defined(__riscv)
+namespace atomic_queue {
+constexpr int CACHE_LINE_SIZE = 64;
+static inline void spin_loop_pause() noexcept {
+    asm volatile (".insn i 0x0F, 0, x0, x0, 0x010");
+}
+} // namespace atomic_queue
 #else
 #warning "Unknown CPU architecture. Using L1 cache line size of 64 bytes and no spinloop pause instruction."
 namespace atomic_queue {



View it on GitLab: https://salsa.debian.org/med-team/libatomic-queue/-/compare/db733862688ad4b2ee4f6cef9fd12bdee12b6adc...fc1f79d136117f531d117ba1318e5893b842ce15

-- 
View it on GitLab: https://salsa.debian.org/med-team/libatomic-queue/-/compare/db733862688ad4b2ee4f6cef9fd12bdee12b6adc...fc1f79d136117f531d117ba1318e5893b842ce15
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20220701/7baf2c66/attachment-0001.htm>


More information about the debian-med-commit mailing list