You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pass through the new Rust and Go version arguments (#1358)
* Pass through the new Rust and Go version arguments
* Add version selection to the docs
* Version bump and update BinaryBuilderBase compat (BinaryBuilderBase.jl 1.34 has the new kwargs.)
Copy file name to clipboardexpand all lines: docs/src/build_tips.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -95,7 +95,7 @@ Examples of builds performed with Meson include:
95
95
96
96
## Go builds
97
97
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`:
99
99
100
100
```sh
101
101
go build -o ${bindir}
@@ -109,7 +109,7 @@ Example of packages using Go:
109
109
110
110
## Rust builds
111
111
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`:
113
113
114
114
```sh
115
115
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
212
212
* always use LP64 interface, also on 64-bit systems.
213
213
This may be a simpler option if renamining the BLAS/LAPACK symbols is too cumbersome in your case.
214
214
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
216
216
- alternatively, you can use builds of BLAS/LAPACK libraries which always use LP64 interface also on 64-bit platforms, like the package `OpenBLAS32_jll`.
217
217
218
218
## Dependencies for the target system vs host system
0 commit comments