mirror of
https://github.com/lancedb/lancedb.git
synced 2026-01-07 12:22:59 +00:00
Compare commits
1 Commits
v0.1.2-dev
...
v0.1.2-dev
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6d4488f320 |
20
Cross.toml
20
Cross.toml
@@ -1,34 +1,26 @@
|
|||||||
# These make sure our builds are compatible with old glibc versions.
|
# These make sure our builds are compatible with old glibc versions.
|
||||||
[target.x86_64-unknown-linux-gnu]
|
[target.x86_64-unknown-linux-gnu]
|
||||||
pre-build = [
|
pre-build = [
|
||||||
"yum install -y openssl-devel unzip",
|
"dpkg --add-architecture $CROSS_DEB_ARCH",
|
||||||
# protobuf is too old, so we directly download binaries
|
"apt-get update && apt-get install --assume-yes libssl-dev:$CROSS_DEB_ARCH protobuf-compiler:$CROSS_DEB_ARCH",
|
||||||
"PB_REL=https://github.com/protocolbuffers/protobuf/releases",
|
|
||||||
"PB_VERSION=23.1",
|
|
||||||
"curl -LO $PB_REL/download/v$PB_VERSION/protoc-$PB_VERSION-linux-x86_64.zip",
|
|
||||||
"unzip protoc-$PB_VERSION-linux-x86_64.zip -d /usr/local",
|
|
||||||
]
|
]
|
||||||
image = "ghcr.io/cross-rs/x86_64-unknown-linux-gnu:main-centos"
|
image = "ghcr.io/cross-rs/x86_64-unknown-linux-gnu:main-centos"
|
||||||
|
|
||||||
[target.aarch64-unknown-linux-gnu]
|
[target.aarch64-unknown-linux-gnu]
|
||||||
pre-build = [
|
pre-build = [
|
||||||
"yum install -y openssl-devel unzip",
|
"dpkg --add-architecture $CROSS_DEB_ARCH",
|
||||||
# protobuf is too old, so we directly download binaries
|
"apt-get update && apt-get install --assume-yes libssl-dev:$CROSS_DEB_ARCH protobuf-compiler:$CROSS_DEB_ARCH",
|
||||||
"PB_REL=https://github.com/protocolbuffers/protobuf/releases",
|
|
||||||
"PB_VERSION=23.1",
|
|
||||||
"curl -LO $PB_REL/download/v$PB_VERSION/protoc-$PB_VERSION-linux-x86_64.zip",
|
|
||||||
"unzip protoc-$PB_VERSION-linux-x86_64.zip -d /usr/local",
|
|
||||||
]
|
]
|
||||||
image = "ghcr.io/cross-rs/aarch64-unknown-linux-gnu:main-centos"
|
image = "ghcr.io/cross-rs/aarch64-unknown-linux-gnu:main-centos"
|
||||||
|
|
||||||
[target.x86_64-unknown-linux-musl]
|
[target.x86_64-unknown-linux-musl]
|
||||||
pre-build = [
|
pre-build = [
|
||||||
"dpkg --add-architecture $CROSS_DEB_ARCH",
|
"dpkg --add-architecture $CROSS_DEB_ARCH",
|
||||||
"apt-get update && apt-get install --assume-yes libssl-dev:$CROSS_DEB_ARCH",
|
"apt-get update && apt-get install --assume-yes libssl-dev:$CROSS_DEB_ARCH protobuf-compiler:$CROSS_DEB_ARCH",
|
||||||
]
|
]
|
||||||
|
|
||||||
[target.aarch64-unknown-linux-musl]
|
[target.aarch64-unknown-linux-musl]
|
||||||
pre-build = [
|
pre-build = [
|
||||||
"dpkg --add-architecture $CROSS_DEB_ARCH",
|
"dpkg --add-architecture $CROSS_DEB_ARCH",
|
||||||
"apt-get update && apt-get install --assume-yes libssl-dev:$CROSS_DEB_ARCH",
|
"apt-get update && apt-get install --assume-yes libssl-dev:$CROSS_DEB_ARCH protobuf-compiler:$CROSS_DEB_ARCH",
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user