aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xconfigure.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/configure.sh b/configure.sh
index ae51189..aac6444 100755
--- a/configure.sh
+++ b/configure.sh
@@ -15,7 +15,7 @@
15# 15#
16# THREADS=n 16# THREADS=n
17# Choose how many threads to use for multi-threaded oerations. 17# Choose how many threads to use for multi-threaded oerations.
18# By default, 16 threads will be used (TODO: in the future this will be 18# By default, 8 threads will be used (TODO: in the future this will be
19# determined base on the system). 19# determined base on the system).
20# The number n must be between 1 and 128. 20# The number n must be between 1 and 128.
21# 21#
@@ -29,18 +29,18 @@
29# 29#
30# Examples 30# Examples
31# 31#
32# 1. Build using clang and 8 threads 32# 1. Build using clang and 4 threads
33# CC=clang THREADS=8 ./configure.sh && make 33# CC=clang THREADS=4 ./configure.sh && make
34# 34#
35# 2. Build using thread and undefined behavior sanitizers when in debug mode 35# 2. Build using thread and undefined behavior sanitizers when in debug mode
36# SANITIZE="thread,undefined" ./configures && make 36# SANITIZE="thread,undefined" ./configure.sh && make
37 37
38greparch() { 38greparch() {
39 $CC -march=native -dM -E - </dev/null 2>/dev/null | grep "$1" 39 $CC -march=native -dM -E - </dev/null 2>/dev/null | grep "$1"
40} 40}
41 41
42detectthreads() { 42detectthreads() {
43 echo 16 # TODO: choose based on system 43 echo 8 # TODO: choose based on system
44} 44}
45 45
46detectarch() { 46detectarch() {

Generated with cgit - Back to sebastiano.tronto.net