Error building on Windows - missing llvm-config.exe

902 views
Skip to first unread message

Westley Hennigh

unread,
Sep 17, 2013, 2:08:26 PM9/17/13
to julia...@googlegroups.com
We're trying to build natively on windows and we keep getting stuck with an error "missing llvm-config.exe" (after-which everything goes wrong because llvm is missing).

According to http://lists.cs.uiuc.edu/pipermail/llvmdev/2012-May/050164.html llvm-config.exe is not compiled on windows because it would be missing dependencies. So perhaps it's misreading our environment (windows 8)... but we've tried setting "BUILD_OS=WINNT", so it's not quite that simple.

Any help would be greatly appreciated!


Elliot Saba

unread,
Sep 17, 2013, 2:23:19 PM9/17/13
to julia...@googlegroups.com
We use llvm-config throughout the build process, but mostly to get stuff like paths, cflags, etc...

I think the best solution is probably to get llvm-config to build on your system.  Did you try installing a copy of `sed` and seeing if it "just works" and builds llvm-config for you?

Jameson Nash

unread,
Sep 17, 2013, 6:52:05 PM9/17/13
to julia...@googlegroups.com
Oh the confusion! We don't build LLVM on windows, we build it on msys using the mingw cross-compiler for windows. So sed exists and llvm-config builds without needing anything unusual. Can you see what exists in `head llvm-3.3/build_Release/config.log` and `ls usr/bin`? Or maybe this is a duplicate of #4294

Westley Hennigh

unread,
Sep 17, 2013, 7:28:00 PM9/17/13
to julia...@googlegroups.com
Not a duplicate, same issue. We've wiped the build and we're trying again, we'll get back to you about the contents of `llvm-3.3/build_Release/config.log` and `usr/bin`

WANG

unread,
Sep 17, 2013, 10:46:58 PM9/17/13
to julia...@googlegroups.com
I'm on win8.1 64bit, I can build successfully by following README.windows.md . 

I saw that some people saying msys2 is better than msys in building julia, However, I always meet errors when using msys2.
Seems I have to bear with low-efficiency msys

在 2013年9月18日星期三UTC+8上午2时08分26秒,Westley Hennigh写道:

Kurt Franke

unread,
Sep 18, 2013, 1:06:19 PM9/18/13
to julia...@googlegroups.com
I built successfully on win7, 64 bit, following the same README...
Reply all
Reply to author
Forward
0 new messages