runtime/yolounwind.nix
Build yolounwind stub library
This provides stub implementations of unwind symbols needed by yolo-glibc and compiler-rt's GCC personality function. All functions just trap - the yolo runtime doesn't actually unwind.
λpkgs, sources?
| pkgs | |
| sources | default import../lib/sources.nix inherit pkgs; |
let
in
pkgs.stdenv.mkDerivation
"filc-yolounwind"
"git"
${setupCcache}
cd yolounwind
runHook preBuild
make -j$NIX_BUILD_CORES
runHook postBuild
runHook preInstall
mkdir -p $out/lib
cp libyolounwind.a $out/lib/
runHook postInstall
uses llvm setupCcache