Displaying 20 results from an estimated 100 matches similar to: "[LLVMdev] [PATCH] utils/unittest: Consistency of gtest and gtest_main libs."
2016 Feb 09
2
D16945: LLVM overhaul to avoid linking LLVM component libraries with libLLVM
On Mon, Feb 8, 2016 at 12:45 PM, Hans Wennborg <hans at chromium.org> wrote:
> Chris Bieneman is probably your best bet, and maybe also Dan Liew.
>
Hans,
My current, and hopefully final, revision of the proposed patch
is simplified and reworked to solve the problem entirely from cmake
without touching the the llvm-build python scripts. Basically, the new
fix for avoiding the
2016 Feb 06
2
D16945: LLVM overhaul to avoid linking LLVM component libraries with libLLVM
Hans,
I have posted a complete patch for solving the linkage issues
with LLVM_LINK_LLVM_DYLIB on Phabricator at
http://reviews.llvm.org/D16945. The bulk of the fix the simple
changes of...
Index: cmake/modules/AddLLVM.cmake
===================================================================
--- cmake/modules/AddLLVM.cmake (revision 259743)
+++ cmake/modules/AddLLVM.cmake (working copy)
@@
2013 Jan 21
0
[LLVMdev] Embed LLVM/Clang in our project
On 1/21/2013 10:25 AM, Ashok Nalkund wrote:
> On 1/21/2013 2:01 AM, Óscar Fuentes wrote:
>> Ashok Nalkund <ashoknn at qti.qualcomm.com> writes:
>>
>>> I was using the find_package(LLVM llvm/share/llvm/cmake) and
>>> llvm_map_components_to_libraries(REQ_LLVM_LIBRARIES jit native) to get
>>> the libraries to link against. This works well for the
2013 Jan 22
0
[LLVMdev] Embed LLVM/Clang in our project
This is just standard behavior of the Python interpreter. The files
are just a cache (it is not the sources being modified) and also won't
be written if the source tree is made read only, and shouldn't cause a
problem in practice.
- Daniel
On Jan 22, 2013, at 0:02, Duncan Sands <baldrick at free.fr> wrote:
> I would have expected the .pyc files to go in the objects directory.
2020 Jun 07
3
Kill "KillTheDoctor"
We still have the program called "KillTheDoctor" [1] in our source
tree. Its original intention was to stop requiring user interaction
for crashing regression tests under Windows (infamous Dr. Watson,
nowadays "[program] has stopped working" [2]), I don't think it is
useful anymore. It's also a very hacky approach, as admitted in the
source comment itself ("I hate
2014 Aug 27
2
[LLVMdev] migrating from autoconf to cmake+ninja
I want to start using cmake+ninja instead of autoconf for configuring
and building llvm from svn, but I have no idea how to map my existing
list of autoconf flags to cmake.
Here's how I run ./configure right now in the top directory:
PREFIX=_some_prefix_dir_ \
../llvm/configure \
--prefix=$PREFIX \
--libdir=$PREFIX/lib/llvm \
--sysconfdir=$PREFIX/etc \
--enable-shared \
2013 Jan 21
4
[LLVMdev] Embed LLVM/Clang in our project
On 1/21/2013 2:01 AM, Óscar Fuentes wrote:
> Ashok Nalkund <ashoknn at qti.qualcomm.com> writes:
>
>> I was using the find_package(LLVM llvm/share/llvm/cmake) and
>> llvm_map_components_to_libraries(REQ_LLVM_LIBRARIES jit native) to get
>> the libraries to link against. This works well for the libLLVM*
>> libraries, but how do I implement similar find stuff for
2014 Jun 30
3
[LLVMdev] LLD dynamic compilation
On 30 June 2014 16:16, Shankar Easwaran <shankare at codeaurora.org> wrote:
> I think you are hitting a bug, the Observer pattern was added a few weeks
> back, and may be there is some sort of uninitialized variable ?
This is my back-trace at "-O2 -g" (since -O1 pass):
operator() (file=<optimized out>, __closure=0x7fffffffde40) at
2013 Jun 07
0
[LLVMdev] Build failure (tblgen crash) on Ubuntu
Hi all,
I'm building clang on Ubuntu LTS 12.04 and it started blowing up since
yesterday:
$ make update
svn update /home/csabaraduly/workspace/LLVM/llvm
At revision 183495.
At revision 183495.
At revision 183495.
At revision 183495.
$ make all VERBOSE=1
for dir in lib/Support lib/TableGen utils lib/IR lib tools/llvm-config
tools runtime docs unittests; do \
if ([ ! -f $dir/Makefile ] ||
2011 Oct 18
3
[LLVMdev] non-POD type with llvm-objdump
I'm so close to having LLVM build on PowerPC. If there's any PowerPC experts, help?
Lines like this:
outs() << "[" << format("%2d", i) << "]"
<< "(sec " << format("%2d", int16_t(symbol->SectionNumber)) << ")"
<< "(fl 0x" <<
2014 Sep 02
2
[LLVMdev] migrating from autoconf to cmake+ninja
On Wed, Aug 27, 2014 at 4:29 PM, Mueller-Roemer, Johannes Sebastian
<Johannes.Sebastian.Mueller-Roemer at igd.fraunhofer.de> wrote:
> prefix = CMAKE_INSTALL_PREFIX
> enabled-shared = BUILD_SHARED_LIBS
> targets = LLVM_TARGETS_TO_BUILD (defaults to all, or use a semicolon separated list)
> disable-assertions = LLVM_ENABLE_ASSERTIONS (obviously inverted ;)
>
> I don't
2018 Aug 01
2
LLJVM make error
That source file was removed from LLVM in r232397 on March 16, 2015.
It looks like lljvm hasn't been updated in a long time. LLVM's C++ APIs are not stable, so there is no expectation that a project built against LLVM's C++ API in 2015 would build or reasonably function against LLVM trunk.
The project probably works against LLVM 3.6.2 which was (I believe) the last LLVM release to
2017 Sep 25
1
GTest: Unit tests layout
Hello everyone,
Are there any reasons the unittests in LLVM repo are split into independent
executables, e.g. ADTTests, AnalysisTests, etc.
Are there any performance or easy-to-use reasons for this?
I plan to migrate to GTest from a project where we have all unittests in a
single executable.
- Paweł
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2012 Oct 13
0
[LLVMdev] Please rename modified gtest lib
Hi!
Since a time I had sporadic mysterious link errors in gtest. Now I found
the solution: llvm provides its own modified version of gtest but
generates lib files of the original names. Therefore please rename the
modified gtest libs for example to llvmgtest (libllvmgtest.a and
libllvmgtest_main.a)
Thanks,
-Jochen
2014 Jun 30
2
[LLVMdev] LLD dynamic compilation
Folks,
I'm having a look at LLD and I need some guidance...
I know it's not production ready for x86 and ARM (the idea is to make
it so). My steps:
I've added it to tools/lld and ran CMake again (on x86_64) on a
standard release build (static linking). It works, builds but I see
one unit test error:
Note: Google Test filter = InputGraphTest.Observer
[==========] Running 1 test from
2012 Jul 07
0
[LLVMdev] Problem in LLVM CMake modules
Eli Gottlieb <eligottlieb at gmail.com> writes:
> I'm trying to upgrade my LLVM bindings in Java from 2.9 to 3.1. To
> do so, I regenerated the JNI bindings from fresh LLVM 3.1 headers, and
> did a slight rewrite of my CMakeLists.txt file for building the C
> code.
>
> Problem is, cmake no longer finishes at all. I receive the
> following output, and then
2016 Mar 28
2
llvm build failed while Linking CXX shared library ../../../lib/libc++.so
Hi Dimitry,
I do not particularly need to build libc++ from the package. Is the name of
the package's libc++, libcxx, because this is where the installation starts
finding undefined references, during linking CXX shared library
../../../lib/libc++.so. Please check below the first part of the log when
the first error appear, I omited repeating results. Furthermore, the
undefined references are
2016 Mar 26
2
llvm build failed while Linking CXX shared library ../../../lib/libc++.so
Hello everybody,
I am very new to llvm and I am struggling to install it on my 15.10 Xubuntu
with kernel 4.2.0-34-generic #39-Ubuntu SMP x86_64 GNU/Linux.
I essentially intend to use the clang static analyzer, but it seems that I
have to build it on top of llvm and clang.
Unfortunately I run into the following problem.
CXX shared library ../../../lib/libc++.so
at around 52% of the procedure
2016 Mar 28
0
llvm build failed while Linking CXX shared library ../../../lib/libc++.so
Hi Ioannis,
Just delete the projects/libcxx directory, then rebuild from scratch. You should only need to checkout llvm (in the top level directory) and cfe (into the tools/clang subdirectory).
-Dimitry
> On 29 Mar 2016, at 00:08, Ioannis Koukoulis <i.g.koukoulis at gmail.com> wrote:
>
> Hi Dimitry,
>
> I do not particularly need to build libc++ from the package. Is the
2012 Jul 07
2
[LLVMdev] Problem in LLVM CMake modules
Hi again,
I'm trying to upgrade my LLVM bindings in Java from 2.9 to 3.1. To
do so, I regenerated the JNI bindings from fresh LLVM 3.1 headers, and
did a slight rewrite of my CMakeLists.txt file for building the C code.
Problem is, cmake no longer finishes at all. I receive the
following output, and then it just runs forever (while still responding
to a CTRL-C):
> eli at