mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
enhance: Master updatecmake zhikun (#43023)
Signed-off-by: Zhikun Yao <zhikun.yao@zilliz.com>
This commit is contained in:
parent
d0e9547869
commit
9886d7d4b6
8
.env
8
.env
@ -5,11 +5,11 @@ IMAGE_ARCH=amd64
|
||||
OS_NAME=ubuntu22.04
|
||||
|
||||
# for services.builder.image in docker-compose.yml
|
||||
DATE_VERSION=20250508-f0451d2
|
||||
LATEST_DATE_VERSION=20250508-f0451d2
|
||||
DATE_VERSION=20250628-af8479b
|
||||
LATEST_DATE_VERSION=20250628-af8479b
|
||||
# for services.gpubuilder.image in docker-compose.yml
|
||||
GPU_DATE_VERSION=20250509-3a7b2fe
|
||||
LATEST_GPU_DATE_VERSION=20250509-3a7b2fe
|
||||
GPU_DATE_VERSION=20250628-af8479b
|
||||
LATEST_GPU_DATE_VERSION=20250628-af8479b
|
||||
|
||||
# for other services in docker-compose.yml
|
||||
MINIO_ADDRESS=minio:9000
|
||||
|
||||
12
.github/workflows/publish-gpu-builder.yaml
vendored
12
.github/workflows/publish-gpu-builder.yaml
vendored
@ -29,21 +29,11 @@ concurrency:
|
||||
|
||||
jobs:
|
||||
publish-gpu-builder:
|
||||
runs-on: ${{ inputs.RunnerHost || 'ubuntu-latest' }}
|
||||
runs-on: self-hosted
|
||||
timeout-minutes: 500
|
||||
env:
|
||||
OS: ubuntu22.04
|
||||
steps:
|
||||
- name: Maximize build space
|
||||
uses: easimon/maximize-build-space@master
|
||||
if: ${{ ! startsWith(runner.name, 'self') }} # skip this step if it is self-hosted runner
|
||||
with:
|
||||
root-reserve-mb: 20480
|
||||
# overprovision-lvm: 'true'
|
||||
swap-size-mb: 1024
|
||||
remove-dotnet: 'true'
|
||||
remove-android: 'true'
|
||||
remove-haskell: 'true'
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Get version from system time after release step
|
||||
|
||||
@ -29,7 +29,7 @@ RUN apt-get update && apt-get install -y gcc-12 g++-12 && cd /usr/bin \
|
||||
RUN pip3 install conan==1.64.1
|
||||
|
||||
RUN echo "target arch $TARGETARCH"
|
||||
RUN wget -qO- "https://cmake.org/files/v3.27/cmake-3.27.5-linux-`uname -m`.tar.gz" | tar --strip-components=1 -xz -C /usr/local
|
||||
RUN wget -qO- "https://cmake.org/files/v3.31/cmake-3.31.8-linux-`uname -m`.tar.gz" | tar --strip-components=1 -xz -C /usr/local
|
||||
|
||||
RUN mkdir /opt/vcpkg && \
|
||||
wget -qO- vcpkg.tar.gz https://github.com/microsoft/vcpkg/archive/master.tar.gz | tar --strip-components=1 -xz -C /opt/vcpkg && \
|
||||
|
||||
@ -3,7 +3,7 @@ FROM nvidia/cuda:11.8.0-devel-ubuntu22.04 as builder
|
||||
ARG TARGETARCH
|
||||
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends wget curl ca-certificates gnupg2 ninja-build && \
|
||||
wget -qO- "https://cmake.org/files/v3.27/cmake-3.27.5-linux-`uname -m`.tar.gz" | tar --strip-components=1 -xz -C /usr/local && \
|
||||
wget -qO- "https://cmake.org/files/v3.31/cmake-3.31.8-linux-`uname -m`.tar.gz" | tar --strip-components=1 -xz -C /usr/local && \
|
||||
apt-get update && apt-get install -y --no-install-recommends \
|
||||
g++ gcc gfortran git make ccache libssl-dev zlib1g-dev zip unzip \
|
||||
clang-format-12 clang-tidy-12 lcov libtool m4 autoconf automake python3 python3-pip \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user