Skip to content
Open
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions .github/scripts/setup.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#! /usr/bin/env bash

mv repo/home/coder/.local /home/coder/;
cp repo/home/coder/.gitconfig /root/;
mv repo/home/coder/.gitconfig /home/coder/;
chmod +x /home/coder/.local/bin/*;
chown -R coder:coder /home/coder/;
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
container:
options: -u root
image: pauletaylor/devcontainers:23.06-cpp-cuda11.8-mambaforge-ubuntu22.04
image: rapidsai/devcontainers:23.06-cpp-cuda11.8-mambaforge-ubuntu22.04
env:
JOBS: 1
CMAKE_BUILD_PARALLEL_LEVEL: 1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
container:
options: -u root
image: pauletaylor/devcontainers:23.06-cpp-cuda11.8-mambaforge-ubuntu22.04
image: rapidsai/devcontainers:23.06-cpp-cuda11.8-mambaforge-ubuntu22.04
env:
JOBS: 1
CMAKE_BUILD_PARALLEL_LEVEL: 1
Expand Down
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ USER coder
WORKDIR /home/coder/.cache
WORKDIR /home/coder

COPY --chown=root:root home/coder/.gitconfig /root/
COPY --chown=coder:coder home/coder/.gitconfig /home/coder/
COPY --chown=coder:coder home/coder/.local/bin/* /home/coder/.local/bin/

Expand Down
2 changes: 2 additions & 0 deletions home/coder/.local/bin/build-all
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ build_all() {

cd ~/;

sccache --stop-server 2>/dev/null || SCCACHE_NO_DAEMON=1 sccache --show-stats;

# clone-legion;
clone-legate-core;
clone-cunumeric;
Expand Down
6 changes: 4 additions & 2 deletions home/coder/.local/bin/build-cunumeric-cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
build_cunumeric_cpp() {
set -ex;

sccache --stop-server 2>/dev/null || SCCACHE_NO_DAEMON=1 sccache --show-stats;

# Build + package cuNumeric C++ libs
local cmake_args=(${CMAKE_ARGS:-});
cmake_args+=(-DBUILD_SHARED_LIBS=ON);
Expand All @@ -15,11 +17,11 @@ build_cunumeric_cpp() {

cmake -S ~/cunumeric -B ~/cunumeric/build ${cmake_args[@]} -GNinja;

sccache --show-stats;
sccache --stop-server 2>/dev/null || SCCACHE_NO_DAEMON=1 sccache --show-stats;

time cmake --build ~/cunumeric/build --verbose --parallel ${JOBS:-$(nproc --ignore=1)};

sccache --show-stats;
sccache --stop-server 2>/dev/null || SCCACHE_NO_DAEMON=1 sccache --show-stats;

(
mkdir -p /tmp/out;
Expand Down
6 changes: 4 additions & 2 deletions home/coder/.local/bin/build-legate-cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
build_legate_cpp() {
set -ex;

sccache --stop-server 2>/dev/null || SCCACHE_NO_DAEMON=1 sccache --show-stats;

# Build + package legate.core C++ libs
local cmake_args=(${CMAKE_ARGS:-});
cmake_args+=(-DBUILD_SHARED_LIBS=ON);
Expand Down Expand Up @@ -34,11 +36,11 @@ build_legate_cpp() {
's/= unknown/= unknown + ["--prefix", args.prefix]/' \
~/legate/build/_deps/legion-src/bindings/python/setup.py;

sccache --show-stats;
sccache --stop-server 2>/dev/null || SCCACHE_NO_DAEMON=1 sccache --show-stats;

time cmake --build ~/legate/build --verbose --parallel ${JOBS:-$(nproc --ignore=1)};

sccache --show-stats;
sccache --stop-server 2>/dev/null || SCCACHE_NO_DAEMON=1 sccache --show-stats;

(
mkdir -p /tmp/out;
Expand Down