similar to: Building a statically-linked extension?

Displaying 20 results from an estimated 20000 matches similar to: "Building a statically-linked extension?"

2011 Nov 12
1
Including multiple third party libraries in an extension
Hi, I've got a C extension structured roughly like: package/ src/ Makevars foo.c some-lib/... some-other-lib/.. where foo.c and Makevars define dependencies on some-lib and some-other-lib. Currently I'm having Makevars configure;make install some-lib and some-other-lib into a local build directory, which produces shard libraries that ultimately I reference for foo.o in
2011 Oct 18
2
Remote environments, calling functions
Hi there, I'm trying to do something like a migration of an R program. I've got a function and some variables in an interactive-session: r <- .5 ## estimatePi references r estimatePi <- function(seed) { set.seed(seed) numDraws <- 1e+05 x <- runif(numDraws, min = -r, max = r) y <- runif(numDraws, min = -r, max = r) inCircle <- ifelse((x^2 + y^2)^0.5
2011 Dec 06
1
unserialize and eager execution
Hi, While debugging a network server I'm developing I noticed something unusual - call to unserialize() resulted in an error about loading a namespace. I was a bit taken back by this - why should unserializing an object cause a namespace lookup? Are there any other side-effects of unserialize() that I should be cautious about? I've been digging through the R_Unserialize() call, I
2018 Jun 21
0
Issues in building single statically linked binary of smbd
Hello, I'm new to this mailing list so apologies if this question is asked before. I want to build one single binary of smbd which has all libraries statically linked into it. I tried following options but got different errors or could not get it done. I have tried following things : 1. Compiled samba server code using following options : * ./configure --bundled-libraries=ALL
2018 Jun 18
2
Building rpcclient statically linked?
I have Googled around looking for the magic configure to waf incantation to get this accomplished but nothing seems to work. Does anyone know how to build rpcclient statically linked? Or all binaries statically linked? Thanks! -aps
2013 Apr 04
1
[LLVMdev] Packed instructions generaetd by LoopVectorize?
Thanks, that did it! Are there any plans to enable the loop vectorizer by default? From: Nadav Rotem [mailto:nrotem at apple.com] Sent: Wednesday, April 03, 2013 13:33 PM To: Nowicki, Tyler Cc: LLVM Developers Mailing List Subject: Re: Packed instructions generaetd by LoopVectorize? Hi Tyler, Try adding -ffast-math. We can only vectorize reduction variables if it is safe to reorder floating
2005 Apr 18
2
Very Slow Gower Similarity Function
Hello, I am a relatively new user of R. I have written a basic function to calculate the Gower similarity function. I was motivated to do so partly as an excercise in learning R, and partly because the existing option (vegdist in the vegan package) does not accept missing values. I think I have succeeded - my function gives me the correct values. However, now that I'm starting to use it with
2008 May 01
0
[LLVMdev] How do you Build LLVM Statically Linked?
Anders Johnsen wrote: > I think there is a > > ./configure --enable-static > > switch - have you tried that? Yes, but that only seems to force building static libraries, not statically linked tools. Kenneth Boyd wrote: > The --disable-shared option to configure should work (like it does for > most configure-scripted projects). No, I tried that and still got
2013 Apr 03
0
[LLVMdev] Packed instructions generaetd by LoopVectorize?
Hi Tyler, Try adding -ffast-math. We can only vectorize reduction variables if it is safe to reorder floating point operations. Thanks, Nadav On Apr 3, 2013, at 10:29 AM, "Nowicki, Tyler" <tyler.nowicki at intel.com> wrote: > Hi, > > I have a question about LoopVectorize. I wrote a simple test case, a dot product loop and found that packed instructions are
2013 Apr 09
1
ogg not statically linked
Hi all, I was running some tests cross-compiling and natively compiling for windows with mingw and found something strange: when I try to built flac statically linked and libogg is available as a dll, flac will use the dll instead of linking statically. If I built libogg with --disable-shared, flac will use the static library. This is the case for building natively as well as when
2008 Apr 29
3
[LLVMdev] How do you Build LLVM Statically Linked?
Everyone, I would like to build the LLVM toolchain and the GCC front end as statically linked executables, but I do not see a configure option to set this. A quick check of the FAQ and build documents comes up empty. Is there a linker switch setting or environment variable for the Makefile? Dave Koogler
2008 Apr 29
1
[LLVMdev] How do you Build LLVM Statically Linked?
On Tuesday 29 April 2008 14:52:49 David J.A. Koogler wrote: > Everyone, > > I would like to build the LLVM toolchain and the GCC front end as > statically linked executables, but I do not see a configure > option to set this. A quick check of the FAQ and build documents > comes up empty. Is there a linker switch setting or environment > variable for the Makefile? > >
2005 Apr 22
3
Installing packages from source on WindowsXP
Hi, I'm having some problems installing packages from the source files on Windows, using R CMD INSTALL pkg. I'm running WindowsXP, and I've followed the instructions as per the README.packages file from the R installation. I ran into a hitch, with the install failing following a "hhc: not found" warning. I figured out that this was related to the html help workshop.
2013 Feb 21
2
[LLVMdev] Generate scalar SSE instructions instead of packed instructions
On Thu, Feb 21, 2013 at 12:14 PM, Nadav Rotem <nrotem at apple.com> wrote: > You can change the input LLVM-IR. > > On Feb 21, 2013, at 7:16 AM, "Nowicki, Tyler" <tyler.nowicki at intel.com> > wrote: > > Hi,**** > > ** ** > > I am interested in evaluating the performance of packed vs scalar > double-precision floating point instructions on
2005 Jul 06
1
dyn.load in linux: missing libraries?
Hi, I've just about got myself transferred from windowsXP to Linux (Mepis 3.3.1-1). I've got R 2.1.1, emacs, and ess running from the debian repositories. Of course, there is a hitch. I have a bit of C code in one of my personal functions. I have, apparently without problem, been able to compile it using R CMD SHLIB, but when I try to dyn.load it I get the following error: >
2012 Jun 28
2
[LLVMdev] 8-bit DIV IR irregularities
I understand, but this sounds like legalization. Does every architecture trigger an overflow exception, as opposed to setting a bit? Perhaps it makes more sense to do this in the backends that trigger an overflow exception? I'm working on a modification for DIV right now in the x86 backend for Intel Atom that will improve performance, however because the *actual* operation has been replaced
2005 Apr 25
2
Installing packages, again
Hi again, I've just uninstalled R2.01 and installed the new R2.10 on my WindowsXP machine. I then attempted to install the vegan package from source files, as I learned to do last week, with the help of some of you. I have updated my path variable to the new R directory (R/rw2010/bin instead of R/rw2001pat/bin), and I've still got the HTMLHelpWorkshop files installed, as well as Perl
2017 Sep 03
0
Why are LLVM releases statically linked against LLVM libraries?
On 3 Sep 2017, at 02:41, Will Dietz via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > I can speculate the reasons from a technical standpoint and by > inferring from commit history... > but curious if there's a better answer to be had? There’s a fairly noticeably performance improvement from static linking. I think last time I benchmarked it, building FreeBSD with
2016 Aug 23
2
Help in understanding physreg LiveVariables
So if I first create the value in an entry BB and then build a CopyToReg but then I have to read it in a BB that loops back to itself, with it's own CopyToReg at the end, then I have two CopyToReg nodes for the same value. In this case, I need to create 3 virt regs, 1 for each CopyToReg and a third for the CopyFromReg in the beginning of the loop BB, right? And then I need to build a PHI
2010 Oct 21
2
[LLVMdev] statically linked passes
Hi, I am trying to create a pass that should get statically linked into opt (since I'm on both mac and native win32 and win32 does not support LOADED_MODULEs, at least I get errors while trying to create one). So I have it working with CMake on windows but when I try to run the same code base on mac I get unresolved externals. Here is what I have done so far in the build system: Within