File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 7
7
// ===----------------------------------------------------------------------===//
8
8
9
9
#include " llvm/CAS/ObjectStore.h"
10
+ #include " llvm/Config/llvm-config.h"
10
11
#include " llvm/Support/Process.h"
11
12
#include " llvm/Support/RandomNumberGenerator.h"
12
13
#include " llvm/Support/ThreadPool.h"
@@ -268,6 +269,7 @@ TEST_P(CASTest, NodesBig) {
268
269
ASSERT_THAT_ERROR (CAS->validate (CAS->getID (ID)), Succeeded ());
269
270
}
270
271
272
+ #if LLVM_ENABLE_THREADS
271
273
// / Common test functionality for creating blobs in parallel. You can vary which
272
274
// / cas instances are the same or different, and the size of the created blobs.
273
275
static void testBlobsParallel (ObjectStore &Read1, ObjectStore &Read2,
@@ -342,4 +344,5 @@ TEST_P(CASTest, BlobsBigParallel) {
342
344
uint64_t Size = 100ULL * 1024 ;
343
345
ASSERT_NO_FATAL_FAILURE (testBlobsParallel1 (*CAS, Size));
344
346
}
345
- #endif
347
+ #endif // EXPENSIVE_CHECKS
348
+ #endif // LLVM_ENABLE_THREADS
You can’t perform that action at this time.
0 commit comments