b509195ee9
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
14 lines
747 B
Nim
14 lines
747 B
Nim
# 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 (common_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() & "/../common_libs/tankroyale_botapi")
|