Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Feb 2022 17:10:12 -0500
From:      Mike Jakubik <mike.jakubik@swiftsmsgateway.com>
To:        "Dave Cottlehuber" <dch@freebsd.org>
Cc:        "erlang" <freebsd-erlang@freebsd.org>
Subject:   Re: lang/elixir | v1.13.3
Message-ID:  <17f0495fc18.b44357f51118061.4026254962963294780@swiftsmsgateway.com>
In-Reply-To: <d4361544-e462-4669-840b-af53c070084a@www.fastmail.com>
References:  <17f03e9cb88.e62c780b1076565.8170616864757300918@swiftsmsgateway.com> <233b4856-7374-4667-bd64-1452aef49f80@www.fastmail.com> <17f0430a2b9.116cdd6d91094797.8704050208558348377@swiftsmsgateway.com> <17f043e3479.c34b4f091098208.353345808176822764@swiftsmsgateway.com> <d4361544-e462-4669-840b-af53c070084a@www.fastmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
------=_Part_3585085_1394788684.1645049412632
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit

Hi,



For us the difference is that the runtime does not come erl or the erlang compiler. We run a custom developed app written in Elixir but there are some erlang modules as well, recompiling said app requires the files found in the "erland24" pot but not in "erlang-runtime24". I Hope that makes things a bit clearer. Basically the way the non -devel elixir port works.



Thanks.






---- On Wed, 16 Feb 2022 17:03:03 -0500 Dave Cottlehuber <dch@freebsd.org> wrote ----



>> One issue i have with the port, it wants the erlang runtime, but we need the full erlang for our use. Any suggested actions (an option to choose would be nice, i don't want to manually edit your Makefiles)? 
 
Hi Mike, 
 
there is no difference (other than OTP version) between: 
 
erlang 
erlang-runtime21 
erlang-runtime22 
erlang-runtime23 
erlang-runtime24 
 
lang/erlang *is* erlang-runtime24 atm. 
 
Or do you mean, you need erlang-wx, java etc as well? 
 
You can re-target the port with ERLANG_VER= ... something else, or 
modify the post-patch target not to be version-specific. 
 
The reason for this apparent hack is that OTP24 compiled beam files 
are not compatible with OTP21 beam file opcodes any more. So we 
need to make sure that people who want JIT-enhanced OTP run with 
the OTP release that we built against, and that people like me 
who run multiple erlang-derived apps, each embed the path internally. 
 
A+ 
Dave 
 





Mike Jakubik

https://www.swiftsmsgateway.com/



Disclaimer: This e-mail and any attachments are intended only for the use of the addressee(s) and may contain information that is privileged or confidential. If you are not the intended recipient, or responsible for delivering the information to the intended recipient, you are hereby notified that any dissemination, distribution, printing or copying of this e-mail and any attachments is strictly prohibited. If this e-mail and any attachments were received in error, please notify the sender by reply e-mail and delete the original message.
------=_Part_3585085_1394788684.1645049412632
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head>=
<meta content=3D"text/html;charset=3DUTF-8" http-equiv=3D"Content-Type"></h=
ead><body ><div style=3D"font-family: Verdana, Arial, Helvetica, sans-serif=
; font-size: 10pt;"><div>Hi,<br></div><div><br></div><div>For us the differ=
ence is that the runtime does not come erl or the erlang compiler. We run a=
 custom developed app written in Elixir but there are some erlang modules a=
s well, recompiling said app requires the files found in the "erland24" pot=
 but not in "erlang-runtime24". I Hope that makes things a bit clearer. Bas=
ically the way the non -devel elixir port works.<br></div><div><br></div><d=
iv>Thanks.</div><div><br></div><div class=3D"zmail_extra_hr" style=3D"borde=
r-top: 1px solid rgb(204, 204, 204); height: 0px; margin-top: 10px; margin-=
bottom: 10px; line-height: 0px;"><br></div><div class=3D"zmail_extra" data-=
zbluepencil-ignore=3D"true"><div><br></div><div id=3D"Zm-_Id_-Sgn1">---- On=
 Wed, 16 Feb 2022 17:03:03 -0500 <b>Dave Cottlehuber &lt;dch@freebsd.org&gt=
;</b> wrote ----<br></div><div><br></div><blockquote style=3D"margin: 0px;"=
><div>&gt;&gt; One issue i have with the port, it wants the erlang runtime,=
 but we need the full erlang for our use. Any suggested actions (an option =
to choose would be nice, i don't want to manually edit your Makefiles)? <br=
> <br>Hi Mike, <br> <br>there is no difference (other than OTP version) bet=
ween: <br> <br>erlang <br>erlang-runtime21 <br>erlang-runtime22 <br>erlang-=
runtime23 <br>erlang-runtime24 <br> <br>lang/erlang *is* erlang-runtime24 a=
tm. <br> <br>Or do you mean, you need erlang-wx, java etc as well? <br> <br=
>You can re-target the port with ERLANG_VER=3D ... something else, or <br>m=
odify the post-patch target not to be version-specific. <br> <br>The reason=
 for this apparent hack is that OTP24 compiled beam files <br>are not compa=
tible with OTP21 beam file opcodes any more. So we <br>need to make sure th=
at people who want JIT-enhanced OTP run with <br>the OTP release that we bu=
ilt against, and that people like me <br>who run multiple erlang-derived ap=
ps, each embed the path internally. <br> <br>A+ <br>Dave <br> <br></div></b=
lockquote></div><div><br></div><div class=3D"zmail_signature_below"><div id=
=3D"Zm-_Id_-Sgn" data-zbluepencil-ignore=3D"true" data-sigid=3D"78860770000=
00096004"><div>Mike Jakubik<br></div><div><a target=3D"_blank" href=3D"http=
s://www.swiftsmsgateway.com/">https://www.swiftsmsgateway.com/</a><br></div=
><div><br></div><div><span class=3D"size" style=3D"font-size:10px">Disclaim=
er: This e-mail and any attachments are intended only for the use of the ad=
dressee(s) and may contain information that is privileged or confidential. =
If you are not the intended recipient, or responsible for delivering the in=
formation to the intended recipient, you are hereby notified that any disse=
mination, distribution, printing or copying of this e-mail and any attachme=
nts is strictly prohibited. If this e-mail and any attachments were receive=
d in error, please notify the sender by reply e-mail and delete the origina=
l message.</span><br></div></div></div><div><br></div></div><br></body></ht=
ml>
------=_Part_3585085_1394788684.1645049412632--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?17f0495fc18.b44357f51118061.4026254962963294780>