<mattip> the codegen is working, but linking fails, cython now needs to find ctx_Module_Create
<mattip> either by linking to a library or by compiling sources
<mattip> is there a "best practices"?
<mattip> I see hpy.devel.HPyDevel().get_ctx_sources(), is there a hpy.devel.HPyDevel().get_link_library() ?
<mattip> it seems the build_hpy_ext_mixin uses the sources, so I will try that route
computerfarmer has joined #hpy
computerfarmer has quit [Read error: Connection reset by peer]
<Hodgestar> mattip: Yep, hy.devel.HPyDevel() is the canonical source of compilation information within HPy.
<Hodgestar> mattip: We could potentially move the "fix_distribution" method off of that class and separate the distutils patching into its own module for clarity, but it's likely fine where it is for the moment.
<mattip> my goal is to get cython's runtest.py going right now, the end-user packaging can wait
<mattip> for runtest.py, I only have an extension instance, without a distribution
<mattip> but HPyDevel.fixdistribution(dist) needs a distribution
<mattip> what I really want is build_hpy_ext_mixin.finalize_hpy_ext(ext)
<mattip> but that needs self.distribution.hpy_abi
<mattip> I think I hacked something that works
<mattip> ok, module init code is working, now on to actually making an HPy function from a pyfunction node
<mattip> you can follow along on the hpy branch in my cython fork
jboi has quit [Quit: node-irc says goodbye]
jboi has joined #hpy
computerfarmer has joined #hpy
computerfarmer has quit [Client Quit]