[RFC] Fix Zero and Shark builds
Mike Duigou
mike.duigou at oracle.com
Fri Feb 15 12:27:36 PST 2013
This comment isn't specific to Zero/Shark but should be best practices for all platform ports.
Would it be possible to conditionally write the additional definitions to spec.gmk only if building Shark or Zero? I would rather that platform specific definitions be absent rather than empty for builds that they don't apply to.
Mike
On Feb 13 2013, at 09:21 , Roman Kennke wrote:
> First of all, let me tell you how great the new build machinery is: IT
> ROCKS! Thanks for doing this!
>
> These changes introduce the necessary configure- and make-foo to make
> Zero and Shark builds work with the build-infra machinery. With this,
> Zero and Shark builds are as easy as:
>
> bash configure --with-jvm-variants=zero[shark]
> make
>
> it will check for existence of libffi and llvm, and use pkg-config and
> llvm-config to figure out all required variables. This is basically
> adopted from jdk/make/jdk_generic_profile.sh, and now integrated into
> the build.
>
> This only contains the source files, not the regenerated configure
> scripts:
>
> http://cr.openjdk.java.net/~rkennke/zero-build-infra/webrev.00/
>
> Which brings up an interesting question (not sure if that has been
> discussed before). Who is responsible to regenerating the configure
> scripts after a change in the sources? Variances between versions of
> autotools will like create a mess in the diffs and probably unforeseen
> hiccups.
>
> Also, a small change was required to be able to build images:
>
> http://cr.openjdk.java.net/~rkennke/zero-build-infra-jdk/webrev.01/
>
> Opinions? Can I have a bug-ID? Can I push this?
>
> Best regards,
> Roman
>
>
More information about the build-infra-dev
mailing list