# 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") # libzip for weight checkpoint zip files # ponytail: nix store path; adjust per machine, or use pkg-config switch("passL", "-L/nix/store/wqvz31s598bvj3zb747943xhl38hjc6h-libzip-1.11.4/lib -lzip") switch("threads", "on") # Submodules import each other as SAC_LSTM_Bot/; make that resolvable for # the binary build too (tests already add ../src via tests/config.nims). switch("path", thisDir() & "/src") # 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 (common_libs/) instead of the nimble pkg. # Must come AFTER the nimble.paths include: later --path wins the import search. switch("path", thisDir() & "/../common_libs/tankroyale_botapi") switch("path", thisDir() & "/../common_libs/radar_lock")