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
Fix linking issue to z3. ldd ./bazel-bin/src/ldfi2/ldfi2 shows libz3.so => /home/.../detsys-testkit/./bazel-bin/src/ldfi2/../../_solib_k8/_U@haskell_Uz3_S_S_Clibz3___Ulib/libz3.so but after nix-env -if default.nix then ldd $(which detsys-ldfi) says libz3.so => not found (note that when ldfi2 is built with nix we don't get this problem). Fixed in Ldfi libz3 #192.
Use bazel in combination with nix (rules_nixpkgs);
The --version flag doesn't work on Golang binaries built by bazel;
Do a nix post-install check on the packaged up binaries to ensure that they are all of the same version;
Figure out how to use bazel on CI;
Figure out how to write integration tests using detsys with bazel;
Make it easy to reproduce/rebuild all the components to some specific version (that was used in some test run, so that that test run could be reproduced);
Can we package up all binaries in a .deb or brew tarball using nix? (what happens to system dependencies e.g. libz3?)
Document how to use bazel for development vs nix for packaging.
The text was updated successfully, but these errors were encountered:
GraalVM native image compilation was added in #147.
Note that this partially reverts #143 and #145 by using griffinbank/rules_clojure rather than simuons/rules_clojure. The former is a fork of the later which reuses as much of java_rules as possible, and graal_rules expect java_rules as input.
Currently
go
code can be built and tested usingbazel
. Otherbazel
related tasks:bazel
to build and testpython
(ldfi);bazel
to build and testclojure
(checker, scheduler);bazel
to build uberjar and later GraalVM native image;bazel
to build and test Haskell code (ldfi2);ldd ./bazel-bin/src/ldfi2/ldfi2
showslibz3.so => /home/.../detsys-testkit/./bazel-bin/src/ldfi2/../../_solib_k8/_U@haskell_Uz3_S_S_Clibz3___Ulib/libz3.so
but afternix-env -if default.nix
thenldd $(which detsys-ldfi)
sayslibz3.so => not found
(note that when ldfi2 is built with nix we don't get this problem). Fixed in Ldfi libz3 #192.bazel
in combination withnix
(rules_nixpkgs
);--version
flag doesn't work on Golang binaries built bybazel
;--version
flag doesn't work on Clojure binaries built bybazel
. Fixed in bazel(scheduler): make passing --version flag work #205;--version
flag doesn't work on Haskell binaries built bybazel
. Fixed in bazel ldfi2 version #198;Caused by: java.lang.Exception: No native library found for os.name=Linux, os.arch=x86_64, paths=[]
problem for checker in the bazel build;panic: no such function: json_extract
problem for debugger with bazel build;nix-build
: IsbuildBazelPackage
from nixpkgs supposed to work? tweag/rules_nixpkgs#73 (will this not ruin the bazel caching?);detsys
binaries built bybazel
usingnix-build
: nix: package up all binaries #151;bazel
on CI;detsys
with bazel;bazel
for development vsnix
for packaging.The text was updated successfully, but these errors were encountered: