Displaying 20 results from an estimated 42 matches for "myplugins".
Did you mean:
myplugin
2009 Jun 15
0
[LLVMdev] llvmc for PIC16
Hi Sanjiv,
2009/6/15 Sanjiv Gupta <sanjiv.gupta at microchip.com>:
> Hi Mikhail,
> How do you build mcc16 executable?
This should work:
$ cd $LLVM_DIR/tools/llvmc/examples/mcc16
$ make
If you're building from some other dir, you'll need to update
mcc16/Makefile, so it knows where Makefile.common is located.
> There are so many confusing things there: driver, plugins,
2009 Jun 15
3
[LLVMdev] llvmc for PIC16
Mikhail Glushenkov wrote:
> Hi Sanjiv,
>
> 2009/6/15 Sanjiv Gupta <sanjiv.gupta at microchip.com>:
>
>> Hi Mikhail,
>> How do you build mcc16 executable?
>>
>
> This should work:
>
> $ cd $LLVM_DIR/tools/llvmc/examples/mcc16
> $ make
>
>
I configure llvm into a separate directory from source.
When I do the steps you mentioned in
2009 Jun 15
3
[LLVMdev] llvmc for PIC16
Mikhail Glushenkov wrote:
>
> Hi Sanjiv,
>
> Sanjiv Gupta <sanjiv.gupta <at> microchip.com> writes:
>
> > The salient features that we want to have in the driver are:
> > [...]
>
> As promised, I've implemented a basic compiler driver for the
> PIC16 toolchain. It's under tools/llvmc/examples/mcc16.
>
Hi Mikhail,
How do you build mcc16
2008 Nov 17
0
[LLVMdev] Dynamic configuration for llvmc2
Hi, Patrick
First of all, thanks for your interest in llvmc2! Your feedback is very valuable.
> The llvmc2 documentation
> seems to imply that the static TableGen-based configuration will
> eventually be replaced by some kind of dynamically loadable
> configuration system: "At the time of writing LLVMC does not support
> on-the-fly reloading of configuration..."
2008 Nov 17
2
[LLVMdev] Dynamic configuration for llvmc2
I've been working on some minor enhancements for llvmc2, but before I
submit them, I'd like to know more about where the driver is going.
Right now, llvmc2 uses TableGen at build time to statically create C++
files with hardcoded paths and command lines. The llvmc2 documentation
seems to imply that the static TableGen-based configuration will
eventually be replaced by some kind of
2006 Aug 08
2
Extending rails with plugins
I''ve been looking at bottling some functionality up into a plugin, but I''m
having some problems including it.
The structure I have is:
/app/controllers/admin/base_controller.rb:
class Admin::BaseController > ApplicationController
#snip#
end
/vendor/plugins/myplugin/lib/my_module.rb:
module MyModule
def new_func
"New Function"
end
end
2010 Sep 06
1
Plugin execution order and Sieve
Hello,
I use dovecot 2.0.1 and pigeonhole Sieve (version of August),
I try to create a deliver plugin (lda or lmtp), but if I declare, in
addition to my plugin, sieve, sieve is called first, and my plugin is
never called.
I tried to change the order of declaration of plugins, but nothing changes.
If I remove Sieve, my plugin is properly called.
protocol lmtp {
#mail_plugins = $mail_plugins
2019 Aug 02
2
building a custom plugin
Hi LLVM Devs,
I am in the process of building my own plugin for Clang/LLVM in Windows
on Visual Studio. I am having difficulty generating the .dll shared file to use
at compile time. How have the .dlls corresponding to the example plugins
been built?
This works:
clang -fplugin=C:/Users/User/llvm-project/build/Release/bin/PrintFunctionNames.dll -Xclang -plugin -Xclang print-fns test.c
This
2019 Sep 08
2
New PM, opt and command line options
Hi all,
I'm porting some LLVM plugins to the new pass manager and I've noticed
that the command line options are no longer registered when using
`-load-pass-plugin` (the new PM flag) to load the plugins in opt.
Everything is back to normal when loading via `-load` (the legacy PM).
For example, given this CL option:
static cl::opt<bool> SomeFlat("some-flag",
2013 May 21
1
[LLVMdev] a callback for opt plugin unloading event
Hello,
My opt plugin contains multiple passes in it and each pass produces some results and saves them in a global data structure.
$ opt -load myplugin.dylib -pass1 -pass2 -pass3 test.bc
After all passes finish running, I need to flush out the collected results to a disk file. But I don't know when I can do it. Is there a way/callback for my plugin to know when opt is done with it?
2007 Mar 02
1
Doing %var-substitutions in a plugin...
Hi,
I'm trying to write a plugin that need to do some %var-substitution. Is
there a way to get the var_expand_table used by the process?
If not, I guess I could use getenv("USER") (for %u, %n and %d) and
getenv("HOME") (for %h); but what for the other ones?
Cheers,
Nicolas
2005 Dec 26
0
Problems with Plugin Models
I''m developing a plugin that provides several models (with a Rakefile to
generate the schema). However, I''m running into two problems:
1. How can I setup a ''models'' directory? Only ''myplugin/lib'' is in the load
path, and if I move my models to ''myplugin/lib/models'' -- even if I explicitly
require them all -- it tries to
2007 Jun 09
11
authentication, controller specs. I think I''m missing something simple ....
Hi all,
I feel like I''m missing something really easy and I''m just not seeing
it.
I''m using the restful_authentication plugin and have a User model. Uesr
has_many :things and Thing belongs_to :user.
That''s it.
I did a "script/generate rspec_scaffold thing" to generate all the
necessary bits. The "rake db:migrate" to create the db.
At
2020 Apr 24
1
[PATCH nbdkit] golang: Pass Plugin and Connection by reference not value.
For the current set of examples this doesn't matter. This also adds
another example where we use the Connection to store data, just to
check that actually works.
Thanks: James @ purpleidea, Dan Berrangé
---
plugins/golang/nbdkit-golang-plugin.pod | 10 +-
plugins/golang/Makefile.am | 9 +
plugins/golang/examples/disk/disk.go | 168 ++++++++++++++++++
2006 Apr 05
6
Howto add application-wide variables?
I suspect this is something I should know already but I can''t seem to
get it right, how can I create application wide variables and have them
accessible to all my controllers?
I tried creating a plugin and having my controller require a specific
method from that plugin to access its variables but that didn''t work, so
I am left scratching my head.
eg from plugin
2020 Apr 14
0
[nbdkit PATCH v2 1/3] server: Add nbdkit_stdio_safe
Trying to read a password or inline script from stdin when the -s
option was used to connect to our client over stdin is not going to
work. It would be nice to fail such usage as soon as possible, by
giving plugins a means to decide if it is safe to use stdio during
.config. Update nbdkit_read_password and the sh plugin to take
advantage of the new entry point.
Signed-off-by: Eric Blake
2008 Nov 17
4
[LLVMdev] Dynamic configuration for llvmc2
Thanks for the reply!
> The plan now is to make this functionality easier to use, so you'll be able to
> just say:
>
> llvmc2 --load MyPlugin.td MyFile.cpp
>
> and have llvmc2 build and load MyPlugin.td behind the scenes.
That sounds like a good idea.
Part of the reason I suggested making the system less dependent on
TableGen is that in the process of developing a
2020 Apr 04
0
[nbdkit PATCH 1/2] server: Add nbdkit_stdio_safe
Trying to read a password or inline script from stdin when the -s
option was used to connect to our client over stdin is not going to
work. It would be nice to fail such usage as soon as possible, by
giving plugins a means to decide if it is safe to use stdio during
.config. Update nbdkit_read_password and the sh plugin to take
advantage of the new entry point.
Also, treat 'nbdkit -s
2011 Apr 08
5
How to extend a helper using plugin?
Hello,
I''m facing this problem while trying to extend the parse_redmine_links
helper method in Redmine-1.1.0 (Rails-2.3.5) from my plugin.
My idea is to use alias_method_chain so the extended version could
call the original version and adjust the result to it''s liking.
Anything I''ve tried so far exposes this behavior: the first render of
a page uses the extended
2006 Dec 14
1
yahoo messenger 7 error
Hello,
What does the following message mean?
$ wine YPager.exe
err:ole:CoGetClassObject no class object
{24f3ead6-8b87-4c1a-97da-71c126bda08f} could be created for context 0x7
I know it's related to Activex objects, but I want to know more about
this problem.