Skip to content

Commit 737734a

Browse files
Echo CUDA_CXX
Signed-off-by: Dillon Cullinan <[email protected]>
1 parent a290412 commit 737734a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

container/Dockerfile.sglang

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -529,9 +529,10 @@ RUN --mount=type=secret,id=aws-key-id,env=AWS_ACCESS_KEY_ID \
529529
export CMAKE_C_COMPILER_LAUNCHER="sccache" && \
530530
export CMAKE_CXX_COMPILER_LAUNCHER="sccache" && \
531531
export CMAKE_CUDA_COMPILER_LAUNCHER="sccache" && \
532-
export CC="gcc" && \
533-
export CXX="g++" && \
534-
export CUDA_CXX="nvcc" && \
532+
export CC=$(which gcc) && \
533+
export CXX=$(which g++) && \
534+
export CUDA_CXX=$(which nvcc) && \
535+
echo ${CUDA_CXX} && \
535536
cd /sgl-workspace/nvshmem && \
536537
if [ "$GRACE_BLACKWELL" = true ]; then CUDA_ARCH="90;100;120"; else CUDA_ARCH="90"; fi && \
537538
NVSHMEM_SHMEM_SUPPORT=0 \

0 commit comments

Comments
 (0)