[Top][All Lists]

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

feature/native-comp 15acd27: * src/comp.c (Fcomp__compile_ctxt_to_file):

From: Andrea Corallo
Subject: feature/native-comp 15acd27: * src/comp.c (Fcomp__compile_ctxt_to_file): Don't cleanup caches at bootstrap.
Date: Tue, 8 Sep 2020 07:03:40 -0400 (EDT)

branch: feature/native-comp
commit 15acd27d1c0de8b56bab61daa0a8fcd4fef0fdc4
Author: Andrea Corallo <akrl@sdf.org>
Commit: Andrea Corallo <akrl@sdf.org>

    * src/comp.c (Fcomp__compile_ctxt_to_file): Don't cleanup caches at 
 src/comp.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/comp.c b/src/comp.c
index 5880224..71a36a6 100644
--- a/src/comp.c
+++ b/src/comp.c
@@ -4359,7 +4359,10 @@ DEFUN ("comp--compile-ctxt-to-file", 
                                   SSDATA (tmp_file));
-  CALL1I (comp-clean-up-stale-eln, file_name);
+  /* FIXME: this if workaround a cc-bytecomp compilation issue
+     appearing on the Docker build that must be investigated.  */
+  if (NILP (Fsymbol_value(intern_c_string ("byte-native-for-bootstrap"))))
+    CALL1I (comp-clean-up-stale-eln, file_name);
   CALL2I (comp-delete-or-replace-file, file_name, tmp_file);
   if (!noninteractive)

reply via email to

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