search for: similarwith

Displaying 5 results from an estimated 5 matches for "similarwith".

Did you mean: similarity
2009 May 18
2
[LLVMdev] [PATCH] llvm-config: add svn revision to --version
...with #if, so we need it to produce something like '#define LLVM_REV 71981' (i.e. > a raw integer, not a string). > When we build Icedtea shark JIT we use the llvm-config version to make the icedtea code compatible with api changes in llvm. I belive you are trying to do something similarwith LDC. This can be done without changing the llvm codebase. I suggest the following: add to the LDC configure. LLVM_CFLAGS="$LLVM_CFLAGS -DLLVM_VERSION=`$LLVM_CONFIG --version | sed 's/\.//;s/svn.*//'`" this will take the llvm-config --version output and truncates the versionnum...
2009 May 18
0
[LLVMdev] [PATCH] llvm-config: add svn revision to --version
...t to produce something like '#define LLVM_REV 71981' (i.e. >> a raw integer, not a string). >> > When we build Icedtea shark JIT we use the llvm-config version to make > the icedtea code compatible with api changes in llvm. > I belive you are trying to do something similarwith LDC. This can be > done without changing the llvm codebase. > > I suggest the following: > add to the LDC configure. > > LLVM_CFLAGS="$LLVM_CFLAGS -DLLVM_VERSION=`$LLVM_CONFIG --version | sed 's/\.//;s/svn.*//'`" > > this will take the llvm-config --ver...
2009 May 18
0
[LLVMdev] [PATCH] llvm-config: add svn revision to --version
Benjamin Kramer wrote: > At the moment llvm-config outputs "2.6svn" if llvm is build from trunk > > $ llvm-config --version > 2.6svn > > Some external projects (built out-of-tree) need to know which revision > of llvm is installed. LDC currently asks llvm-config --src-root for the > source directory and then parses svn info's output to get the revision
2009 May 18
3
[LLVMdev] [PATCH] llvm-config: add svn revision to --version
...LLVM_REV 71981' (i.e. >>> a raw integer, not a string). >>> >>> >> When we build Icedtea shark JIT we use the llvm-config version to make >> the icedtea code compatible with api changes in llvm. >> I belive you are trying to do something similarwith LDC. This can be >> done without changing the llvm codebase. >> >> I suggest the following: >> add to the LDC configure. >> >> LLVM_CFLAGS="$LLVM_CFLAGS -DLLVM_VERSION=`$LLVM_CONFIG --version | sed 's/\.//;s/svn.*//'`" >> >> this wi...
2009 May 18
4
[LLVMdev] [PATCH] llvm-config: add svn revision to --version
At the moment llvm-config outputs "2.6svn" if llvm is build from trunk $ llvm-config --version 2.6svn Some external projects (built out-of-tree) need to know which revision of llvm is installed. LDC currently asks llvm-config --src-root for the source directory and then parses svn info's output to get the revision number. This requires the user to keep the llvm source tree