test_gamma on osx

David Holmes david.holmes at oracle.com
Wed May 9 05:48:27 PDT 2012


Nils,

The code you want to remove seems to have been added by:

7125793: MAC: test_gamma should always work

the purpose of which was to make test_gamma work.

http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/e8a4934564b2

David
-----

On 9/05/2012 10:41 PM, Nils Loodin wrote:
> I cannot get test_gamma to work at all without this patch, which means that I can't get the build to work since it halts on test_gamma.
> DYLD_LIBRARY_PATY seems directly copied from LD_LIBRARY_PATH on linux, and references a lot of dirs not present on osx.
>
> Will you consider this for inclusion? It really would help my workflow on osx :)
>
>
> Regards,
> Nils Loodin
>
> diff --git a/make/bsd/makefiles/buildtree.make b/make/bsd/makefiles/buildtree.make
> --- a/make/bsd/makefiles/buildtree.make
> +++ b/make/bsd/makefiles/buildtree.make
> @@ -471,11 +471,6 @@
>   	echo "unset LD_LIBRARY_PATH_32"; \
>   	echo "unset LD_LIBRARY_PATH_64"; \
>   	echo ""; \
> -	echo "if [ \"$(OS_VENDOR)\" = \"Darwin\" ]; then "; \
> -	echo "  DYLD_LIBRARY_PATH=.:$${DYLD_LIBRARY_PATH:+$$DYLD_LIBRARY_PATH:}\$${JAVA_HOME}/jre/lib/native_threads:\$${JAVA_HOME}/jre/lib:$${DYLD_LIBRARY_PATH:+$$DYLD_LIBRARY_PATH:}\$${JAVA_HOME}/jre/lib/${LIBARCH}/native_threads:\$${JAVA_HOME}/jre/lib/${LIBARCH}:${GCC_LIB}"; \
> -	echo "  export DYLD_LIBRARY_PATH"; \
> -	echo "fi"; \
> -	echo ""; \
>   	echo "# Use the gamma launcher and JAVA_HOME to run the test"; \
>   	echo ""; \
>   	echo "./\$${GAMMA_PROG} $(TESTFLAGS) Queens<  /dev/null"; \
>
>



More information about the build-infra-dev mailing list