# Static-link OpenBLAS for portable deployment # ponytail: adjust path per machine, or use pkg-config switch("passL", "-L/nix/store/v07svn2y92bvzjl51aj7c9ca1cwg7rw7-openblas-0.3.32/lib -lopenblas") switch("threads", "on") # begin Nimble config (version 2) when withDir(thisDir(), system.fileExists("nimble.paths")): include "nimble.paths" # end Nimble config # Use the repo-vendored Tank Royale bot API (libs/) instead of the nimble pkg. # The pkg copy lived in ~/.nimble/pkgs2 and was patched ad-hoc; vendoring makes # the build self-contained and keeps the cross-thread Channel fix in-tree. # Must come AFTER the nimble.paths include: later --path wins the import search. switch("path", thisDir() & "/../libs/tankroyale_botapi")