Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Howe <[email protected]>
  • Loading branch information
bmhowe23 committed Feb 8, 2025
1 parent 28c9d5e commit d9c1ecd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/build_dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
python: ['3.10', '3.11', '3.12']
platform: ['amd64', 'arm64']
fail-fast: false
runs-on: linux-${{ matrix.platform }}-cpu8
runs-on: linux-${{ matrix.platform }}-cpu16
steps:
- name: Login to GitHub CR
uses: docker/login-action@v3
Expand Down Expand Up @@ -129,8 +129,6 @@ jobs:
TAGS+=" -t ghcr.io/nvidia/cudaqx-dev:latest-py${{ matrix.python }}-${{ matrix.platform }}"
BUILDARGS="--build-arg base_image=ghcr.io/nvidia/cuda-quantum-devdeps:manylinux-${{ matrix.platform }}-cu12.0-gcc11-main"
BUILDARGS+=" --build-arg python_version=${{ matrix.python }}"
# Failure to link if there are too many jobs
BUILDARGS+=" --build-arg cudaq_ninja_jobs_arg=\'-j 8\'"
docker build $TAGS $BUILDARGS -f docker/build_env/cudaqx.wheel.Dockerfile .
docker push -a ghcr.io/nvidia/cudaqx-dev
shell: bash --noprofile --norc -euo pipefail {0}
Expand Down
3 changes: 1 addition & 2 deletions docker/build_env/cudaqx.wheel.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ ARG base_image=ghcr.io/nvidia/cuda-quantum-devdeps:manylinux-amd64-cu12.0-gcc11-
FROM ${base_image}

ARG python_version=3.10
ARG cudaq_ninja_jobs_arg=""

LABEL org.opencontainers.image.description="Dev tools for building and testing CUDA-QX libraries"
LABEL org.opencontainers.image.source="https://github.com/NVIDIA/cudaqx"
Expand All @@ -29,5 +28,5 @@ RUN mkdir -p /workspaces/cudaqx/cudaq && cd /workspaces/cudaqx/cudaq \
&& git remote add origin https://github.com/${CUDAQ_REPO} \
&& git fetch -q --depth=1 origin ${CUDAQ_COMMIT} \
&& git reset --hard FETCH_HEAD \
&& bash ../build_cudaq.sh --python-version ${python_version} ${cudaq_ninja_jobs_arg} \
&& bash ../build_cudaq.sh --python-version ${python_version} \
&& rm -rf build

0 comments on commit d9c1ecd

Please sign in to comment.