-
-
Notifications
You must be signed in to change notification settings - Fork 309
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
autotools -> meson #1422
autotools -> meson #1422
Conversation
078d782
to
746f795
Compare
|
Trying this out now (so including nix-eval-jobs) using this PR by zowoq (thanks to them!). But having some issues with the CSS (I think?), see NixOS/nixpkgs#356391 (comment) |
@Mindavi I had trouble finding that exact message, but I think I fixed the issue? |
OK matching what I wrote in #1421 (comment), this one seems easier so doing it first. It now doesn't depend on that, and should be ready to go. |
I noticed this while running the phases manually (no action needed, but just wanted to note it down somewhere):
Performance of the build in general seems a lot better (due to configure not happening anymore, but also other things happened that took a lot of time and I didn't understand). It is a bit unfortunate that meson is now showing output of yath (running the tests) directly, but not a really big deal to me. I guess the silent timeout for h.n.o. is long enough to not cause issues there. But still a bit weird to look at without direct output. From the outputs there are some diffs:
Feels like some things don't get installed as they should be? Or are these files all unnecessary? |
Ah, for the documentation I guess I was looking at the wrong output, oops... |
Thanks @Mindavi! OK I'll try to get that in sync. |
FYI, I think the people at Lix removed some vendored Javascript files. That may be the cause of them not being handled/included in the meson build files. |
Original commit message: > There are some known regressions regarding local testing setups - since > everything was kinda half written with the expectation that build dir = > source dir (which should not be true anymore). But everything builds and > the test suite runs fine, after several hours spent debugging random > crashes in libpqxx with MALLOC_PERTURB_... I have not experienced regressions with local testing. (cherry picked from commit 4b886d9)
OK @Mindavi, think the outputs are not missing anything now! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I diffed through the builds and found these files missing:
@@ -565,70 +565,5 @@
/libexec/hydra/ttf/StayPuft.ttf
/nix-support
/share
-/share/doc
-/share/doc/hydra
-/share/doc/hydra/404.html
-/share/doc/hydra/about.html
-/share/doc/hydra/api.html
-/share/doc/hydra/ayu-highlight.css
-/share/doc/hydra/book.js
-/share/doc/hydra/clipboard.min.js
-/share/doc/hydra/configuration.html
-/share/doc/hydra/css
-/share/doc/hydra/css/chrome.css
-/share/doc/hydra/css/general.css
-/share/doc/hydra/css/print.css
-/share/doc/hydra/css/variables.css
-/share/doc/hydra/elasticlunr.min.js
-/share/doc/hydra/favicon.png
-/share/doc/hydra/favicon.svg
-/share/doc/hydra/FontAwesome
-/share/doc/hydra/FontAwesome/css
-/share/doc/hydra/FontAwesome/css/font-awesome.css
-/share/doc/hydra/FontAwesome/fonts
-/share/doc/hydra/FontAwesome/fonts/FontAwesome.ttf
-/share/doc/hydra/FontAwesome/fonts/fontawesome-webfont.eot
-/share/doc/hydra/FontAwesome/fonts/fontawesome-webfont.svg
-/share/doc/hydra/FontAwesome/fonts/fontawesome-webfont.ttf
-/share/doc/hydra/FontAwesome/fonts/fontawesome-webfont.woff
-/share/doc/hydra/FontAwesome/fonts/fontawesome-webfont.woff2
-/share/doc/hydra/fonts
-/share/doc/hydra/fonts/fonts.css
-/share/doc/hydra/fonts/OPEN-SANS-LICENSE.txt
-/share/doc/hydra/fonts/open-sans-v17-all-charsets-300italic.woff2
-/share/doc/hydra/fonts/open-sans-v17-all-charsets-300.woff2
-/share/doc/hydra/fonts/open-sans-v17-all-charsets-600italic.woff2
-/share/doc/hydra/fonts/open-sans-v17-all-charsets-600.woff2
-/share/doc/hydra/fonts/open-sans-v17-all-charsets-700italic.woff2
-/share/doc/hydra/fonts/open-sans-v17-all-charsets-700.woff2
-/share/doc/hydra/fonts/open-sans-v17-all-charsets-800italic.woff2
-/share/doc/hydra/fonts/open-sans-v17-all-charsets-800.woff2
-/share/doc/hydra/fonts/open-sans-v17-all-charsets-italic.woff2
-/share/doc/hydra/fonts/open-sans-v17-all-charsets-regular.woff2
-/share/doc/hydra/fonts/SOURCE-CODE-PRO-LICENSE.txt
-/share/doc/hydra/fonts/source-code-pro-v11-all-charsets-500.woff2
-/share/doc/hydra/hacking.html
-/share/doc/hydra/highlight.css
-/share/doc/hydra/highlight.js
-/share/doc/hydra/index.html
-/share/doc/hydra/installation.html
-/share/doc/hydra/introduction.html
-/share/doc/hydra/jobs.html
-/share/doc/hydra/mark.min.js
-/share/doc/hydra/monitoring
-/share/doc/hydra/monitoring/index.html
-/share/doc/hydra/.nojekyll
-/share/doc/hydra/notifications.html
-/share/doc/hydra/plugins
-/share/doc/hydra/plugins/declarative-projects.html
-/share/doc/hydra/plugins/index.html
-/share/doc/hydra/plugins/RunCommand.html
-/share/doc/hydra/print.html
-/share/doc/hydra/projects.html
-/share/doc/hydra/searcher.js
-/share/doc/hydra/searchindex.js
-/share/doc/hydra/searchindex.json
-/share/doc/hydra/tomorrow-night.css
-/share/doc/hydra/webhooks.html
/share/nix
/share/nix/hydra-module.nix
which is to be expected since we now put the manual in a separate output.
The wrappers are also different (which is to be expected since $out changed). Nothing else about $out is different after the change.
@@ -0,0 +1,90 @@ | |||
sql_files = files( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It'd be nice if we could glob this but it looks like that's not how it's supposed to be done in meson land
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Someday Meson will have a Nix backend using dynamic derivations, and then this will work :)
Woo! 🥳 |
Original author is @delroth, for Lix's Hydra, thank you!
Depends on #1421