CyberShadow / Digger

A tool to build D and bisect old D versions
Other
57 stars 9 forks source link

--make-args=-j8 make build fail #27

Closed MarisaLovesUsAll closed 9 years ago

MarisaLovesUsAll commented 9 years ago

Can't build with -j8 flag. Here's log:

Microsoft Windows [Version 6.1.7601]

D:\WINDOWS7\TemporaryFiles (by Tenco)\dmd-2.067\digger\Digger>digger build --mak
e-args=-j8 --model=64 2.067
digger: Building spec: 2.067
digger: Updating repo...
Fetching origin
digger: Starting at meta repository commit 0e7e8b959b70f49e7cda75d359132a133ed39
a07
digger: Building components dmd, druntime, phobos-includes, phobos, rdmd
digger: needInstalled: dmd-59cc84cbacca3f126248d1af7142cce88379f729-33ba4fb7f9ea
3f1daa8d468671222772
digger: Clearing temporary cache
digger: Cache miss.
digger: needBuild: dmd-59cc84cbacca3f126248d1af7142cce88379f729-33ba4fb7f9ea3f1d
aa8d468671222772
digger: Cleaning repository dmd...
HEAD is now at 59cc84c Merge pull request #4541 from yebblies/maketarget-2.057
digger: Building dmd-59cc84cbacca3f126248d1af7142cce88379f729-33ba4fb7f9ea3f1daa
8d468671222772
digger: Preparing DigitalMars C++
digger: DMC=D:\WINDOWS7\TemporaryFiles (by Tenco)\dmd-2.067\digger\Digger\dl\dm\
bin
digger: Preparing Visual C++
digger: Running: "make" -f win32.mak ^"MODEL=64^" HOST_DC= ^"-j8^" dmd
digger: PATH=D:\WINDOWS7\TemporaryFiles (by Tenco)\dmd-2.067\digger\Digger\dl\dm
\bin;C:\Windows\system32;C:\Windows;D:\WINDOWS7\TemporaryFiles (by Tenco)\dmd-2.
067\digger\Digger\dl\vs2013-community\windows\system32;D:\WINDOWS7\TemporaryFile
s (by Tenco)\dmd-2.067\digger\Digger\dl\vs2013-community\Program Files (x86)\Mic
rosoft Visual Studio 12.0\VC\bin;D:\WINDOWS7\TemporaryFiles (by Tenco)\dmd-2.067
\digger\Digger\dl\vs2013-community\Program Files (x86)\MSBuild\12.0\Bin
Digital Mars Make Version 5.06
Copyright (C) Digital Mars 1985-2012.  All Rights Reserved.
Written by Walter Bright  digitalmars.com
Documentation: http://www.digitalmars.com/ctg/make.html

        MAKE [-man] {target} {macro=text} {-dilnqst} [-fmakefile] {@file}

@file   Get command args from environment or file
target  What targets to make        macro=text  Define macro to be text
-d      Output debugging info       -ffile      Use file instead of makefile
-f-     Read makefile from stdin    -i  Ignore errors from executing make rules
-l      List macro expansions       -n  Just echo rules that would be executed
-q      If rules would be executed  -s  Do not echo make rules
        then exit with errorlevel 1 -t  Just touch files
-man    manual

Predefined macros:
        $$      Expand to $
        $@      Full target name
        $?      List of dependencies that are newer than target
        $**     Full list of dependencies
        $*      Name of current target without extension
        $<      From name of current target, if made using an implicit rule
Rule flags:
        +       Force use of COMMAND.COM to execute rule
        -       Ignore exit status
        @       Do not echo rule
        *       Can handle environment response files
        ~       Force use of environment response file
Command error: undefined switch '-j8'
digger: Not caching build failure due to temporary/environment error.
Fatal error: Command ["make", "-f", "win32.mak", "MODEL=64", "HOST_DC=", "-j8",
"dmd"] failed with status 1
CyberShadow commented 9 years ago

DigitalMars make does not support the -j flag. As such, you can only use it on POSIX platforms.