emacs-build-automation
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ELPA tests in EMBA?


From: Stefan Monnier
Subject: Re: ELPA tests in EMBA?
Date: Sat, 23 Jan 2021 17:06:41 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> SM> I don't really have any requirements: the above are more comments about
> SM> what I would find particularly useful, but I think anything is likely
> SM> going to be better than what we have now ;-)
>
> Cool. Let's get started - can you give us a repo to clone and the
> commands to run to update the submodules and byte-compile them?
>
> We currently clone emacs.git in a shell script, this is the crontab:
>
> */5 * * * * /root/mirror-emacs.sh 2>&1 | logger
>
> The same thing for ELPA would trigger a build.

I don't know what `mirror-emacs.sh` does, but to compile all the
packages in elpa.git you need:

    git clone .../elpa.git
    cd elpa
    make                      # Fetch the scripts and setup the real makefile.
    make worktrees            # populate the `packages/[PKG]` worktrees.
    make                      # Setup and compile the packages.

Side note: this will currently fail on `piwiki` because of a missing
dependency provided by a package in `nongnu.git`.  We need to fix
this somehow.

To run the tests you presumably need

    make check

but I'm pretty sure this will fail miserably.  This part needs a fair
bit of love.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]