Commit Graph

21 Commits

Author SHA1 Message Date
Yann E. MORIN
1fee946037 package/erlang: disable for static builds
erlang wants to build shared libs, always.

So, disable erlang when we're building static-only.

Fixes:
    http://autobuild.buildroot.net/results/1ce/1ceaa6925d1ded236d01ae9feb31f5f915f6b51a/

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Frank Hunleth <fhunleth@troodon-software.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-11-22 18:30:34 +01:00
Yann E. MORIN
e08ea03eb8 pakage/erlang: fix host build without termcap (curses) library
We do not need termcap (curses) support in the host variant of erlang.

Fixes a bunch of autobuild failures;
    http://autobuild.buildroot.net/results/4be/4bef658b6815929058c769037211f7e0fc8d1f9c/
    http://autobuild.buildroot.net/results/726/72619ed15590a3a5a41b7c398d973766ecab0a2e/
    http://autobuild.buildroot.net/results/366/366439438549d5f7656be72f71dae3bb5f99c6b2/
    ...

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Nathaniel Roach <nroach44@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-11-18 21:52:31 +01:00
Yann E. MORIN
58381b3eca package/erlang: build host-erlang with support for openssl
Erlang uses openssl for all things crypto.

Since there are host Erlang tools that use crypto (such as rebar), we
need to build host-erlang with support for crypto, and thus it shall
depends on openssl.

Suggested-by: Frank Hunleth <fhunleth@troodon-software.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Frank Hunleth <fhunleth@troodon-software.com>
Cc: Johan Oudinet <johan.oudinet@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-10-06 17:39:37 +02:00
Thomas De Schampheleire
aaffd209fa packages: rename FOO_CONF_OPT into FOO_CONF_OPTS
To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS,
make the same change for FOO_CONF_OPT.

Sed command used:
   find * -type f | xargs sed -i 's#_CONF_OPT\>#&S#g'

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-10-04 18:54:16 +02:00
Frank Hunleth
3e506a980d erlang: bump to version 17.3
Erlang/OTP 17.3 is a service release on the 17 track with mostly bug
fixes, but it does contain a number of new features and characteristics
improvements as well.

Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-09-21 21:16:03 +02:00
Thomas Petazzoni
047cb1a46b erlang: needs thread support
Fixes:

  http://autobuild.buildroot.org/results/1f3/1f313aee75328c27e260c55dbf7caa5d3d6a07d3/
  http://autobuild.buildroot.org/results/2f2/2f213d8cf6f828a68a2f36bb95564b8db043e7a2/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-09-13 21:53:46 +02:00
Frank Hunleth
7abc724b78 erlang: bump to version 17.1
Erlang/OTP 17.1 is a service release on the 17 track with mostly bug
fixes, but it does contain a number of new features and characteristics
improvements as well.

Some highlights of the release are:
  - crypto: Add aes_cfb8 cypher to crypto:block_encrypt and block_decrypt.
  - diameter: Add result code counters for CEA, DWA, and DPA.
  - erts: The following built in functions in the erlang and binary modules
    now bump an appropriate amount of reductions and yield when out of
    reductions:
    binary_to_list/1, binary_to_list/3, bitstring_to_list/1,
    list_to_binary/1,
    iolist_to_binary/1, list_to_bitstring/1, binary:list_to_bin/1
  - hipe: Handle Maps instructions get_map_elements, put_map_assoc,
    put_map_exact in the HiPE native code compiler.
  - mnesia: The time for inserting locks for a transaction with large
    number of locks is reduced significantly.
  - ssh: Option max_sessions added to ssh:daemon/{2,3}.
  - stdlib: Add maps:get/3 to maps module. The function will return the
    supplied default value if the key does not exist in the map.

Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-08-15 11:23:50 +02:00
Frank Hunleth
00856e2ba2 erlang: bump version to 17.0
Erlang/OTP 17.0 is a new major release with new features, characteristics
improvements, as well as some minor incompatibilities.

Some highlights of the release are:
  - Erlang/OTP has been ported to the realtime operating system OSE.
  - Maps, a new dictionary data type (experimental)
  - A more natural mapping from ASN.1 OCTET STRING and BIT STRING to Erlang
    types, and other ASN.1 improvements and optimizations
  - The {active, N} socket option for TCP, UDP, and SCTP
  - A new (optional) scheduler utilization balancing mechanism
  - Migration of memory carriers has been enabled by default on all ERTS
    internal memory allocators
  - Increased garbage collection tenure rate
  - Experimental "dirty schedulers" functionality
  - Funs can now be given names
  - Miscellaneous unicode support enhancements
  - A new version scheme for OTP its applications has been introduced

Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-04-10 22:40:45 +02:00
Frank Hunleth
da18018b5f erlang: bump version to R16B03-1
OTP R16B03-1 is a service release which corrects a few issues found in
the R16B03 release. The corrections are:

 - The ODBC application was missing in the prebuilt Windows installers
 - 3 corrections in the SSL application:
   - Add missing validation of the server_name_indication option and test for
     its explicit use.
   - Elliptic curve selection in server mode now properly selects a curve
     suggested by the client, if possible.
   - The server did not indicate support for secure renegotiation during TLS
     extension handling.
 - In the syntax tools application a bug was introduced which broke
   reverting of local funs. This is now corrected (thanks to Anthony
   Ramine)
 - wx - Solved a problem which caused the debugger to crash when closing a
   window. Fixed static linking on Mac.
 - xmerl - Fixed a problem in the SAX-parser when the header of the next
   document was appearing in the buffer when using the
   xmerl_sax_parser:stream/2 function.

Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-28 14:11:03 +01:00
Frank Hunleth
472f629fa9 erlang: bump to version R16B03
Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-12-15 20:39:16 +01:00
Frank Hunleth
c1781787f8 erlang: add option to enable SMP support
Erlang builds two emulators depending on whether SMP is supported or
not. If it is known that the target does not support SMP, turning off
the SMP emulator saves compile time and reduces the size of the
installation.

Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-12-15 09:47:37 +01:00
Frank Hunleth
98fe337d19 erlang: bump to version R16B01
Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-09-20 15:18:32 +02:00
Frank Hunleth
205d72c686 erlang: pass erl_xcomp_sysroot to configure
This is required for building the 'crypto', 'odbc', 'ssh'
and 'ssl' Erlang applications. These apps are skipped
regardless of whether they're enabled and their dependencies
can be met if this environment variable isn't set.

Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-09-20 15:18:24 +02:00
Hans Bulfone
fef61fb468 erlang: install to staging
This is required to build custom port drivers/NIFs or code that
uses erl_interface.

Signed-off-by: Hans Bulfone <hans@nil.at>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-09-10 09:23:25 +02:00
Peter Korsgaard
5d09b72d60 erlang: add upstream URL
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-07-12 10:26:11 +02:00
Peter Korsgaard
d3235d7a96 erlang: bump version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-07-12 10:25:37 +02:00
Alexandre Belloni
8dfd59d114 Normalize separator size to 80
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-06-06 22:30:24 +02:00
Gustavo Zacarias
9c177b2c10 erlang: needs mmu
Fixes:
http://autobuild.buildroot.net/results/5b3411008ddf89aef55c8dd8682b894cf9860d13/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-06 23:54:40 +02:00
Thomas Petazzoni
9bf020f544 erlang: don't build the Java stuff on the host
We don't need the Java stuff, and it causes build failures on certain
machines:

 http://autobuild.buildroot.org/results/99035e89e101c41d5e8b5ef6a025856f4af88ae2/build-end.log

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-09-16 23:25:11 +02:00
Peter Korsgaard
ebb2e058b0 erlang: fix host version dependencies
Fixes http://autobuild.buildroot.net/results/8816fe16534062cdf0d3a682a7408f9adbea2985

The host version of erlang does not need to enable support for & depend on
host versions of ncurses/openssl/zlib, even if the target version does.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-09-05 07:23:15 +02:00
Will Newton
5886b6f15c erlang: new package
Signed-off-by: Will Newton <will.newton@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-08-24 23:39:29 +02:00