mirror of
https://github.com/rdkit/rdkit.git
synced 2026-06-03 21:44:30 +08:00
* revert duplicate chunk in release notes * replace deprecated ifdefs This one gets rid of USE_BUILTIN_POPCNT and RDK_THREADSAFE_SS use RDK_OPTIMIZE_POPCNT or RDK_BUILD_THREADSAFE_SSS instead * get rid of BUILD_COORDGEN_SUPPORT from ROMol.i * fix a stupid typo * update release notes
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
#include "PatternFactory.h"
|
||||
#include <RDGeneral/RDThreads.h>
|
||||
|
||||
#ifdef RDK_THREADSAFE_SSS
|
||||
#ifdef RDK_BUILD_THREADSAFE_SSS
|
||||
#include <thread>
|
||||
#include <future>
|
||||
#endif
|
||||
@@ -52,7 +52,7 @@ void internalAddPatterns(SubstructLibrary &sslib, int numThreads,
|
||||
unsigned int endIdx = sslib.getMolecules().size();
|
||||
fps.resize(endIdx);
|
||||
|
||||
#ifdef RDK_THREADSAFE_SSS
|
||||
#ifdef RDK_BUILD_THREADSAFE_SSS
|
||||
std::vector<std::future<void>> thread_group;
|
||||
for (int thread_group_idx = 0; thread_group_idx < numThreads;
|
||||
++thread_group_idx) {
|
||||
|
||||
Reference in New Issue
Block a user