Displaying 18 results from an estimated 18 matches for "llvm_checkout".
2013 May 29
0
[LLVMdev] compiler-rt tests in cmake?
> Android runtime is special, we build it in a separate build tree
configured with
> -DCMAKE_TOOLCHAIN_FILE=$LLVM_CHECKOUT/cmake/platforms/Android.cmake
This worked great, thanks! Would you mind tweaking Android.cmake so that I
can override the location of the C compiler? The current version forces me
to use the just-built-clang and that the new build directory be in a
sibling directory. But as you mentioned, we ca...
2013 May 28
4
[LLVMdev] compiler-rt tests in cmake?
...ld instructions to build the Android shared
>> object?
>> > Is there any way to build an android static lib? How about for
>> arm-linux?
>>
>> Android runtime is special, we build it in a separate build tree
>> configured with
>> -DCMAKE_TOOLCHAIN_FILE=$LLVM_CHECKOUT/cmake/platforms/Android.cmake
>> See buildbot_cmake.sh for details.
>>
>> >
>> > Thanks,
>> > Greg
>> >
>> >
>> > diff --git a/lib/interception/interception.h
>> > b/lib/interception/interception.h
>> > index d50af3...
2012 May 31
3
[LLVMdev] Using LLVM code in projects/compiler-rt
...see two obstacles:
1) How can I include LLVM headers in source files inside
projects/compiler-rt?
As a local workaround, I modify configuration for ASan/TSan runtimes as
follows:
CFLAGS.asan-x86_64 := $(CFLAGS) -I$(PathToLLVMInclude)
-I$(PathToLLVMBuildInclude)
Note that I need both "/path/to/llvm_checkout/include" and
"/path/to/llvm_build/include", because some LLVM headers are generated when
LLVM is built (e.g. "llvm/Support/DataTypes.h"). This looks very broken, as
paths are hardcoded, and LLVM headers are
not included in dependencies for ASan/TSan runtime.
2) How can I u...
2017 Nov 27
2
Go Tsan check failure
...s/compiler-rt/lib/tsan/CMakeFiles/GotsanRuntimeCheck
cd ~/wk/LLVM/llvm/projects/compiler-rt/lib/tsan/go && env
"CC=/usr/bin/cc " IN_TMPDIR=1 SILENT=1
~/wk/LLVM/llvm/projects/compiler-rt/lib/tsan/go/buildgo.sh
[3/4] cd ~/wk/LLVM/build_release/projects/compiler-rt/lib && env
LLVM_CHECKOUT=~/wk/LLVM/llvm SILENT=1 TMPDIR=
PYTHON_EXECUTABLE=/usr/bin/python2.7
COMPILER_RT=~/wk/LLVM/llvm/projects/compiler-rt
~/wk/LLVM/llvm/projects/compiler-rt/lib/sanitizer_common/scripts/check_lint.sh
ninja: build stopped: subcommand failed.
Even ninja -v resulted in SILENT=1 being passed to buildgo.sh...
2017 Nov 28
2
Go Tsan check failure
...meCheck
>> cd ~/wk/LLVM/llvm/projects/compiler-rt/lib/tsan/go && env
>> "CC=/usr/bin/cc " IN_TMPDIR=1 SILENT=1
>> ~/wk/LLVM/llvm/projects/compiler-rt/lib/tsan/go/buildgo.sh
>> [3/4] cd ~/wk/LLVM/build_release/projects/compiler-rt/lib && env
>> LLVM_CHECKOUT=~/wk/LLVM/llvm SILENT=1 TMPDIR=
>> PYTHON_EXECUTABLE=/usr/bin/python2.7
>> COMPILER_RT=~/wk/LLVM/llvm/projects/compiler-rt
>>
>> ~/wk/LLVM/llvm/projects/compiler-rt/lib/sanitizer_common/scripts/check_lint.sh
>> ninja: build stopped: subcommand failed.
>>
>>...
2013 May 25
2
[LLVMdev] compiler-rt tests in cmake?
...hope to change that soon.
>
> And lastly, are there build instructions to build the Android shared object?
> Is there any way to build an android static lib? How about for arm-linux?
Android runtime is special, we build it in a separate build tree configured with
-DCMAKE_TOOLCHAIN_FILE=$LLVM_CHECKOUT/cmake/platforms/Android.cmake
See buildbot_cmake.sh for details.
>
> Thanks,
> Greg
>
>
> diff --git a/lib/interception/interception.h
> b/lib/interception/interception.h
> index d50af35..1771d4e 100644
> --- a/lib/interception/interception.h
> +++ b/lib/interception/...
2013 May 27
0
[LLVMdev] compiler-rt tests in cmake?
...t; And lastly, are there build instructions to build the Android shared
> object?
> > Is there any way to build an android static lib? How about for
> arm-linux?
>
> Android runtime is special, we build it in a separate build tree
> configured with
> -DCMAKE_TOOLCHAIN_FILE=$LLVM_CHECKOUT/cmake/platforms/Android.cmake
> See buildbot_cmake.sh for details.
>
> >
> > Thanks,
> > Greg
> >
> >
> > diff --git a/lib/interception/interception.h
> > b/lib/interception/interception.h
> > index d50af35..1771d4e 100644
> > --- a/lib/in...
2017 Nov 28
1
Go Tsan check failure
...vm/projects/compiler-rt/lib/tsan/go && env
>>>> "CC=/usr/bin/cc " IN_TMPDIR=1 SILENT=1
>>>> ~/wk/LLVM/llvm/projects/compiler-rt/lib/tsan/go/buildgo.sh
>>>> [3/4] cd ~/wk/LLVM/build_release/projects/compiler-rt/lib && env
>>>> LLVM_CHECKOUT=~/wk/LLVM/llvm SILENT=1 TMPDIR=
>>>> PYTHON_EXECUTABLE=/usr/bin/python2.7
>>>> COMPILER_RT=~/wk/LLVM/llvm/projects/compiler-rt
>>>>
>>>> ~/wk/LLVM/llvm/projects/compiler-rt/lib/sanitizer_common/scripts/check_lint.sh
>>>> ninja: build stopp...
2013 May 29
0
[LLVMdev] compiler-rt tests in cmake?
...Android shared
>>> object?
>>> > Is there any way to build an android static lib? How about for
>>> arm-linux?
>>>
>>> Android runtime is special, we build it in a separate build tree
>>> configured with
>>> -DCMAKE_TOOLCHAIN_FILE=$LLVM_CHECKOUT/cmake/platforms/Android.cmake
>>> See buildbot_cmake.sh for details.
>>>
>>> >
>>> > Thanks,
>>> > Greg
>>> >
>>> >
>>> > diff --git a/lib/interception/interception.h
>>> > b/lib/interception/inter...
2013 May 29
2
[LLVMdev] compiler-rt tests in cmake?
...tructions to build the Android shared object?
>>>> > Is there any way to build an android static lib? How about for arm-linux?
>>>>
>>>> Android runtime is special, we build it in a separate build tree configured with
>>>> -DCMAKE_TOOLCHAIN_FILE=$LLVM_CHECKOUT/cmake/platforms/Android.cmake
>>>> See buildbot_cmake.sh for details.
>>>>
>>>> >
>>>> > Thanks,
>>>> > Greg
>>>> >
>>>> >
>>>> > diff --git a/lib/interception/interception.h
>>&...
2013 May 29
4
[LLVMdev] compiler-rt tests in cmake?
...;>> > Is there any way to build an android static lib? How about for
>>>>> arm-linux?
>>>>>
>>>>> Android runtime is special, we build it in a separate build tree
>>>>> configured with
>>>>> -DCMAKE_TOOLCHAIN_FILE=$LLVM_CHECKOUT/cmake/platforms/Android.cmake
>>>>> See buildbot_cmake.sh for details.
>>>>>
>>>>> >
>>>>> > Thanks,
>>>>> > Greg
>>>>> >
>>>>> >
>>>>> > diff --git a/lib/interc...
2013 May 29
0
[LLVMdev] compiler-rt tests in cmake?
...> object?
>>>> > Is there any way to build an android static lib? How about for
>>>> arm-linux?
>>>>
>>>> Android runtime is special, we build it in a separate build tree
>>>> configured with
>>>> -DCMAKE_TOOLCHAIN_FILE=$LLVM_CHECKOUT/cmake/platforms/Android.cmake
>>>> See buildbot_cmake.sh for details.
>>>>
>>>> >
>>>> > Thanks,
>>>> > Greg
>>>> >
>>>> >
>>>> > diff --git a/lib/interception/interception.h
>>&g...
2013 May 30
0
[LLVMdev] compiler-rt tests in cmake?
...ere any way to build an android static lib? How about for
>>>>>> arm-linux?
>>>>>>
>>>>>> Android runtime is special, we build it in a separate build tree
>>>>>> configured with
>>>>>> -DCMAKE_TOOLCHAIN_FILE=$LLVM_CHECKOUT/cmake/platforms/Android.cmake
>>>>>> See buildbot_cmake.sh for details.
>>>>>>
>>>>>> >
>>>>>> > Thanks,
>>>>>> > Greg
>>>>>> >
>>>>>> >
>>>>>&...
2013 May 25
0
[LLVMdev] compiler-rt tests in cmake?
When I build compiler-rt with clang 3.2, all lsan tests pass. The only
failing tests I see are in ubsan:
Failing Tests (6):
UndefinedBehaviorSanitizer :: Float/cast-overflow.cpp
UndefinedBehaviorSanitizer :: Integer/add-overflow.cpp
UndefinedBehaviorSanitizer :: Integer/div-zero.cpp
UndefinedBehaviorSanitizer :: Integer/sub-overflow.cpp
UndefinedBehaviorSanitizer ::
2013 May 24
2
[LLVMdev] compiler-rt tests in cmake?
I blame this line in lsan/lit_tests/lit.cfg:
# Setup attributes common for all compiler-rt projects.
compiler_rt_lit_cfg = os.path.join(llvm_src_root, "projects",
"compiler-rt",
"lib", "lit.common.cfg")
On Fri, May 24, 2013 at 2:53 PM, Alexey Samsonov <samsonov at google.com>wrote:
>
> On Fri, May 24,
2013 May 30
2
[LLVMdev] compiler-rt tests in cmake?
...ndroid static lib? How about for
>>>>>>> > arm-linux?
>>>>>>>
>>>>>>> Android runtime is special, we build it in a separate build tree
>>>>>>> configured with
>>>>>>> -DCMAKE_TOOLCHAIN_FILE=$LLVM_CHECKOUT/cmake/platforms/Android.cmake
>>>>>>> See buildbot_cmake.sh for details.
>>>>>>>
>>>>>>> >
>>>>>>> > Thanks,
>>>>>>> > Greg
>>>>>>> >
>>>>>>>...
2013 May 30
0
[LLVMdev] compiler-rt tests in cmake?
...bout for
> >>>>>>> > arm-linux?
> >>>>>>>
> >>>>>>> Android runtime is special, we build it in a separate build tree
> >>>>>>> configured with
> >>>>>>> -DCMAKE_TOOLCHAIN_FILE=$LLVM_CHECKOUT/cmake/platforms/Android.cmake
> >>>>>>> See buildbot_cmake.sh for details.
> >>>>>>>
> >>>>>>> >
> >>>>>>> > Thanks,
> >>>>>>> > Greg
> >>>>>>> &g...
2013 May 30
5
[LLVMdev] compiler-rt tests in cmake?
...nux?
>> >>>>>>>
>> >>>>>>> Android runtime is special, we build it in a separate build tree
>> >>>>>>> configured with
>> >>>>>>>
>> >>>>>>> -DCMAKE_TOOLCHAIN_FILE=$LLVM_CHECKOUT/cmake/platforms/Android.cmake
>> >>>>>>> See buildbot_cmake.sh for details.
>> >>>>>>>
>> >>>>>>> >
>> >>>>>>> > Thanks,
>> >>>>>>> > Greg
>> >>...