Thread (1 message) 1 message, 1 author, 2016-06-15

Re: Compiling git on Solaris. Recipe included.

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:53:47

Mark Ashley [off-list ref] writes:
I'm compiling git on Solaris 10 and 11 SPARC and X86 using the Sun Studio
12.x compilers.

git doesn't compile out of the box, there are (see below) lots of tweaks to
Thanks for an interest in Git, but I am somewhat dissapointed by your
message.  As our Makefiles strive to offer necessary knobs to tweak from
the command line for platform-specific glitches, from "Recipe included" on
the subject, I think people would have expected to see something like:

    gmake   VAR1=VAL1 \
            VAR2=VAL2 \
            VAR3=VAL3 ...

or perhaps:

    cat >config.mak <<-EOF
    VAR1=VAL1
    VAR2=VAL2
    ...
    EOF

and not a sequence of commands to rewrite files in-tree.

Other people have built git on Solaris but probably not many people have
done so recently.  The platform specific knobs in our Makefiles may have
to be extended to accomodate newer version of Solaris.  So the "Recipe"
may not be just the series of make variables, but needs a patch or two to
the Makefile to enhance the tweaks.

See 614dd90 (Makefile: SunOS 5.6 portability fix, 2010-05-14) for an
example of such a patch.

Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help