search for: buildmod

Displaying 20 results from an estimated 62 matches for "buildmod".

Did you mean: buildmode
2007 Jun 25
2
[LLVMdev] BuildMode
...nd the llvm-gcc will pick up the correct CPPFLAGS automatically. One thing I noticed in the llvm Makefile.rules is this: # If DISABLE_ASSERTIONS=1 is specified (make command line or configured), # then disable assertions by defining the appropriate preprocessor symbols. ifdef DISABLE_ASSERTIONS BuildMode := $(BuildMode)-Asserts [...] else [...] endif This seems backward to make. If I configure with --disable-assertions I would expect the build to be in a directory called Debug. If I --enable-asserts (the default), I would expect it in Debug-Asserts. But this logic does just the opposite. So I...
2007 Jun 26
0
[LLVMdev] BuildMode
...S > automatically. Okay. > > One thing I noticed in the llvm Makefile.rules is this: > > # If DISABLE_ASSERTIONS=1 is specified (make command line or configured), > # then disable assertions by defining the appropriate preprocessor symbols. > ifdef DISABLE_ASSERTIONS > BuildMode := $(BuildMode)-Asserts > [...] > else > [...] > endif > > This seems backward to make. If I configure with --disable-assertions I would > expect the build to be in a directory called Debug. If I --enable-asserts > (the default), I would expect it in Debug-Asserts. But...
2007 Jun 26
1
[LLVMdev] BuildMode
...would not commit the changes you made or > you'll confuse a lot of us. Its already confusing enough. Nope, I won't. That's why I asked. I'll change it back in my copy. > Yeah, this appears to be bug in this rule. It shouldn't be using > $(AssertMode) there, just $(BuildMode). All right. I'll clean that up. > Furthermore, the ifeq directive > needs to find "Debug" anywhere in $(BuildMode) not just if its equal to > "Build". That is, you want the warnings to occur when BuildMOde is > "Debug" or "Debug-Asserts&quot...
2005 May 19
3
[LLVMdev] [Cygwin] llvm 'make install' build errors
Reid, I think it is the first time it is run that the errors occcur !? Not sure but that would seem logical. Aaron
2010 Aug 05
2
[LLVMdev] [PATCH] Capability of Win32.DLL with ENABLE_SHARED
...not checked llvmc. * TODO - check system's stdc++.dll and use it with autoconf. -------------- next part -------------- diff --git a/Makefile.rules b/Makefile.rules index 66666b4..2a2128b 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -498,6 +498,25 @@ LLVMToolDir := $(LLVM_OBJ_ROOT)/$(BuildMode)/bin LLVMExmplDir:= $(LLVM_OBJ_ROOT)/$(BuildMode)/examples #-------------------------------------------------------------------- +# Locations of shared libraries +#-------------------------------------------------------------------- + +SharedPrefix := lib +SharedDir := $(LibDir) +LLVMShar...
2011 Sep 20
2
[LLVMdev] [PATCH] llvm-config: Add support for LIBDIR_SUFFIX.
...ols/llvm-config/Makefile b/tools/llvm-config/Makefile index c7f7b32..ad8532e 100644 --- a/tools/llvm-config/Makefile +++ b/tools/llvm-config/Makefile @@ -68,6 +68,8 @@ llvm-config-perobj: llvm-config.in $(GenLibDeps) $(LibDir) $(wildcard $(LibDir)/ >> temp.sed $(Verb) $(ECHO) 's/@LLVM_BUILDMODE@/$(subst /,\/,$(BuildMode))/' \ >> temp.sed + $(Verb) $(ECHO) 's/@LLVM_LIBDIR_SUFFIX@/$(subst /,\/,$(LLVM_LIBDIR_SUFFIX))/' \ + >> temp.sed $(Verb) $(SED) -f temp.sed < $< > $@ $(Verb) $(RM) temp.sed $(Verb) cat PerobjDepsFinal.txt >> $@ @@ -88...
2010 Mar 09
2
[LLVMdev] Changed: Build errors for poolalloc using MinGW/gcc 4.4.0
...s/opt/Makefile (revision 97995) +++ tools/opt/Makefile (working copy) @@ -12,3 +12,8 @@ LINK_COMPONENTS := bitreader bitwriter asmparser instrumentation scalaropts ipo include $(LEVEL)/Makefile.common + +CPP.Flags += -I../../projects/poolalloc/include + +ExtraLibs := ../../projects/poolalloc/$(BuildMode)/lib/libpoolalloc.a \ + ../../projects/poolalloc/$(BuildMode)/lib/libLLVMDataStructure.a On Tue, Mar 9, 2010 at 11:13 AM, John Criswell <criswell at uiuc.edu> wrote: > Dear Patrick and Antron, > > I've modified the Makefiles in the poolalloc module so that they do not &g...
2015 Oct 13
2
Compiling SAFECode poolalloc in cygwin create different libraries compared to linux.
Hi, On Linux I observed [root at localhost poolalloc]# find . -name *.a ./Release+Asserts/lib/LLVMDataStructure.a ./Release+Asserts/lib/poolalloc.a ./Release+Asserts/lib/AssistDS.a ./Release+Asserts/lib/libpoolalloc_fl_rt.a ./Release+Asserts/lib/libpoolalloc_rt.a ./Release+Asserts/lib/libpa_pre_rt.a ./Release+Asserts/lib/libcount.a On cygwin I observed kpawar at KPAWAR-LT
2009 Jun 28
1
[LLVMdev] llvmc for PIC16
Mikhail Glushenkov wrote: > Hi Sanjiv, > > 2009/6/23 <Sanjiv.Gupta at microchip.com> > >>> BTW, Chris's Makefile changes broke llvmc yesterday (r75379). I'm >>> working on a fix. >>> >> Hi Mikhail, >> Did you get a chance to fix this. I still get errors while building examples. >> >> > > This issue
2020 Apr 23
0
[PATCH nbdkit 2/2] golang: Compile against the local nbdkit build, not installed.
...TA = \ examples/dump-plugin/nbdkit-godump-plugin.so: \ $(plugin_sources) examples/dump-plugin/dumpplugin.go cd examples/dump-plugin && \ + PKG_CONFIG_PATH="$(abs_builddir)/server/local" \ GOPATH="$(abs_builddir)" \ $(GOLANG) build -o nbdkit-godump-plugin.so -buildmode=c-shared examples/minimal/nbdkit-gominimal-plugin.so: \ $(plugin_sources) examples/minimal/minimal.go cd examples/minimal && \ + PKG_CONFIG_PATH="$(abs_builddir)/server/local" \ GOPATH="$(abs_builddir)" \ $(GOLANG) build -o nbdkit-gominimal-plugin.so -bui...
2020 Apr 23
0
[PATCH nbdkit v3 2/2] golang: Compile against the local nbdkit build, not installed.
...ump-plugin.so: \ $(plugin_sources) examples/dump-plugin/dumpplugin.go cd examples/dump-plugin && \ + PKG_CONFIG_PATH="$(abs_builddir)/server/local$${PKG_CONFIG_PATH:-:$$PKG_CONFIG_PATH}" \ GOPATH="$(abs_builddir)" \ $(GOLANG) build -o nbdkit-godump-plugin.so -buildmode=c-shared examples/minimal/nbdkit-gominimal-plugin.so: \ $(plugin_sources) examples/minimal/minimal.go cd examples/minimal && \ + PKG_CONFIG_PATH="$(abs_builddir)/server/local$${PKG_CONFIG_PATH:-:$$PKG_CONFIG_PATH}" \ GOPATH="$(abs_builddir)" \ $(GOLANG) b...
2011 Jun 03
0
Package dlm generates unstable results?
...is quite unstable. Maybe I wrote something wrong in the code? So could anybody give me some hint? Many thanks.   My test model is really simple. Y_t = X_t * a_t + noise(V),(no Intercept here) a_t = a_{t-1} + noise(W)   I first run the following code: (I shall provide data at the end of the mail)   BuildMod <- function(x){  return(dlm(   m0  = x[1],   C0  = x[2],   FF  = 1,   GG  = 1,   V   = x[3],   W   = x[4],   JFF = 1,   X   = X   )) } ModFit  <- dlmMLE(Y,rep(1,4),BuildMod,debug=T) dlmMod  <- BuildMod(ModFit$par) V <- dlmMod$V W <- dlmMod$W ModFilt <- dlmFilter(Y,dlmMod) v <-...
2010 Aug 05
0
[LLVMdev] [PATCH] Capability of Win32.DLL with ENABLE_SHARED
Hi Takumi, > Any feedbacks are welcome. > Have fun! This seems to be pretty useful addition to LLVM on windows! And it seems the only painless way to make plugins working, yay! For me the patch looks pretty good. One minor thing: could you please rename SharedDir => SharedLibDir Thanks! -- With best regards, Anton Korobeynikov Faculty of Mathematics and Mechanics, Saint Petersburg
2011 Sep 20
0
[LLVMdev] [PATCH] llvm-config: Add support for LIBDIR_SUFFIX.
...ools/llvm-config/Makefile > index c7f7b32..ad8532e 100644 > --- a/tools/llvm-config/Makefile > +++ b/tools/llvm-config/Makefile > @@ -68,6 +68,8 @@ llvm-config-perobj: llvm-config.in $(GenLibDeps) $(LibDir) $(wildcard $(LibDir)/ > >> temp.sed > $(Verb) $(ECHO) 's/@LLVM_BUILDMODE@/$(subst /,\/,$(BuildMode))/' \ > >> temp.sed > + $(Verb) $(ECHO) 's/@LLVM_LIBDIR_SUFFIX@/$(subst /,\/,$(LLVM_LIBDIR_SUFFIX))/' \ > + >> temp.sed > $(Verb) $(SED) -f temp.sed < $< > $@ > $(Verb) $(RM) temp.sed > $(Verb) cat PerobjDepsFi...
2010 Aug 05
3
[LLVMdev] [PATCH] Capability of Win32.DLL with ENABLE_SHARED
...nikov > Faculty of Mathematics and Mechanics, Saint Petersburg State University > -------------- next part -------------- diff --git a/Makefile.rules b/Makefile.rules index 66666b4..8b50eb6 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -498,6 +498,26 @@ LLVMToolDir := $(LLVM_OBJ_ROOT)/$(BuildMode)/bin LLVMExmplDir:= $(LLVM_OBJ_ROOT)/$(BuildMode)/examples #-------------------------------------------------------------------- +# Locations of shared libraries +#-------------------------------------------------------------------- + +SharedPrefix := lib +SharedLibDir := $(LibDir) +LL...
2020 Apr 23
1
Re: [PATCH nbdkit v3 2/2] golang: Compile against the local nbdkit build, not installed.
On 4/23/20 2:13 PM, Richard W.M. Jones wrote: > Compiling nbdkit from source when an older nbdkit is installed would > fail because certain symbols such as .get_ready are not defined in the > (installed) <nbdkit-plugin.h>: > > ../../src/libguestfs.org/nbdkit/nbdkit.go:541:8: plugin.get_ready undefined (type _Ctype_struct_nbdkit_plugin has no field or method get_ready) >
2010 Apr 18
0
[LLVMdev] .so file creation for new passes
Thanks a lot for the reply guys. So, does that mean that I cant write my own passes if I work on Windows side of the LLVM? Is there any other way to use a new pass. How are windows users supposed to work? Thanks again. On Sun, Apr 18, 2010 at 7:16 AM, Anton Korobeynikov <anton at korobeynikov.info > wrote: > > If you compile llvm, the Hello library will be compiled too. It's
2010 Apr 18
2
[LLVMdev] .so file creation for new passes
> If you compile llvm, the Hello library will be compiled too. It's not > installed but it's in build_directory/Debug/lib/LLVMHello.so (or in > build_directory/Release/lib/LLVMHello.so) Loadable passes are not supported on windows due to lack of OS dynamic linking support (and I doubt they will be supported ever). -- With best regards, Anton Korobeynikov Faculty of Mathematics
2010 Mar 14
0
[LLVMdev] Changed: Build errors for poolalloc using MinGW/gcc 4.4.0
...tools/opt/Makefile (working copy) > @@ -12,3 +12,8 @@ > LINK_COMPONENTS := bitreader bitwriter asmparser instrumentation scalaropts ipo > > include $(LEVEL)/Makefile.common > + > +CPP.Flags += -I../../projects/poolalloc/include > + > +ExtraLibs := ../../projects/poolalloc/$(BuildMode)/lib/libpoolalloc.a \ > + ../../projects/poolalloc/$(BuildMode)/lib/libLLVMDataStructure.a > > > On Tue, Mar 9, 2010 at 11:13 AM, John Criswell <criswell at uiuc.edu> wrote: > > Dear Patrick and Antron, > > > > I've modified the Makefiles in the poolalloc...
2011 Jun 03
0
How to reconcile Kalman filter result (by package dlm) with linear regression?
...[,3]       [,4] [24,] -0.06046868 0.002829377 -0.01569903 0.03599957   I am pretty troubled by what I see here. So if anyone would offer me some condolence, as well as helpful advice, I am greatly grateful. Thanks a lot. Here are the code and the data.   Thanks a lot.   Wei   nTotal = nMatrix + 1 BuildMod <- function(x){  L1 = matrix(0,nFactor,nFactor)   L1[upper.tri(L1,T)] <- x[1:nMatrix]  return(dlm(   m0  = rep(0,nFactor),   C0  = diag(nFactor)*10,   FF  = matrix(1,1,nFactor),   GG  = diag(nFactor),   V   = tail(x,1)^2,   W   = crossprod(L1),   JFF = matrix(1:4,nr=1),   X   = X   )) } ModFi...