all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Immanuel Litzroth <immanuel.litzroth@gmail.com>
To: emacs-devel@gnu.org
Subject: Distributing packages with native emacs modules
Date: Thu, 1 Oct 2020 10:47:16 +0200	[thread overview]
Message-ID: <CAM1nAcyz=OYgX0Y5YCKtqyBF0E0fp_OD4QZjRo_q+X0fHkz0Yw@mail.gmail.com> (raw)

Gents,
I'm trying to figure out how to distribute a package which has some C++ code
implementing an emacs module. I'm currently not 100% clear on all that:
1) It seems the package repo's only do byte compilation of el files?

2) Are there examples or packages doing compilation of modules?

3) It would be possible to wrap the compilation of the package in an
"(eval-when-compile"
but that would be quite laborious. Is that a route that has been taken
in the past?

4) The other option is to ship the code to the user and tell him/her
to run the compilation
if the binary module isn't there yet (possible providing an elisp
function to do that).

Any thoughts?
Immanuel


-- 
-- Researching the dual problem of finding the function that has a
given point as fixpoint.



             reply	other threads:[~2020-10-01  8:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-01  8:47 Immanuel Litzroth [this message]
2020-10-01  8:52 ` Distributing packages with native emacs modules Robert Pluim
2020-10-01 13:19 ` Stefan Monnier
2020-10-06 21:06   ` Stephen Leake
2020-10-06 21:23     ` Immanuel Litzroth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAM1nAcyz=OYgX0Y5YCKtqyBF0E0fp_OD4QZjRo_q+X0fHkz0Yw@mail.gmail.com' \
    --to=immanuel.litzroth@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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.