mirror of
https://github.com/luxfi/accel.git
synced 2026-10-30 17:03:45 +00:00
backup/dbc-accel-main
The lux_hqc_native opt-in tag made native HQC off-by-default, so plain 'go build' silently shipped the stub and HQC needed -tags to work. That was the wrong call. Native is now THE default cgo path (code_cpu.go, //go:build cgo) linking libluxgpu_hqc from the installed lux-gpu keg; only CGO_ENABLED=0 (code_nocgo.go) uses the stub. No tag needed. Verified: CGO=1 go build/test/bench ./ops/code/ runs native HQC with zero tags (lux-gpu installed at /opt/homebrew/opt/lux-gpu); CGO=0 still compiles the stub. Full accel suite green (7/7, no tags). Co-authored-by: Hanzo Dev <[email protected]>
Description
No description provided
733 KiB
Languages
Go
95.9%
C
3.1%
Makefile
1%