aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authorGautham <ahgamut@gmail.com>2024-04-21 01:12:59 -0500
committerGautham <ahgamut@gmail.com>2024-04-21 01:12:59 -0500
commit3f40c8d7fba70742e3ace768ddf62e2f5e5c01ea (patch)
tree5e092cdbd8b22316169d835f20697c06c828b19e /.github
parentsimplify build to use only cosmocc (diff)
fix typo
Diffstat (limited to '.github')
-rw-r--r--.github/cosmo/build8
-rw-r--r--.github/workflows/release.yml2
2 files changed, 5 insertions, 5 deletions
diff --git a/.github/cosmo/build b/.github/cosmo/build
index 3b385ca8..a9515c35 100644
--- a/.github/cosmo/build
+++ b/.github/cosmo/build
@@ -7,15 +7,15 @@ COSMO_DIR="/sc/cosmocc"
X86_64_CC="/sc/cosmocc/bin/x86_64-unknown-cosmo-cc"
X86_64_AR="/sc/cosmocc/bin/x86_64-unknown-cosmo-ar"
mkdir -p /sc/cosmocc/x86_64
-make CC="$X86_64_CC" AR="$X86_64_AR" HAS_SHARED=0 JANET_NO_AMALG=1
+make -j CC="$X86_64_CC" AR="$X86_64_AR" HAS_SHARED=0 JANET_NO_AMALG=1
cp build/janet /sc/cosmocc/x86_64/janet
make clean
# build aarch64
AARCH64_CC="/sc/cosmocc/bin/aarch64-unknown-cosmo-cc"
AARCH64_AR="/sc/cosmocc/bin/aarch64-unknown-cosmo-ar"
-mkdir -p /sc/cosmocc/arch64
-make CC="$AARCH64_CC" AR="$AARCH64_AR" HAS_SHARED=0 JANET_NO_AMALG=1
+mkdir -p /sc/cosmocc/aarch64
+make -j CC="$AARCH64_CC" AR="$AARCH64_AR" HAS_SHARED=0 JANET_NO_AMALG=1
cp build/janet /sc/cosmocc/aarch64/janet
make clean
@@ -35,4 +35,4 @@ apefat () {
cp "$3" "$TARG_FOLD/$OLDNAME_AARCH64.aarch64"
}
-apefat ./janet.com /sc/cosmocc/x86_64/janet /sc/cosmocc/aarch64/janet
+apefat /sc/cosmocc/janet.com /sc/cosmocc/x86_64/janet /sc/cosmocc/aarch64/janet
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 6d9d9ea2..4c19750b 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -86,4 +86,4 @@ jobs:
with:
draft: true
files: |
- /sc/superconfigure/results/bin/janet.com
+ /sc/cosmocc/janet.com