search for: find_library

Displaying 19 results from an estimated 19 matches for "find_library".

2012 Jun 24
2
[LLVMdev] [PATCH] cindex.py using find_library
Hello all, Is there a reason why the library location code in cindex py does not use find_library() to locate libclang, like in the attached patch? Without it there were problems locating a versioned libclang.so.1 file on Debian, for example. Cheers, Mihai -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/...
2012 Jun 25
0
[LLVMdev] [PATCH] cindex.py using find_library
On 06/25/2012 12:50 AM, Mihai Basa wrote: > Hello all, > > Is there a reason why the library location code in cindex py does not > use find_library() to locate libclang, like in the attached patch? > > Without it there were problems locating a versioned libclang.so.1 file > on Debian, for example. Hi Mihai, as this is a clang related question, I move your mail to the clang mailing list. To your patch: > --- cindex_o.py 2012-06-...
2006 May 22
2
good practice or waste of time?
...te pieces and use a before_filter to require the session to be that of a logged in user. So far, so good. Here''s where things (finally) get interesting. When my controller needs to edit an item, I typically do this: def find_user @user = User.find_by_login(session[:user]) end def find_library find_user @library = @user.library end def edit_item find_library @item = @user.library.items.find(params[:id]) <--- necessary? # other processing end It''s that second line in my #edit_item action that I''m curious about. It works just fine if I do: def edit_...
2015 Jun 23
2
[LLVMdev] [cfe-dev] LLVM 3.7 release plans
...no sense to still use it > for releases. I have mixed opinions on it. For the 32-bit Mips packages I normally do it's definitely a good thing (it allows me to ship sanitizers for one). However, I'm hoping to do Mips64 packages too and I recently discovered cmake problems with Mips64 and find_library(). I don't think this should stop everyone switching over to cmake but it would be good to retain the option of autoconf for a bit longer. > 2. Check that the things you want to build are actually build. The > script checks out everything (including dragonegg and libc++), but my > fin...
2020 Oct 08
2
Re: Building libvirt library without libvirtd or virsh
...o I'll post patches to fix them. The last part I have to ask what do you mean by "without dynamic lib dependencies"? If you mean that libvirt.so should be statically linked that is not currently possible. We would have to add option to make it possible and update all dependency() and find_library() calls in all meson.build files to look only for static libraries. In addition I think we should add build options which would allow users to disable tests, documentation, examples and other bits that end-users don't have to use. Pavel
2015 Jul 29
2
[LLVMdev] [RFC] July Update: Progress report on CMake build system's ability to replace autoconf
...fixed. Blocking Issues: * Bug 14109 - CMake build for compiler-rt should use just-built clang * Bug 14200 - -fno-rtti not in cxxflags given by llvm-config * Bug 21562 - Add a CMake equivalent for make/platform/clang_darwin.mk in compiler_rt * Bug 21568 - Cannot add rpath * Bug 23947 - CMake+Mips: find_library() doesn't work correctly when recursing 64-bit (both N32 and N64 ABI's) compiler on Debian Jessie Non-Blocking Issues: * Bug 19875 - libraries and executables need different rpaths * Bug 22466 - cmake build should provide way to run tablegen with no arguments * Bug 23746 - test-suite lacks...
2020 Oct 08
0
Re: Building libvirt library without libvirtd or virsh
...download the patches? The last part I have to ask what do you mean by "without dynamic lib > dependencies"? If you mean that libvirt.so should be statically linked > that is not currently possible. We would have to add option to make it > possible and update all dependency() and find_library() calls in all > meson.build files to look only for static libraries. > Uh, I wonder what the meson option default_library shared > [shared, static, both] > is for? In addition I think we should add build options which would allow users > to disable...
2015 Oct 27
6
[RFC] Late October Update: Progress report on CMake build system's ability to replace autoconf
...ll non-blocking issues are still serious bugs that need to be fixed. Blocking Issues: * Bug 14200 - -fno-rtti not in cxxflags given by llvm-config (Patches out for review http://reviews.llvm.org/D11849 <http://reviews.llvm.org/D11849>) * Bug 21568 - Cannot add rpath * Bug 23947 - CMake+Mips: find_library() doesn't work correctly when recursing 64-bit (both N32 and N64 ABI's) compiler on Debian Jessie * Bug 25059 - CMake libllvm.so.$MAJOR.$MINOR shared object name not compatible with ldconfig (Two conflicting approaches are proposed to fix this in http://reviews.llvm.org/D13841 <http://re...
2010 Jun 15
11
mysql gem install not happening on Mac OS Leopard - any inputs at all??
Hello all, Ive got Mac OS X Leopard (10.5.8), ruby 1.8.6 (2009-06-08 patchlevel 369) [universal-darwin9.0] and mysql 5.0.67 installed and working fine with Rails 2.1.0. "which ruby" outputs /usr/bin/ruby. I can see the mysql symlink in / usr/local/mysql. I can also see the mysql-5.0.67-osx10.5-x86 folder in /usr/local . Im trying to upgrade my Rails apps to 2.3.5 but when i try to
2015 Jul 29
0
[LLVMdev] [RFC] July Update: Progress report on CMake build system's ability to replace autoconf
...* Bug 14109 - CMake build for compiler-rt should use just-built clang > * Bug 14200 - -fno-rtti not in cxxflags given by llvm-config > * Bug 21562 - Add a CMake equivalent for make/platform/clang_darwin.mk in > compiler_rt > * Bug 21568 - Cannot add rpath > * Bug 23947 - CMake+Mips: find_library() doesn't work correctly when > recursing 64-bit (both N32 and N64 ABI's) compiler on Debian Jessie > > Non-Blocking Issues: > * Bug 19875 - libraries and executables need different rpaths > * Bug 22466 - cmake build should provide way to run tablegen with no > arguments &...
2015 Jul 30
1
[LLVMdev] [RFC] July Update: Progress report on CMake build system's ability to replace autoconf
...for compiler-rt should use just-built clang > * Bug 14200 - -fno-rtti not in cxxflags given by llvm-config > * Bug 21562 - Add a CMake equivalent for make/platform/clang_darwin.mk <http://clang_darwin.mk/> in compiler_rt > * Bug 21568 - Cannot add rpath > * Bug 23947 - CMake+Mips: find_library() doesn't work correctly when recursing 64-bit (both N32 and N64 ABI's) compiler on Debian Jessie > > Non-Blocking Issues: > * Bug 19875 - libraries and executables need different rpaths > * Bug 22466 - cmake build should provide way to run tablegen with no arguments > * Bug...
2017 May 29
0
[PATCH] Add CMake build script
...FIXED_POINT" OFF) +set(BFIN_ASM ${ENABLE_BLACKFIN_ASM}) +cmake_dependent_option(ENABLE_TI_C55X "Enable support for TI C55X DSP" OFF "NOT CPU_IS_X86" OFF) +set(TI_C55X ${ENABLE_TI_C55X}) + +if(NOT WIN32) + check_library_exists(m cos "" HAVE_LIBM) + if(HAVE_LIBM) + find_library(LIBM m) + endif() +endif() + +if(MSVC) + add_definitions(-D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_DEPRECATE) +endif(MSVC) + +find_package(Ogg) +find_package(SpeexDsp) + +cmake_dependent_option(USE_SPEEXDSP "Enable SpeexDSP library" ON "SpeexDsp_FOUND" OFF) +cmake_dependent_op...
2015 Jun 23
2
[LLVMdev] LLVM 3.7 release plan and call for testers
Daniel, Note the openmp library only has cmake build machinery preventing autoconf-based builds. Jack On Tue, Jun 23, 2015 at 10:18 AM, Daniel Sanders <Daniel.Sanders at imgtec.com> wrote: > Hi, > > I'll do Mips as usual. Are we going to do an autoconf-based build for LLVM 3.7? If so, I might try Mips64 packages too. > >> -----Original
2016 Feb 09
2
D16945: LLVM overhaul to avoid linking LLVM component libraries with libLLVM
...@ -32,9 +32,15 @@ add_definitions( -DGTEST_HAS_PTHREAD=0 ) endif() -set(LIBS - LLVMSupport # Depends on llvm::raw_ostream -) +if (LLVM_LINK_LLVM_DYLIB) + set(LIBS + LLVM # Depends on llvm::raw_ostream + ) +else() + set(LIBS + LLVMSupport # Depends on llvm::raw_ostream + ) +endif() find_library(PTHREAD_LIBRARY_PATH pthread) if (PTHREAD_LIBRARY_PATH) Index: utils/unittest/UnitTestMain/CMakeLists.txt =================================================================== --- utils/unittest/UnitTestMain/CMakeLists.txt (revision 260200) +++ utils/unittest/UnitTestMain/CMakeLists.txt (working c...
2020 Sep 03
0
Re: libvirt 6.7 meson.build error
...bug in meson.build at the quoted line devmapper_version = '1.0.0' devmapper_dep = dependency('devmapper', version: '>=' + devmapper_version, required: false) if not devmapper_dep.found() # devmapper is missing pkg-config files in ubuntu, suse, etc devmapper_dep = cc.find_library('devmapper', required: false) if devmapper_dep.found() and not cc.has_function('dm_task_run', dependencies: tmp) devmapper_dep = dependency('', required: false) endif endif it is indeed referencing a "tmp" variable that doesn't exist. What OS distro a...
2018 Mar 23
0
check_include_file not respecting CMAKE_PREFIX_PATH
...ndy/misc/bootstrap/llvm-6.0.0.src -DCMAKE_PREFIX_PATH=/home/andy/misc/bootstrap/out/native -DCMAKE_INSTALL_PREFIX=/home/andy/misc/bootstrap/out/native -DCMAKE_BUILD_TYPE=Release -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=WebAssembly; \ -- Looking for zlib.h - not found I propose to use find_path and find_library instead of check_include_file. Shall I submit a patch? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180323/99c595de/attachment.html>
2020 Oct 07
2
Building libvirt library without libvirtd or virsh
Hello there, I'm trying to play with musl and libvirt to see if I'm able to build a libvirt client binary without dynamic lib dependencies. I have two questions: 1) to your knowledge, is this exercise futile? 2) Do you know if there is a way to *only* compile the library bits? I want to reduce the number of dependencies in the build, and only construct the libvirt libraries, not
2015 May 26
3
[LLVMdev] LLVM 3.7 release plans
Hello everyone, There is still some time to go, but I would like to share my preliminary plan for 3.7. The idea is to keep us on the 6-month release cycle, which means: - Branch for 3.7 on 14 July 2015 - Release 3.7 end of August (absolutely no later than 4 September) I also have a few things I'd like to try this time: - Announce the first release candidate on llvm-announce to encourage
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) @@