Skip to content

Commit f77feaa

Browse files
committed
Add version selection to the docs
1 parent c57e9ca commit f77feaa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/src/build_tips.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ Examples of builds performed with Meson include:
9595

9696
## Go builds
9797

98-
The Go toolchain provided by BinaryBuilder can be requested by adding `:go` to the `compilers` keyword argument to [`build_tarballs`](@ref): `compilers=[:c, :go]`. Go-based packages can usually be built and installed with `go`:
98+
The Go toolchain provided by BinaryBuilder can be requested by adding `:go` to the `compilers` keyword argument to [`build_tarballs`](@ref): `compilers=[:c, :go]`, and a specific version of the toolchain can be selected by adding the `preferred_go_version` keyword argument to [`build_tarballs`](@ref). Go-based packages can usually be built and installed with `go`:
9999

100100
```sh
101101
go build -o ${bindir}
@@ -109,7 +109,7 @@ Example of packages using Go:
109109

110110
## Rust builds
111111

112-
The Rust toolchain provided by BinaryBuilder can be requested by adding `:rust` to the `compilers` keyword argument to [`build_tarballs`](@ref): `compilers=[:c, :rust]`. Rust-based packages can usually be built with `cargo`:
112+
The Rust toolchain provided by BinaryBuilder can be requested by adding `:rust` to the `compilers` keyword argument to [`build_tarballs`](@ref): `compilers=[:c, :rust]`, and a specific version of the toolchain can be selected by adding the `preferred_rust_version` keyword argument to [`build_tarballs`](@ref). Rust-based packages can usually be built with `cargo`:
113113

114114
```sh
115115
cargo build --release
@@ -212,7 +212,7 @@ If in your build you need to use a package to a BLAS/LAPACK library you have the
212212
* always use LP64 interface, also on 64-bit systems.
213213
This may be a simpler option if renamining the BLAS/LAPACK symbols is too cumbersome in your case.
214214
In terms of libraries to link to:
215-
- also in this case you can link to `libblastrampoline`, however you _must_ make sure an LP64 BLAS/LAPACK library is backing `libblastrampoline`, otherwise all BLAS/LAPACK calls from the library will result in hard-to-debug segmentation faults, because in this case Julia does not provided a default backing LP64 BLAS/LAPACK library on 64-bit systems
215+
- also in this case you can link to `libblastrampoline`, however you _must_ make sure an LP64 BLAS/LAPACK library is backing `libblastrampoline`, otherwise all BLAS/LAPACK calls from the library will result in hard-to-debug segmentation faults, because in this case Julia does not provided a default backing LP64 BLAS/LAPACK library on 64-bit systems
216216
- alternatively, you can use builds of BLAS/LAPACK libraries which always use LP64 interface also on 64-bit platforms, like the package `OpenBLAS32_jll`.
217217

218218
## Dependencies for the target system vs host system

0 commit comments

Comments
 (0)