Skip to content

Commit 7bd087e

Browse files
committed
Rename and rewrite Arc-Runtime into Arc-Sys
1 parent 2a6f5bb commit 7bd087e

File tree

193 files changed

+14976
-10226
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

193 files changed

+14976
-10226
lines changed

.github/continuous-integration.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ function run-mlir-tests {
5858
run-step ninja -C $ARC_MLIR_BUILD/llvm-build/ check-arc-mlir
5959
}
6060

61-
function run-runtime-tests {
62-
cd arc-runtime
61+
function run-sys-tests {
62+
cd arc-sys
6363
run-step arc-cargo "$@"
6464
}
6565

@@ -123,8 +123,8 @@ case $1 in
123123
;;
124124

125125
cargo)
126-
# We assume this is a arc-runtime cargo command line
126+
# We assume this is a arc-sys cargo command line
127127
shift
128-
run-runtime-tests "$@"
128+
run-sys-tests "$@"
129129
;;
130130
esac

.github/workflows/gh-pages.yml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,12 @@ jobs:
3232
toolchain: nightly
3333
override: true
3434

35-
- name: Cache arc-runtime-docs
36-
id: cache-arc-runtime-docs
37-
uses: actions/cache@v2
38-
3935
- name: Cache arc-sys-docs
4036
id: cache-arc-sys-docs
4137
uses: actions/cache@v3
4238
with:
4339
path: arc-docs/src/target
44-
key: ${{ runner.os }}-cargo-${{ hashFiles('arc-runtime/**') }}
40+
key: ${{ runner.os }}-cargo-${{ hashFiles('arc-sys/**') }}
4541

4642
- name: Cache arc-preprocessor
4743
id: cache-arc-preprocessor
@@ -71,11 +67,13 @@ jobs:
7167
path: ~/.cargo/bin/zola
7268
key: ${{ runner.os }}-cargo-${{ env.ZOLA_VERSION }}
7369

74-
- name: Build arc-runtime-docs
75-
if: steps.cache-arc-runtime-docs.outputs.cache-hit != 'true'
76-
run: |
77-
cargo +nightly doc --document-private-items --no-deps --target-dir=arc-docs/src/target --manifest-path=arc-runtime/Cargo.toml
78-
cargo +nightly doc --document-private-items --no-deps --target-dir=arc-docs/src/target --manifest-path=arc-runtime/macros/Cargo.toml
70+
- name: Build arc-sys-docs
71+
if: steps.cache-arc-sys-docs.outputs.cache-hit != 'true'
72+
env:
73+
ARC_LANG_CMD: 'NONE' # Do not build Arc-Lang
74+
ARC_MLIR_CMD: 'NONE' # Do not build Arc-MLIR
75+
RUSTDOCFLAGS: '--enable-index-page -Zunstable-options'
76+
run: cargo +nightly doc --document-private-items --no-deps --target-dir=arc-docs/src/target --manifest-path=arc-sys/Cargo.toml
7977

8078
- name: Build arc-preprocessor
8179
if: steps.cache-arc-preprocessor.outputs.cache-hit != 'true'

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
4545
mv README.md "$package"
4646
mv arc-mlir/build/llvm-build/bin/{arc,arc-lang,arc-mlir} "$package/bin"
47-
mv {arc-runtime,arc-lang/stdlib} "$package/share"
47+
mv {arc-sys,arc-lang/stdlib} "$package/share"
4848
4949
tar cvf "$package.tar" "$package"
5050

.github/workflows/test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
paths:
66
- "arc-lang/**"
77
- "arc-mlir/**"
8-
- "arc-runtime/**"
8+
- "arc-sys/**"
99
- "arc-python/**"
1010
- ".github/workflows/test.yml"
1111
branches:
@@ -38,7 +38,7 @@ jobs:
3838
env:
3939
ARC_MLIR_BUILD: ${{ format('{0}/build', runner.temp) }}
4040

41-
- name: Pre-build arc-runtime
41+
- name: Pre-build arc-sys
4242
run: ./.github/continuous-integration.sh cargo test
4343
env:
4444
ARC_MLIR_BUILD: ${{ format('{0}/build', runner.temp) }}
@@ -48,15 +48,15 @@ jobs:
4848
env:
4949
ARC_MLIR_BUILD: ${{ format('{0}/build', runner.temp) }}
5050

51-
- name: "Run arc-runtime test: clippy"
51+
- name: "Run arc-sys test: clippy"
5252
run: ./.github/continuous-integration.sh cargo clippy
5353
env:
5454
ARC_MLIR_BUILD: ${{ format('{0}/build', runner.temp) }}
5555

5656
- name: "Ccache/Sccache statistics"
5757
run: ./.github/continuous-integration.sh check-ccache
5858

59-
# - name: "Run arc-runtime test: fmt -- -v --check"
59+
# - name: "Run arc-sys test: fmt -- -v --check"
6060
# run: ./.github/continuous-integration.sh cargo fmt -- -v --check
6161
# env:
6262
# ARC_MLIR_BUILD: ${{ format('{0}/build', runner.temp) }}

arc-runtime/.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

arc-runtime/Cargo.toml

Lines changed: 0 additions & 45 deletions
This file was deleted.

arc-runtime/examples/consensus/Cargo.toml

Lines changed: 0 additions & 13 deletions
This file was deleted.

arc-runtime/examples/consensus/omnipaxos.conf

Lines changed: 0 additions & 6 deletions
This file was deleted.

arc-runtime/examples/consensus/src/ble.rs

Lines changed: 0 additions & 132 deletions
This file was deleted.

arc-runtime/examples/consensus/src/config.rs

Lines changed: 0 additions & 33 deletions
This file was deleted.

0 commit comments

Comments
 (0)