mirror of
https://github.com/metabarcoding/obitools4.git
synced 2026-03-25 05:20:52 +00:00
### Static Linux Builds - Added `CGO_CFLAGS` environment variable to the release workflow for consistent static linking on Linux, ensuring portable, self-contained executables. - Updated `go.work.sum` with the new dependency `golang.org/x/net v0.38.0`. - Removed obsolete logs archive file from the distribution. ### Memory-Aware Batching (Introduced in 4.4.23, now stable) - Users can now control batching behavior using `--batch-mem` to specify memory limits (e.g., `128K`, `64M`, `1G`), enabling adaptive batching based on sequence data size. - Batching now respects both byte and record count limits, flushing batches when either threshold is exceeded. - Conservative memory estimation for sequences (`BioSequence.MemorySize()`) and explicit garbage collection after large batch discards improve resource predictability. - Default constraints remain non-breaking: minimum 1, maximum 2000 records per batch with a default memory limit of 128 MB. ### Build System Improvements - Updated Go toolchain to 1.26.1 and bumped key dependencies for security and performance. - Fixed Makefile quoting for `LDFLAGS` to safely handle paths containing spaces. - Enhanced build failure handling: error logs are now displayed before cleanup, aiding diagnostics. - The install script now correctly configures `GOROOT`, `GOPATH`, and `GOTOOLCHAIN`, creates the GOPATH directory, and shows a progress bar during downloads.
15 lines
399 B
Go
15 lines
399 B
Go
package obioptions
|
|
|
|
// Version is automatically updated by the Makefile from version.txt
|
|
// The patch number (third digit) is incremented on each push to the repository
|
|
|
|
var _Version = "Release 4.4.25"
|
|
|
|
// Version returns the version of the obitools package.
|
|
//
|
|
// No parameters.
|
|
// Returns a string representing the version of the obitools package.
|
|
func VersionString() string {
|
|
return _Version
|
|
}
|