* [Buildroot] [PATCH v3 1/1] erlang: remove non-SMP build option
@ 2017-12-20 14:32 Frank Hunleth
2017-12-20 14:55 ` Yann E. MORIN
2017-12-28 22:25 ` Thomas Petazzoni
0 siblings, 2 replies; 3+ messages in thread
From: Frank Hunleth @ 2017-12-20 14:32 UTC (permalink / raw)
To: buildroot
The non-SMP scheduler was deprecated with the Erlang/OTP 20.0 release and
slated for removal with the next major Erlang release. Since the non-SMP
scheduler isn't even built anymore, this option no longer has the
intended effect of saving space or compile time. The SMP scheduler
supports both SMP and non-SMP processors, so removing the option will
not break any platforms.
We do not need to add a legacy entry, because the new behavior is the
same as with the option previously set (i.e. SMP enabled).
Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
---
Changes v2 -> v3:
- Removed text from Config.in.legacy and added info as to why it wasn't
needed (thanks to Yann)
Changes v1 -> v2:
- Added text to Config.in.legacy to explain the removal of the option
package/erlang/Config.in | 10 ----------
package/erlang/erlang.mk | 4 ----
2 files changed, 14 deletions(-)
diff --git a/package/erlang/Config.in b/package/erlang/Config.in
index 1cd93ca..96af551 100644
--- a/package/erlang/Config.in
+++ b/package/erlang/Config.in
@@ -27,16 +27,6 @@ config BR2_PACKAGE_ERLANG
if BR2_PACKAGE_ERLANG
-config BR2_PACKAGE_ERLANG_SMP
- bool "enable SMP support"
- help
- Erlang provides both a UP and an SMP emulator. The UP
- emulator is always built, and this option enables
- compilation of the SMP emulator. The choice of which
- emulator to use is made at runtime. If you do not need SMP
- support, turning this option off reduces compile time and
- the size of the Erlang installation.
-
config BR2_PACKAGE_ERLANG_MEGACO
bool "install megaco application"
help
diff --git a/package/erlang/erlang.mk b/package/erlang/erlang.mk
index 733c1d5..5705b98 100644
--- a/package/erlang/erlang.mk
+++ b/package/erlang/erlang.mk
@@ -74,10 +74,6 @@ ERLANG_CONF_OPTS += --enable-shared-zlib
ERLANG_DEPENDENCIES += zlib
endif
-ifeq ($(BR2_PACKAGE_ERLANG_SMP),)
-ERLANG_CONF_OPTS += --disable-smp-support
-endif
-
# Remove source, example, gs and wx files from staging and target.
ERLANG_REMOVE_PACKAGES = gs wx
--
2.7.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH v3 1/1] erlang: remove non-SMP build option
2017-12-20 14:32 [Buildroot] [PATCH v3 1/1] erlang: remove non-SMP build option Frank Hunleth
@ 2017-12-20 14:55 ` Yann E. MORIN
2017-12-28 22:25 ` Thomas Petazzoni
1 sibling, 0 replies; 3+ messages in thread
From: Yann E. MORIN @ 2017-12-20 14:55 UTC (permalink / raw)
To: buildroot
Frank, All,
On 2017-12-20 09:32 -0500, Frank Hunleth spake thusly:
> The non-SMP scheduler was deprecated with the Erlang/OTP 20.0 release and
> slated for removal with the next major Erlang release. Since the non-SMP
> scheduler isn't even built anymore, this option no longer has the
> intended effect of saving space or compile time. The SMP scheduler
> supports both SMP and non-SMP processors, so removing the option will
> not break any platforms.
>
> We do not need to add a legacy entry, because the new behavior is the
> same as with the option previously set (i.e. SMP enabled).
>
> Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Thanks! :-)
Regards,
Yann E. MORIN.
> ---
> Changes v2 -> v3:
> - Removed text from Config.in.legacy and added info as to why it wasn't
> needed (thanks to Yann)
> Changes v1 -> v2:
> - Added text to Config.in.legacy to explain the removal of the option
>
> package/erlang/Config.in | 10 ----------
> package/erlang/erlang.mk | 4 ----
> 2 files changed, 14 deletions(-)
>
> diff --git a/package/erlang/Config.in b/package/erlang/Config.in
> index 1cd93ca..96af551 100644
> --- a/package/erlang/Config.in
> +++ b/package/erlang/Config.in
> @@ -27,16 +27,6 @@ config BR2_PACKAGE_ERLANG
>
> if BR2_PACKAGE_ERLANG
>
> -config BR2_PACKAGE_ERLANG_SMP
> - bool "enable SMP support"
> - help
> - Erlang provides both a UP and an SMP emulator. The UP
> - emulator is always built, and this option enables
> - compilation of the SMP emulator. The choice of which
> - emulator to use is made at runtime. If you do not need SMP
> - support, turning this option off reduces compile time and
> - the size of the Erlang installation.
> -
> config BR2_PACKAGE_ERLANG_MEGACO
> bool "install megaco application"
> help
> diff --git a/package/erlang/erlang.mk b/package/erlang/erlang.mk
> index 733c1d5..5705b98 100644
> --- a/package/erlang/erlang.mk
> +++ b/package/erlang/erlang.mk
> @@ -74,10 +74,6 @@ ERLANG_CONF_OPTS += --enable-shared-zlib
> ERLANG_DEPENDENCIES += zlib
> endif
>
> -ifeq ($(BR2_PACKAGE_ERLANG_SMP),)
> -ERLANG_CONF_OPTS += --disable-smp-support
> -endif
> -
> # Remove source, example, gs and wx files from staging and target.
> ERLANG_REMOVE_PACKAGES = gs wx
>
> --
> 2.7.4
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH v3 1/1] erlang: remove non-SMP build option
2017-12-20 14:32 [Buildroot] [PATCH v3 1/1] erlang: remove non-SMP build option Frank Hunleth
2017-12-20 14:55 ` Yann E. MORIN
@ 2017-12-28 22:25 ` Thomas Petazzoni
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2017-12-28 22:25 UTC (permalink / raw)
To: buildroot
Hello,
On Wed, 20 Dec 2017 09:32:39 -0500, Frank Hunleth wrote:
> The non-SMP scheduler was deprecated with the Erlang/OTP 20.0 release and
> slated for removal with the next major Erlang release. Since the non-SMP
> scheduler isn't even built anymore, this option no longer has the
> intended effect of saving space or compile time. The SMP scheduler
> supports both SMP and non-SMP processors, so removing the option will
> not break any platforms.
>
> We do not need to add a legacy entry, because the new behavior is the
> same as with the option previously set (i.e. SMP enabled).
>
> Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
> ---
> Changes v2 -> v3:
> - Removed text from Config.in.legacy and added info as to why it wasn't
> needed (thanks to Yann)
> Changes v1 -> v2:
> - Added text to Config.in.legacy to explain the removal of the option
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-12-28 22:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-20 14:32 [Buildroot] [PATCH v3 1/1] erlang: remove non-SMP build option Frank Hunleth
2017-12-20 14:55 ` Yann E. MORIN
2017-12-28 22:25 ` Thomas Petazzoni
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.