Skip to content

Instantly share code, notes, and snippets.

@adam-singer
Created August 11, 2014 19:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adam-singer/fba2c03b87da9794d5e6 to your computer and use it in GitHub Desktop.
Save adam-singer/fba2c03b87da9794d5e6 to your computer and use it in GitHub Desktop.
Building graal + truffle on osx 10.9.4 with xcode 5.1.1
hg clone http://hg.openjdk.java.net/graal/graal
cd graal
# http://mail.openjdk.java.net/pipermail/graal-dev/2013-December/001255.html
# uncomment if xm barks about not finding 1.7.
# export EXTRA_JAVA_HOMES=/Library/Java/JavaVirtualMachines/jdk1.7.0_67.jdk/Contents/Home
export DEFAULT_VM=server
export COMPILER_WARNINGS_FATAL=false
export USE_CLANG=true
export LFLAGS="-Xlinker -lstdc++"
export USE_PRECOMPILED_HEADER=0
./mx.sh --vm server --vmbuild product build
# ./mx.sh --vm server build
./mx.sh ideinit
./mx.sh --vm server unittest SumTest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment