aboutsummaryrefslogtreecommitdiffstats
path: root/HOWTO/INSTALL.md
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2013-07-10 15:08:16 +0200
committerRickard Green <[email protected]>2013-07-10 15:08:16 +0200
commita8e229046356fadaa217d1a1606fde750d1e8aa1 (patch)
tree82600f7c06ddbacb0e976989b9251171a2658097 /HOWTO/INSTALL.md
parent393a6c033b7291679eab525cd599024de8b28eec (diff)
parent75f57c5f9a3bd03cb16e1663d40ea98bbb3ed487 (diff)
downloadotp-a8e229046356fadaa217d1a1606fde750d1e8aa1.tar.gz
otp-a8e229046356fadaa217d1a1606fde750d1e8aa1.tar.bz2
otp-a8e229046356fadaa217d1a1606fde750d1e8aa1.zip
Merge branch 'maint'
* maint: Add test cases for native atomics and jump table Refuse to build SMP runtime by default without native atomics Make information about use of jump table available via system_info BIF Make ethread library information available via system_info BIF Make emulator arguments available via the system_info BIF
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.