-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
v23.07.00
- Loading branch information
Showing
295 changed files
with
11,311 additions
and
2,469 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# This file controls which features from the `ops-bot` repository below are enabled. | ||
# - https://github.com/rapidsai/ops-bot | ||
|
||
copy_prs: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,109 @@ | ||
name: Build cunumeric on GH | ||
|
||
concurrency: | ||
group: ci-gpu-on-${{ github.event_name }}-from-${{ github.ref_name }} | ||
cancel-in-progress: true | ||
|
||
on: | ||
push: | ||
branches: | ||
- "pull-request/[0-9]+" | ||
- "branch-*" | ||
|
||
jobs: | ||
build: | ||
permissions: | ||
id-token: write # This is required for configure-aws-credentials | ||
contents: read # This is required for actions/checkout | ||
|
||
# Ref: https://docs.rapids.ai/resources/github-actions/#cpu-labels for `linux-amd64-cpu4` | ||
runs-on: ${{ github.repository == 'nv-legate/cunumeric' && 'linux-amd64-cpu4' || 'ubuntu-latest' }} | ||
container: | ||
options: -u root | ||
image: rapidsai/devcontainers:23.06-cpp-cuda11.8-mambaforge-ubuntu22.04 | ||
volumes: | ||
- ${{ github.workspace }}/out:/tmp/out | ||
env: | ||
DEFAULT_CONDA_ENV: legate | ||
PYTHONDONTWRITEBYTECODE: 1 | ||
SCCACHE_REGION: us-east-2 | ||
SCCACHE_BUCKET: rapids-sccache-east | ||
SCCACHE_S3_KEY_PREFIX: legate-cunumeric-dev | ||
GH_TOKEN: "${{ secrets.PERSONAL_ACCESS_TOKEN || secrets.GITHUB_TOKEN }}" | ||
GITHUB_TOKEN: "${{ secrets.PERSONAL_ACCESS_TOKEN || secrets.GITHUB_TOKEN }}" | ||
VAULT_HOST: "${{ secrets.PERSONAL_ACCESS_TOKEN && 'https://vault.ops.k8s.rapids.ai' || '' }}" | ||
VAULT_S3_TTL: "28800s" # 8 hours | ||
|
||
steps: | ||
- name: Checkout legate.core | ||
uses: actions/checkout@v3 | ||
with: | ||
repository: nv-legate/legate.core | ||
fetch-depth: 0 | ||
path: legate | ||
|
||
- name: Checkout cunumeric (= this repo) | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
path: cunumeric | ||
|
||
- name: Setup | ||
shell: bash -eo pipefail {0} | ||
run: | | ||
export LEGATE_SHA=$(cat cunumeric/cmake/versions.json | jq -r '.packages.legate_core.git_tag') | ||
echo "Checking out LEGATE_SHA: ${LEGATE_SHA}" | ||
git -C legate checkout $LEGATE_SHA | ||
cp -ar legate/continuous_integration/home/coder/.gitconfig /home/coder/; | ||
cp -ar legate/continuous_integration/home/coder/.local /home/coder/; | ||
mv legate /home/coder/legate | ||
cp -ar cunumeric/continuous_integration/home/coder/.local/bin/* /home/coder/.local/bin/; | ||
mv cunumeric /home/coder/cunumeric; | ||
chmod a+x /home/coder/.local/bin/*; | ||
chown -R coder:coder /home/coder/; | ||
chown -R coder:coder /tmp/out; | ||
- if: github.repository == 'nv-legate/cunumeric' | ||
name: Get AWS credentials for sccache bucket | ||
uses: aws-actions/configure-aws-credentials@v2 | ||
with: | ||
aws-region: us-east-2 | ||
role-duration-seconds: 28800 # 8 hours | ||
role-to-assume: arn:aws:iam::279114543810:role/gha-oidc-nv-legate | ||
|
||
- name: Create conda env | ||
shell: su coder {0} | ||
run: cd ~/; exec entrypoint make-conda-env; | ||
|
||
- name: Build legate.core C++ library | ||
shell: su coder {0} | ||
run: cd ~/; exec entrypoint build-legate-cpp; | ||
|
||
- name: Build legate.core Python Wheel | ||
shell: su coder {0} | ||
run: cd ~/; exec entrypoint build-legate-wheel; | ||
|
||
- name: Build legate.core Conda Package | ||
shell: su coder {0} | ||
run: cd ~/; exec entrypoint build-legate-conda; | ||
|
||
- name: Build cunumeric C++ library | ||
shell: su coder {0} | ||
run: cd ~/; exec entrypoint build-cunumeric-cpp; | ||
|
||
- name: Build cunumeric Python Wheel | ||
shell: su coder {0} | ||
run: cd ~/; exec entrypoint build-cunumeric-wheel; | ||
|
||
- name: Build cunumeric Conda Package | ||
shell: su coder {0} | ||
run: cd ~/; exec entrypoint build-cunumeric-conda; | ||
|
||
- name: Upload build output | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: "cunumeric-${{ github.sha }}" | ||
path: ./out/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
{ | ||
"packages" : { | ||
"legate_core" : { | ||
"version": "23.07.00", | ||
"git_url" : "https://github.com/nv-legate/legate.core.git", | ||
"git_tag" : "37596159b1f8f06439fdc95d6090bbc4315c302c" | ||
"git_shallow": false, | ||
"always_download": false, | ||
"git_tag" : "ac75ac05a9056f49729797415ee489b45686a528" | ||
} | ||
} | ||
} |
Oops, something went wrong.