lekernel changed the topic of #m-labs to: Mixxeo, Migen, MiSoC & other M-Labs projects :: fka #milkymist :: Logs http://irclog.whitequark.org/m-labs
xiangfu has joined #m-labs
xiangfu has quit [Ping timeout: 240 seconds]
xiangfu has joined #m-labs
xiangfu_ has joined #m-labs
xiangfu_ has quit [Client Quit]
xiangfu has quit [Remote host closed the connection]
xiangfu has joined #m-labs
xiangfu has quit [Ping timeout: 245 seconds]
<GitHub63> [artiq] sbourdeauducq pushed 1 new commit to master: http://git.io/0nq8HA
<GitHub63> artiq/master b749c8e Yann Sionneau: doc/manual/installing: small cleanups and more details
<rjo> sb0: you tasked ysionneau to write docs?
<rjo> ysionneau: welcome to artiq by the way!
<sb0> yes
<sb0> :)
<sb0> btw regarding distribution dependence, don't we want the master to integrate with some startup system (systemd, init, etc.)?
<rjo> ysionneau/sb0: a few months ago i attempted the llvm/llvmpy installation on cygwin/mingw/windows and got pretty far (llvm compiled and installed). there were no particularly obvious roadblocks but it seemed to be difficult to find a tuple of versions that works well.
<sb0> a llvmpy/llvm tuple of versions?
<rjo> sb0: maybe. but that is not so difficult. also, given that there is always quite some manual work in the lab to do experiments, starting the master manually is not much added work.
<rjo> more the tuple of gcc/mingw and cygwin
<sb0> I've been thinking about replacing llvmpy with a minimal version of it. we don't use that much. it's barely more than the very nice 'kaleidoscope' tutorial, for which there are C++ and Python versions. it can't be that hard to just redo a small binding with those features...
<sb0> though we might end up needing more, e.g. to implement a backtrace system to pinpoint the source of exceptions in compiled python code
<rjo> sb0: that sounds like porting just barely enough of llvmpy to llvm 3.5 might be just as much work as writing it anew.
<sb0> those APIs we actually need have been consistent across several versions of LLVM afaict
<sb0> if we only bind those, this can also alleviate potential future version incompatibilities
<rjo> sb0: maybe. my experience with wrapping c++ apis for python have been about two orders of magnitude more painful than wrapping c apis.
<rjo> sb0: do you know how or whether llvm plans to take care of llvmpy?
<rjo> sb0: didn't they still have their own version that came with 3.5?
<sb0> there is a different Python binding that comes with llvm, which looks in a pretty bad state
<rjo> yes. that one. do they say whether they will merge continuum.io/llvmpy back in?
<sb0> I haven't heard anything about that...
<sb0> and yes, C++ is evil. but there's a C binding too, which if done correctly could leave most C++ problems to LLVM developers...
<sb0> sounds quite straightforward to map that to artiq py2llvm
<sb0> of course, then the C/C++ interface can become the new chaos area unless the llvm devs keep it clean...
Hawk777 has left #m-labs [#m-labs]
<sb0> compiles and works here without any problem
<sb0> also seems unaffected by the "slow JIT" bug we have with llvmpy for some reason
<rjo> sb0: sounds reasonable. cython or ctypes or cffi are all pretty reasonable.
<sb0> artiq doesn't use that much more than such functions so far
<rjo> sb0: unless keeping up with llvm or the need for other features makes it a PITA.
<sb0> at some point we'll need something to map or1k instruction address -> python statement
<sb0> so that exceptions can be traced
<sb0> that might require some more llvm features
<sb0> or we can just have the upper leve
<sb0> l compiler pass the python statement locations in the calls to the runtime exception_raise(), but that's more limited and messy
<sb0> especially as the runtime functions for e.g. rtio also call exception_raise(), so you'd need to pass that to rtio_* as well
<rjo> sb0: might be fine to have exception tracing not that fine grained. maybe function-level would be enough.
<rjo> sb0: but the required functionality may turn out to be the same...
<rjo> gtg. see you.
xiangfu has joined #m-labs
xiangfu has quit [Ping timeout: 245 seconds]
xiangfu has joined #m-labs
xiangfu has quit [Ping timeout: 272 seconds]
xiangfu has joined #m-labs
xiangfu has quit [Remote host closed the connection]
xiangfu has joined #m-labs
nicksydney has quit [Remote host closed the connection]
nicksydney has joined #m-labs
<GitHub195> [misoc] sbourdeauducq pushed 3 new commits to master: http://git.io/jGfQJQ
<GitHub195> misoc/master 5e5f436 Florent Kermarrec: uart: split it and use dataflow...
<GitHub195> misoc/master 20528c6 Sebastien Bourdeauducq: mor1kx: sync
<GitHub195> misoc/master e53fb88 Sebastien Bourdeauducq: uart: minor cleanup and fix
xiangfu has quit [Ping timeout: 258 seconds]
xiangfu has joined #m-labs
<ysionneau> hello!
<ysionneau> < rjo> ysionneau: welcome to artiq by the way! < thanks :)
Alain has joined #m-labs
xiangfu has quit [Ping timeout: 272 seconds]
xiangfu has joined #m-labs
FabM has quit [Quit: ChatZilla 0.9.91 [Iceweasel 31.1.0/20140903072827]]
xiangfu has quit [Remote host closed the connection]
nengel has quit [Remote host closed the connection]
nengel has joined #m-labs
<GitHub179> [artiq] sbourdeauducq pushed 1 new commit to master: http://git.io/bcmRlQ
<GitHub179> artiq/master 1c24a59 Sebastien Bourdeauducq: rtio: error recovery
_florent_ has joined #m-labs
<sb0> also, things that we do need (such as the returns_twice function attribute) are _not_ in llvmpy
<sb0> MEH
<sb0> exceptions sometimes crash right now because of that
<GitHub10> [artiq] sbourdeauducq pushed 1 new commit to master: http://git.io/taYG0g
<GitHub10> artiq/master c659acb Sebastien Bourdeauducq: transforms/lower_time: fix time_to_cycles/cycles_to_time
<GitHub144> [artiq] sbourdeauducq pushed 1 new commit to master: http://git.io/QMTV-w
<GitHub144> artiq/master e3ef077 Yann Sionneau: Fix module installation...
<GitHub126> [lm32] mwalle pushed 1 new commit to master: http://git.io/GuIm3A
<GitHub126> lm32/master 84b3e3c Michael Walle: convert the latex documention to rst...
_florent_ has quit [Quit: Leaving]
bentley` has quit [Ping timeout: 255 seconds]
aeris has quit [Quit: en a pas]
aeris has joined #m-labs
elaforest has joined #m-labs
mumptai has joined #m-labs
aeris has quit [Read error: Connection reset by peer]
aeris has joined #m-labs
bentley` has joined #m-labs
<rjo> sb0: adding another ATTR_ does not seem too hard.
Alain has quit [Remote host closed the connection]
mumptai has quit [Quit: Verlassend]