Displaying 20 results from an estimated 500 matches similar to: "[LLVMdev] [PATCH] Add InstCombine to CMake."
2010 Feb 10
1
[LLVMdev] llvm in a subdirectory with cmake
Hi All,
The proposed patch makes possible to use LLVM's CMake build infrastructure
(most importantly add_llvm_library and add_llvm_executable macros) from the
project that has llvm in a subdirectory.
For example:
demo/
llvm/
demo.cpp
CMakeLists.txt
where CMakeLists.txt is as follows:
# ----------------------------- Start
of CMakeLists.txt
2020 Sep 27
3
How to add a new clang-tidy module
Hi, all,
I am planning to add clang-tidy checkers for my company. How to add a new module for my company? Please help, thanks in advance.
I try to copy files from cert module, and rename cert to Misra, then add a rule named "m-0-1-1" by ./add_new_checker.py.
then I run ninja check-clang-tool, but my case is failed due to below error
Running ['clang-tidy',
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
2018 Mar 26
0
Interest in integrating a linux perf JITEventListener?
Hi,
On 2017-02-01 23:20:40 -0800, Andres Freund wrote:
> > Can you give a pointer to the patch so that I can assess the rough
> > complexity? If it's simple enough, I'd be happy to help get it
> > reviewed and in. If it's more complicated, I probably won't have the
> > time to assist.
>
> Patch (and a prerequisite) attached. Took me a while to get
2008 Nov 14
0
[LLVMdev] bugs in CMake build
[I'm cc-ing the mailing list because there are some topics here of
general interest]
HyperQuantum <hyperquantum at gmail.com> writes:
>> CMAKE_SOURCE_DIR should be the same as LLVM_MAIN_SRC_DIR. If you know an
>> scenario where this is not true, please describe it.
>
> In my case it's not true. I have put LLVM in a subdirectory of my
> project
2019 Apr 18
3
Opt plugin linkage
The fundamental problem here is that opt doesn’t use ExecutionEngine (because it has no need to), so trying
to use ExecutionEngine (or any other bit of llvm that opt doesn’t use for that matter) in an opt plugin isn’t
going to work.
The solution I’d go with would be to build llvm with shared libraries (use –DBUILD_SHARED_LIBS=ON on the
cmake command) then link the plugin against ExecutionEngine.
2009 Oct 21
1
zfs acls and MS office applications
I'm trying to use zfs acls in solaris 10. I've looked at past posts
regarding this and some online help, but am stuck. I'm currently using
samba 3.3.9; I've had the same problem with 3.3.7. samba is compiled
and running as an Active Directory member server (compiled with ldap and
kerberos). The zfs disk is local. I'm not using winbind. I compiled
with zfsacl module.
2012 Jul 03
2
[LLVMdev] error with cmake build of llvm
Dear all,
I am trying to build the llvm with cmake and using the following checkouts.
LLVM version 3.2svn
clang version 3.2 (trunk 158320) (llvm/trunk 158308)
cmake runs with default configuration without any problem.
cmake ../llvm
-- Target triple: i686-pc-linux-gnu
-- Native target architecture is X86
-- Threads enabled.
-- Building with -fPIC
-- Constructing LLVMBuild project information
--
2008 Feb 28
0
Windows permissions and inheritance
Does anybody have experience of running Samba on a domain and getting
inherited file permissions on a Samba server to more closely match the
permissions you would see on a Windows 2000 box?
I'm trying to reproduce our departmental folders on a Samba box, running
on ZFS with NFSv4 ACL's, but I'm struggling to get inherited permissions
working properly when new files are created.
2013 Apr 01
1
[LLVMdev] llvm cmake broken or changed?
Hello Everyone
I have just pulled an updated llvm from svn. When I try to use cmake now on
llvm I have just started to get errors.
Anyone have any ideas?
I am using Windows 7 64 and cmake and ninja and mingw.
What appears to be the relevant part of the message is below:
...
-- Clang version: 3.3
CMake Error: File
c:/llvm/tools/clang/include/clang/Basic/Version.inc.indoes not exis
CMake Error at
2020 Nov 21
0
Cannot delete (empty) folder from Mac client
Hello.
A Mac client of mine has a problem deleting an empty folder from the
root of a Samba 4.12 server share, reporting a permission issue;
however, the more I look at it, the more I am convinced it should be
able to delete it.
smb.conf:
> [global]
> workgroup=XXXXXXXX
> realm=XXXXXXXX.local
> interfaces=em0
> hosts allow=192.168.XXX. 10.0.XXX.2
2016 Nov 30
1
slow directory access, convert_string_internal: Conversion error: Incomplete multibyte sequence
I think the issue may be related to the broken trusts. First of
all only two people had specifically reported issues which meant for
most people it was acceptable. Then I noticed that some directories
seemed slower than others.
If I ssh'd into the server and checked permissions, listing permissions
on most directories was quick (under 2 second.) On directories that
allowed
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)
@@
2011 Apr 24
0
[LLVMdev] Problem with compiling the runtime libary
Hi, Zhao
You can apply the attachment to LLVM 2.9 Release. It has been tested
on FreeBSD/x86.
Regards,
chenwj
--
Wei-Ren Chen (陳韋任)
Computer Systems Lab, Institute of Information Science,
Academia Sinica, Taiwan (R.O.C.)
Tel:886-2-2788-3799 #1667
-------------- next part --------------
diff -ruN llvm-2.9/CMakeLists.txt llvm-2.9.new/CMakeLists.txt
--- llvm-2.9/CMakeLists.txt 2011-03-02
2015 Oct 20
2
Cmake-gen'd parallel make breaks on native tablegen
Looks good to me!
I can commit this for you today.
Thanks!
-Chris
> On Oct 19, 2015, at 2:40 PM, Alex Wang via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> Looks like the LLVMSupport patch didn't get everything -- build failed in the
> same way on libLLVMTableGen. Problem/solution looked the same as for
> LLVMSupport, so just tweaked the previous patch, and
2009 Mar 30
0
multi-protocol (cifs/nfs) access to same files - help please
Hello,
New here, and I''m not sure if this is the correct mailing list to post this question or not.
Anyway, we are having some questions about multi-protocol (CIFS/NFS) access to the same files specifically when not using AD or LDAP.
Summary:
Accessing the same folder from CIFS or NFS when working in a workgroup configuration (no domain authentication) works fine using cifs user
2008 Jan 18
0
Can't write to share.
HI all,
Having fixed the group issues from solaris having a default max of 16
groups I can now locally create and delete files on the solaris box as a
domain user
However when accessed via samba I can not create new files/folders
(although I can delete the files I created when logged on locally)
I have created a temporary directory on a non zfs (non acl enabled) file
system to see if that
2011 Mar 09
1
[LLVMdev] Discrepancies between bin/llvm-config --libs and LLVM_LINK_COMPONENTS in CMake.
Hello. When i run
llvm-config --libs jit bitreader bitwriter ipo linker engine
i get:
-lLLVMX86Disassembler -lLLVMX86AsmParser -lLLVMX86CodeGen -lLLVMSelectionDAG
-lLLVMAsmPrinter -lLLVMMCParser -lLLVMX86AsmPrinter -lLLVMX86Utils
-lLLVMX86Info -lLLVMLinker -lLLVMArchive -lLLVMipo -lLLVMBitWriter
-lLLVMBitReader -lLLVMJIT -lLLVMExecutionEngine -lLLVMCodeGen
-lLLVMScalarOpts -lLLVMInstCombine
2012 May 14
0
[LLVMdev] MCJIT
On 5/14/2012 10:40 AM, Ashok Nalkund wrote:
>>
>> Hm. OK, that's odd. It should change which constructor gets called in EngineBuilder::create() (which is in lib/ExecutionEngine/ExecutionEngine.cpp). Are you perhaps calling setUseMCJIT(true) after having already called create()? Can you step through EngineBuilder::create() and see what's happening there?
>>
>> -Jim
2018 Jul 12
2
custom LLVM Pass with options fails to load
Hi Philip,
thanks for the quick answer.
That makes sense, but when leaving the set LLVM_LINK_COMPONENTS out
I get an undefined symbol when loading the plugin:
_ZTVN4llvm2cl3optINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb0ENS0_6parserIS7_EEEE
which boils down to
llvm::cl::opt<std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char>>,