[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#67260] [PATCH emacs-team v10 5/7] build-system: emacs: Compute rela
From: |
Liliana Marie Prikler |
Subject: |
[bug#67260] [PATCH emacs-team v10 5/7] build-system: emacs: Compute relative file names. |
Date: |
Tue, 13 Feb 2024 19:30:50 +0100 |
With the previous commit, relative file names are expanded relative to
ELN_DIR -- more or less. To make use of this in emacs-build-system, we must
also pass relative file names.
* guix/build/emacs-build-system.scm (emacs-compile-directory): Compute the
relative file names of the files to compile.
Change-Id: I8983f80fb0fe1573e46748222403ba8873f1599f
---
guix/build/emacs-utils.scm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/guix/build/emacs-utils.scm b/guix/build/emacs-utils.scm
index 8e12b5b6d4..eca42bf305 100644
--- a/guix/build/emacs-utils.scm
+++ b/guix/build/emacs-utils.scm
@@ -146,7 +146,9 @@ (define* (emacs-compile-directory dir)
(cadr native-comp-eln-load-path))))
(if byte+native-compile
(native-compile file
- (comp-el-to-eln-filename file eln-dir))
+ (comp-el-to-eln-filename
+ (file-relative-name file ,dir)
+ eln-dir))
(byte-compile-file file))
;; After native compilation, write the bytecode file.
(unless (null byte-to-native-output-buffer-file)
--
2.41.0
- [bug#67260] [PATCH emacs-team v10 0/7] Preload most of the things, Liliana Marie Prikler, 2024/02/16
- [bug#67260] [PATCH emacs-team v10 7/7] gnu: emacs-magit: Fix native builds., Liliana Marie Prikler, 2024/02/16
- [bug#67260] [PATCH emacs-team v10 3/7] gnu: emacs: Don't hash file names in native compilation., Liliana Marie Prikler, 2024/02/16
- [bug#67260] [PATCH emacs-team v10 1/7] gnu: emacs: Wrap EMACSNATIVELOADPATH., Liliana Marie Prikler, 2024/02/16
- [bug#67260] [PATCH emacs-team v10 4/7] gnu: emacs: Disable jit compilation., Liliana Marie Prikler, 2024/02/16
- [bug#67260] [PATCH emacs-team v10 2/7] gnu: emacs: Build trampolines., Liliana Marie Prikler, 2024/02/16
- [bug#67260] [PATCH emacs-team v10 5/7] build-system: emacs: Compute relative file names.,
Liliana Marie Prikler <=
- [bug#67260] [PATCH emacs-team v10 6/7] gnu: emacs-org: Fix native builds., Liliana Marie Prikler, 2024/02/16
- [bug#67260] [PATCH emacs-team v10 0/7] Preload most of the things, Suhail, 2024/02/17
- [bug#67260] [PATCH emacs-team v10 0/7] Preload most of the things, Liliana Marie Prikler, 2024/02/17
- [bug#67260] [PATCH emacs-team v10 0/7] Preload most of the things, Suhail, 2024/02/17
- [bug#67260] [PATCH emacs-team v10 0/7] Preload most of the things, Liliana Marie Prikler, 2024/02/18
- [bug#67260] [PATCH emacs-team v10 0/7] Preload most of the things, Suhail, 2024/02/19
- [bug#67260] [PATCH emacs-team v10 0/7] Preload most of the things, Liliana Marie Prikler, 2024/02/20
- [bug#67260] [PATCH emacs-team v10 0/7] Preload most of the things, Suhail, 2024/02/20