aboutsummaryrefslogtreecommitdiffstats
path: root/HOWTO/INSTALL.md
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2013-07-08 17:20:21 +0200
committerRickard Green <[email protected]>2013-07-09 14:40:14 +0200
commit876d39cd86446ba0fe79ad20f1d261e5d85d659b (patch)
treefc697d4776df8d6bf25c3f086c07ca8fbfbed977 /HOWTO/INSTALL.md
parentb3b0c44ca3f1b87c719f782f09dd0331dbb1a351 (diff)
downloadotp-876d39cd86446ba0fe79ad20f1d261e5d85d659b.tar.gz
otp-876d39cd86446ba0fe79ad20f1d261e5d85d659b.tar.bz2
otp-876d39cd86446ba0fe79ad20f1d261e5d85d659b.zip
Refuse to build SMP runtime by default without native atomics
Build with fallback can be enabled by passing the `configure` command line argument `--disable-smp-require-native-atomics`
Diffstat (limited to 'HOWTO/INSTALL.md')
-rw-r--r--HOWTO/INSTALL.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/HOWTO/INSTALL.md b/HOWTO/INSTALL.md
index 8051bc4393..fa1b9d2e89 100644
--- a/HOWTO/INSTALL.md
+++ b/HOWTO/INSTALL.md
@@ -288,6 +288,14 @@ Some of the available `configure` options are:
implementation available, you typically want to try using the
`libatomic_ops` library. It can be downloaded from
<http://www.hpl.hp.com/research/linux/atomic_ops/>.
+* `--disable-smp-require-native-atomics` - By default `configure` will
+ fail if an SMP runtime system is about to be built, and no implementation
+ for native atomic memory accesses can be found. If this happens, you are
+ encouraged to find a native atomic implementation that can be used, e.g.,
+ using `libatomic_ops`, but by passing `--disable-smp-require-native-atomics`
+ you can build using a fallback implementation based on mutexes or spinlocks.
+ Performance of the SMP runtime system will however suffer immensely without
+ an implementation for native atomic memory accesses.
If you or your system has special requirements please read the `Makefile` for
additional configuration information.