unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Building Emacs (git head, pdumper, macos)
@ 2020-01-17 17:01 Daniel Pittman
  2020-01-17 19:00 ` Paul Eggert
  0 siblings, 1 reply; 4+ messages in thread
From: Daniel Pittman @ 2020-01-17 17:01 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 654 bytes --]

G'day.  I've run into a problem using multi-job make while building Emacs
on macos with the pdumper.  Seems like the dependency tree isn't complete
enough, so some lisp compilation jobs happen in parallel to dumping.

This breaks because the running emacs executable no longer matches the
pdump file.

My question here is:
* is using (GNU) make to build with more than one job supported?
* is there a known issue related to this?

(I have searched, and not found anything known, but perhaps I missed it.)

I'm happy to debug further and try for a patch, but I'd like to know that
I'm not doing it wrong™ by using a parallel build first.

[-- Attachment #2: Type: text/html, Size: 803 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Building Emacs (git head, pdumper, macos)
  2020-01-17 17:01 Building Emacs (git head, pdumper, macos) Daniel Pittman
@ 2020-01-17 19:00 ` Paul Eggert
  2020-01-21 17:18   ` Daniel Pittman
  0 siblings, 1 reply; 4+ messages in thread
From: Paul Eggert @ 2020-01-17 19:00 UTC (permalink / raw)
  To: Daniel Pittman; +Cc: emacs-devel

On 1/17/20 9:01 AM, Daniel Pittman wrote:
> * is using (GNU) make to build with more than one job supported?

We do support 'make -j', yes. However, I don't think we support multiple 
instances of 'make' running in different build directories while sharing 
the same source directory just checked out from git. This is because the 
build process in this case will update some source files, and the 
different instances of 'make' can step on each others' toes.

> * is there a known issue related to this?

Not that I know of.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Building Emacs (git head, pdumper, macos)
  2020-01-17 19:00 ` Paul Eggert
@ 2020-01-21 17:18   ` Daniel Pittman
  2020-01-21 17:22     ` Robert Pluim
  0 siblings, 1 reply; 4+ messages in thread
From: Daniel Pittman @ 2020-01-21 17:18 UTC (permalink / raw)
  To: Paul Eggert; +Cc: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 522 bytes --]

On Fri, Jan 17, 2020 at 2:00 PM Paul Eggert <eggert@cs.ucla.edu> wrote:

> On 1/17/20 9:01 AM, Daniel Pittman wrote:
> > * is using (GNU) make to build with more than one job supported?
>
> We do support 'make -j', yes. However, I don't think we support multiple
> instances of 'make' running in different build directories while sharing
> the same source directory just checked out from git.
>

Thanks.  If I can identify the root cause, I'll submit a patch, or at least
a detailed problem report.  Appreciate your time.

[-- Attachment #2: Type: text/html, Size: 849 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Building Emacs (git head, pdumper, macos)
  2020-01-21 17:18   ` Daniel Pittman
@ 2020-01-21 17:22     ` Robert Pluim
  0 siblings, 0 replies; 4+ messages in thread
From: Robert Pluim @ 2020-01-21 17:22 UTC (permalink / raw)
  To: Daniel Pittman; +Cc: Paul Eggert, emacs-devel

>>>>> On Tue, 21 Jan 2020 12:18:06 -0500, Daniel Pittman <slippycheeze@google.com> said:

    Daniel> On Fri, Jan 17, 2020 at 2:00 PM Paul Eggert <eggert@cs.ucla.edu> wrote:
    >> On 1/17/20 9:01 AM, Daniel Pittman wrote:
    >> > * is using (GNU) make to build with more than one job supported?
    >> 
    >> We do support 'make -j', yes. However, I don't think we support multiple
    >> instances of 'make' running in different build directories while sharing
    >> the same source directory just checked out from git.
    >> 

    Daniel> Thanks.  If I can identify the root cause, I'll submit a patch, or at least
    Daniel> a detailed problem report.  Appreciate your time.

FWIW, I sometimes see this as well on macOS, and I always build in the
source directory. Running 'make' again solves it.

Robert



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-01-21 17:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-17 17:01 Building Emacs (git head, pdumper, macos) Daniel Pittman
2020-01-17 19:00 ` Paul Eggert
2020-01-21 17:18   ` Daniel Pittman
2020-01-21 17:22     ` Robert Pluim

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).