From nobody Wed Feb 16 22:10:12 2022 X-Original-To: freebsd-erlang@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 7907919CF89E for ; Wed, 16 Feb 2022 22:10:18 +0000 (UTC) (envelope-from michal.jakubik@zoho.com) Received: from sender4-op-o17.zoho.com (sender4-op-o17.zoho.com [136.143.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4JzXFj2gStz3nkQ; Wed, 16 Feb 2022 22:10:17 +0000 (UTC) (envelope-from michal.jakubik@zoho.com) ARC-Seal: i=1; a=rsa-sha256; t=1645049413; cv=none; d=zohomail.com; s=zohoarc; b=HFN58ODFgU4nrOD1qNeZHcvNzGf8lUl3LBv38/V3VflWasAQjSDw3s04/Aa14QLVdPxfkD0f99PgWWjhckc0e4aTLDUx8/Ouzf405Cr1f0oB5buboNOOM5WldxZ7zUyT2s7nfxb8gSebZx9VpAdzXYXHh+D8EOXp6wOVYejVrZQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1645049413; h=Content-Type:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:Reply-To:References:Subject:To; bh=uZ0c3cVysKaDU2i2MxS8twVMX4JJ0A6T7k47nsXe+PI=; b=XVumJQvIckSwoWdLYxrmTJMopsmYoY0i5cMhEWx/lYHprOhXUf9WmwhyHz2Z5aSAEFf1A5RCWI3Lg0LqlUU3Oj4UwoaoXqNgYRZ9PY/1QjaxPkPTQnH26otTgIObCORX4GYrTFTjViPeqb0x54s3kKG7cRbizOuVgd7FL0i119Y= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=swiftsmsgateway.com; spf=pass smtp.mailfrom=michal.jakubik@zoho.com; dmarc=pass header.from= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=date:from:reply-to:to:cc:message-id:in-reply-to:references:subject:mime-version:content-type:user-agent; b=TSTmWrdIiNDJ1LGB5P9HBZyMDak8+83Oy7AYCPioNPm+DJ4IyDmpx/tkSR4aqWDZnfreExjxS0pw FT0WE8lrvRu+0J2XLi+qN9wC3v0ifT8SbB9gNbJVUFTdU3ZWml+t DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1645049413; s=zoho; d=swiftsmsgateway.com; i=mike.jakubik@swiftsmsgateway.com; h=Date:From:Reply-To:To:Cc:Message-Id:In-Reply-To:References:Subject:MIME-Version:Content-Type; bh=uZ0c3cVysKaDU2i2MxS8twVMX4JJ0A6T7k47nsXe+PI=; b=NL2FLFtb1mqkD28pG7ERUh4bU/yvKGRNTVg2QvLfLszqCJ14UzsTe77vkIfnhzXV TW2253tclaG6Qr3AXxVT80IC6UlCtzks6Kv4mdssdZJHgBS+DVJ9uKVBGWjxN53h6r9 d69hZYHwNsM1qdLZ1D99Po3x8Qowi5eK3BAeo1Z8= Received: from mail.zoho.com by mx.zohomail.com with SMTP id 1645049412657563.5169360496733; Wed, 16 Feb 2022 14:10:12 -0800 (PST) Date: Wed, 16 Feb 2022 17:10:12 -0500 From: Mike Jakubik Reply-To: mike.jakubik@swiftsmsgateway.com To: "Dave Cottlehuber" Cc: "erlang" Message-Id: <17f0495fc18.b44357f51118061.4026254962963294780@swiftsmsgateway.com> In-Reply-To: References: <17f03e9cb88.e62c780b1076565.8170616864757300918@swiftsmsgateway.com> <233b4856-7374-4667-bd64-1452aef49f80@www.fastmail.com> <17f0430a2b9.116cdd6d91094797.8704050208558348377@swiftsmsgateway.com> <17f043e3479.c34b4f091098208.353345808176822764@swiftsmsgateway.com> Subject: Re: lang/elixir | v1.13.3 List-Id: Support of Erlang-related ports List-Archive: https://lists.freebsd.org/archives/freebsd-erlang List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-erlang@freebsd.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_3585085_1394788684.1645049412632" Importance: Medium User-Agent: Zoho Mail X-Mailer: Zoho Mail X-Rspamd-Queue-Id: 4JzXFj2gStz3nkQ X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=swiftsmsgateway.com header.s=zoho header.b=NL2FLFtb; arc=pass ("zohomail.com:s=zohoarc:i=1"); dmarc=none; spf=pass (mx1.freebsd.org: domain of michal.jakubik@zoho.com designates 136.143.188.17 as permitted sender) smtp.mailfrom=michal.jakubik@zoho.com X-Spamd-Result: default: False [-4.19 / 15.00]; HAS_REPLYTO(0.00)[mike.jakubik@swiftsmsgateway.com]; XM_UA_NO_VERSION(0.01)[]; R_SPF_ALLOW(-0.20)[+ip4:136.143.188.0/24]; REPLYTO_ADDR_EQ_FROM(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[swiftsmsgateway.com:+]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-1.00)[-0.997]; FORGED_SENDER(0.30)[mike.jakubik@swiftsmsgateway.com,michal.jakubik@zoho.com]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ARC_ALLOW(-1.00)[zohomail.com:s=zohoarc:i=1]; ASN(0.00)[asn:2639, ipnet:136.143.188.0/23, country:US]; FROM_NEQ_ENVFROM(0.00)[mike.jakubik@swiftsmsgateway.com,michal.jakubik@zoho.com]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FREEMAIL_ENVFROM(0.00)[zoho.com]; R_DKIM_ALLOW(-0.20)[swiftsmsgateway.com:s=zoho]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; DMARC_NA(0.00)[swiftsmsgateway.com]; RCVD_IN_DNSWL_NONE(0.00)[136.143.188.17:from]; MLMMJ_DEST(0.00)[freebsd-erlang]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N ------=_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 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 =
Hi,

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.

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) bet= ween:

erlang
erlang-runtime21
erlang-runtime22
erlang-= runtime23
erlang-runtime24

lang/erlang *is* erlang-runtime24 a= tm.

Or do you mean, you need erlang-wx, java etc as well?
You can re-target the port with ERLANG_VER=3D ... something else, or
m= odify the post-patch target not to be version-specific.

The reason= for this apparent hack is that OTP24 compiled beam files
are not compa= tible with OTP21 beam file opcodes any more. So we
need to make sure th= at people who want JIT-enhanced OTP run with
the OTP release that we bu= ilt against, and that people like me
who run multiple erlang-derived ap= ps, each embed the path internally.

A+
Dave


Mike Jakubik
https://www.swiftsmsgateway.com/

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.


------=_Part_3585085_1394788684.1645049412632--