You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that the extension was already compiled for the first invocation so nothing needed to be done. In the second compilation, it also thinks there's nothing to do. (The same holds true if you actually modify the file, not merely touch it, but touching is traditionally sufficient for build systems.)
Expected behavior
I expect the gumbo library to be recompiled (or at least the parts of it that were changed) and the nokogiri.bundle to be rebuilt.
stevecheckoway
changed the title
[bug] Modifying gumbo source doesn't cause rebuilds
[build bug] Modifying gumbo source doesn't cause rebuilds
Dec 8, 2022
Thanks for opening this issue up, this has been mildly annoying me, too.
It's a side effect of how I ended up implementing the libgumbo build, as a separate library and not part of the extension -- using the packaged_tarball strategy.
Maybe that was a mistake, especially given your notes about link-time optimization in #2331, and I should have picked packaged_source instead. I'll play with it a bit and see if I can convince myself to do it this way.
Please describe the bug
Modifying the gumbo source files doesn't cause
rake compile:nokogiri
to rebuild the extension.Help us reproduce what you're seeing
rake compile:nokogiri
touch gumbo-parser/src/util.h
rake compile:nokogiri
Note that the extension was already compiled for the first invocation so nothing needed to be done. In the second compilation, it also thinks there's nothing to do. (The same holds true if you actually modify the file, not merely touch it, but touching is traditionally sufficient for build systems.)
Expected behavior
I expect the gumbo library to be recompiled (or at least the parts of it that were changed) and the
nokogiri.bundle
to be rebuilt.Environment
main
branch.The text was updated successfully, but these errors were encountered: