Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update build instructions for macbook #117

Merged
merged 2 commits into from
Mar 8, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 12 additions & 5 deletions Building.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,26 @@ available on this repository. It will always contain a recent version of CUDA-Q
(currently updated approximately weekly).

The instructions below provide a complete set of commands to get you up and
running. They assume you are running with the `amd64` platform; you need to
adjust to `arm64` if you are using ARM machines.
running. There are images available called

- `ghcr.io/nvidia/cudaqx-dev:latest-amd64` for AMD64 platforms
- `ghcr.io/nvidia/cudaqx-dev:latest-arm64` for ARM64 platforms

With the image appropriate for your system, run

```bash
docker pull ghcr.io/nvidia/cudaqx-dev:latest-amd64
docker run -it --gpus all --name cudaqx-dev ghcr.io/nvidia/cudaqx-dev:latest-amd64
docker pull <image-name>
docker run -it --gpus all --name cudaqx-dev <image-name>
```

If your system does not have local GPUs (eg. a Macbook), omit the `--gpus all`
argument.

Then inside the container...

```bash
# Then inside the container
export CUDAQ_INSTALL_PREFIX=~/.cudaq
export CUDAQ_INSTALL_PREFIX=/usr/local/cudaq
export CUDAQX_INSTALL_PREFIX=~/.cudaqx
cd /workspaces

Expand Down