search for: lobron

Displaying 6 results from an estimated 6 matches for "lobron".

Did you mean: dlobron
2015 Oct 20
4
Building llvm so it can be installed by other users
...anything that has been updated - we have a standard install root called "common" that lives one directory up from the build directory on our build machines. The tricky thing I'm running into is that all of the makefiles generated by cmake contain absolute paths, e.g., "/home/dlobron/build/clangport/akamai/llvm/llvm-3.7/llvm/include/llvm" I was wondering if it's possible to build llvm in such a way that all of these files contain relative paths. It would be perfect for me if the above line, and all other generated makefile paths, would read like this: "../comm...
2015 Sep 29
2
Building clang in llvm-3.7 on Linux with RT support enabled
...ke build -- cmake generates its own build files from CMakeLists.txt and runs those instead. Having the compiler-rt source in projects/compiler-rt should be enough to have its functionality built into clang when building with cmake. > > -Alex > >> On Sep 29, 2015, at 11:43 AM, David Lobron via llvm-dev <llvm-dev at lists.llvm.org> wrote: >> >> Hi All, >> >> I need to build clang/llvm from source on an Ubuntu Linux system, in order to build the gnustep Objective-C environment. I was able to build clang using cmake without a problem (following the instr...
2015 Sep 29
2
Building clang in llvm-3.7 on Linux with RT support enabled
...t_started.html), but when I tried to build gnustep, I found that clang failed to compile an autoconf-generated program. The compile error in the configure log was: configure:14781: checking for _Block_copy configure:14837: clang -o conftest -m64 -march=opteron -mno-3dnow -ggdb -O2 -Wall -I/home/dlobron/build/clangport/akamai/common/GNUstep/Local/Library/Headers -I/home/dlobron/build/clangport/akamai/common/GNUstep/Local/Library/Headers -I/home/dlobron/build/clangport/akamai/common/GNUstep/System/Library/Headers -fgnu-runtime -x objective-c -m64 -L/home/dlobron/build/clangport/akamai/common/GNUs...
2015 Sep 29
2
Building clang in llvm-3.7 on Linux with RT support enabled
> Unfortunately you’ll need to either modify the LLVM build system to build it, or you’ll need to build it yourself by hand. We don’t currently support building the blocks runtime. Thanks! I'm working on a modified build now. Out of curiosity: is cmake still the preferred way to build on Linux? You mentioned that the doc is out-of-date, so I thought perhaps there might be a newer way to
2015 Sep 29
2
Building clang in llvm-3.7 on Linux with RT support enabled
Hi Chris and Alex, Many thanks for these replies. > I dug a little deeper into the history here. It looks like the blocks runtime hasn’t built in the CMake build system in a long time, and I don’t think it has ever been supported in the autoconf system. > > Support for building it with CMake was removed in April 2012 along with the old CMake build system (r154059) because it was
2015 Oct 21
3
Building llvm so it can be installed by other users
...d be, e.g., /home/USERNAME/build/common/ So for example, clang would be installed to /home/USERNAME/build/common/bin. When I did my initial build, I set -DCMAKE_INSTALL_PREFIX to the "common" path above, but the Makefiles and cmake_makefiles that were generated have a full path (/home/dlobron/build/common), which of course is not portable to other users if they were to do a "make install". Is it possible to set DCMAKE_INSTALL_PREFIX (or another variable) such that I could package my install directory and another user could use it to install to their /home/OTHER-USERNAME/build...