depot/third_party/nix/.gitignore, branch refs/r/3244 monorepo for the virus lounge http://code.tvl.fyi/depot/atom?h=refs%2Fr%2F3244 2020-05-27T23:11:25+00:00 refactor(3p/nix): Introduce CMake as the build system for Nix 2020-05-27T23:11:25+00:00 Vincent Ambo tazjin@google.com 2020-05-27T21:03:36+00:00 urn:sha1:25393d80806f7c7caed188130d3f7c9574e61ece Completes the switch from Meson to CMake for the core build system in Nix. Meson was added originally because someone else had already done the work for integrating it in Nix and it was an upgrade from the previous setup. However over time it became clear that Meson is not quite mature enough for projects like Nix that have occasionally peculiar configuration constraints. Some issues encountered with Meson (some of these are due to the Meson setup in Nix): * Difficulty with generating correct compile_commands.json for external tools like clangd * Difficulty linking to libc++ when using clang * Ugly shell invocations for certain parts of the build system (I want these to be gone!!!) This CMake setup mimics the Meson configuration, but there are some differences (some temporary): * headers are now included separately for each library (see a previous commit that changes includes appropriately) * autoheaders-style configuration is currently hardcoded. Before blindly copying this I want to evaluate how much of it actually exists for portability concerns that I don't have (such as support for OS X). * Nix is built with libc++ by default. * [libstore] SQL schema is now inlined via a generated header, not an included string literal Abseil is still built as part of this build, rather than an external dependency, because it chokes on differently configured compiler invocations. Note that because of the move to libc++ an unwanted behaviour is introduced: glog log messages no longer have a body. I have yet to debug what is going on there. feat(3p/nix): added meson support 2020-05-17T14:55:13+00:00 p01arst0rm polar@ever3st.com 2019-10-21T16:57:38+00:00 urn:sha1:055139ac6aaecc7193972b65d2bcca022969c61d (cherry picked from commit 086a81b7a5bbe1fc022efb5935ff68f6ad71ddaf) Add 'third_party/nix/' from commit 'be66c7a6b24e3c3c6157fd37b86c7203d14acf10' 2020-05-17T14:52:38+00:00 Vincent Ambo tazjin@google.com 2020-05-17T14:52:38+00:00 urn:sha1:7994fd1d545cc5c876d6f21db7ddf9185d23dad6 git-subtree-dir: third_party/nix git-subtree-mainline: cf8cd640c1adf74a3706efbcb0ea4625da106fb2 git-subtree-split: be66c7a6b24e3c3c6157fd37b86c7203d14acf10
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<feed xmlns="http://www.w3.org/2005/Atom">
<title>depot/third_party/nix/.gitignore, branch refs/r/3244</title>
<subtitle>monorepo for the virus lounge</subtitle>
<id>http://code.tvl.fyi/depot/atom?h=refs%2Fr%2F3244</id>
<link rel="self" href="http://code.tvl.fyi/depot/atom?h=refs%2Fr%2F3244"/>
<link rel="alternate" type="text/html" href="http://code.tvl.fyi/"/>
<updated>2020-05-27T23:11:25+00:00</updated>
<entry>
<title>refactor(3p/nix): Introduce CMake as the build system for Nix</title>
<updated>2020-05-27T23:11:25+00:00</updated>
<author>
<name>Vincent Ambo</name>
<email>tazjin@google.com</email>
</author>
<published>2020-05-27T21:03:36+00:00</published>
<link rel="alternate" type="text/html" href="http://code.tvl.fyi/commit/?id=25393d80806f7c7caed188130d3f7c9574e61ece"/>
<id>urn:sha1:25393d80806f7c7caed188130d3f7c9574e61ece</id>
<content type="text"> Completes the switch from Meson to CMake for the core build system in Nix. Meson was added originally because someone else had already done the work for integrating it in Nix and it was an upgrade from the previous setup. However over time it became clear that Meson is not quite mature enough for projects like Nix that have occasionally peculiar configuration constraints. Some issues encountered with Meson (some of these are due to the Meson setup in Nix): * Difficulty with generating correct compile_commands.json for external tools like clangd * Difficulty linking to libc++ when using clang * Ugly shell invocations for certain parts of the build system (I want these to be gone!!!) This CMake setup mimics the Meson configuration, but there are some differences (some temporary): * headers are now included separately for each library (see a previous commit that changes includes appropriately) * autoheaders-style configuration is currently hardcoded. Before blindly copying this I want to evaluate how much of it actually exists for portability concerns that I don't have (such as support for OS X). * Nix is built with libc++ by default. * [libstore] SQL schema is now inlined via a generated header, not an included string literal Abseil is still built as part of this build, rather than an external dependency, because it chokes on differently configured compiler invocations. Note that because of the move to libc++ an unwanted behaviour is introduced: glog log messages no longer have a body. I have yet to debug what is going on there. </content>
</entry>
<entry>
<title>feat(3p/nix): added meson support</title>
<updated>2020-05-17T14:55:13+00:00</updated>
<author>
<name>p01arst0rm</name>
<email>polar@ever3st.com</email>
</author>
<published>2019-10-21T16:57:38+00:00</published>
<link rel="alternate" type="text/html" href="http://code.tvl.fyi/commit/?id=055139ac6aaecc7193972b65d2bcca022969c61d"/>
<id>urn:sha1:055139ac6aaecc7193972b65d2bcca022969c61d</id>
<content type="text"> (cherry picked from commit 086a81b7a5bbe1fc022efb5935ff68f6ad71ddaf) </content>
</entry>
<entry>
<title>Add 'third_party/nix/' from commit 'be66c7a6b24e3c3c6157fd37b86c7203d14acf10'</title>
<updated>2020-05-17T14:52:38+00:00</updated>
<author>
<name>Vincent Ambo</name>
<email>tazjin@google.com</email>
</author>
<published>2020-05-17T14:52:38+00:00</published>
<link rel="alternate" type="text/html" href="http://code.tvl.fyi/commit/?id=7994fd1d545cc5c876d6f21db7ddf9185d23dad6"/>
<id>urn:sha1:7994fd1d545cc5c876d6f21db7ddf9185d23dad6</id>
<content type="text"> git-subtree-dir: third_party/nix git-subtree-mainline: cf8cd640c1adf74a3706efbcb0ea4625da106fb2 git-subtree-split: be66c7a6b24e3c3c6157fd37b86c7203d14acf10 </content>
</entry>
</feed>