test_gamma on osx

Nils Loodin nils.loodin at oracle.com
Wed May 9 06:38:05 PDT 2012


Highly Ironic!

/Nisse

On May 9, 2012, at 14:41 , 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