Skip to content

Commit

Permalink
deno arm build for 1.41 is now available in denoland/deno main repo
Browse files Browse the repository at this point in the history
Before it was built in another project https://github.com/LukeChannings/deno-arm64/
  • Loading branch information
cderv committed Feb 28, 2024
1 parent 2485d18 commit ef12ecf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package/scripts/common/utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ else
DENOFILES=deno-x86_64-unknown-linux-gnu.zip
DENO_DIR=x86_64
elif [[ $NIXARCH == "aarch64" ]]; then
DENOURL=https://github.com/LukeChannings/deno-arm64/releases/download
DENOFILES=deno-linux-arm64.zip
DENOURL=https://github.com/denoland/deno/releases/download
DENOFILES=deno-aarch64-unknown-linux-gnu.zip
DENO_DIR=aarch64
else
echo "configure script failed: unrecognized architecture " ${NIXARCH}
Expand Down
7 changes: 5 additions & 2 deletions package/src/common/dependencies/deno.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,14 @@ export function deno(version: string): Dependency {

// Handle the configuration for this dependency
const linuxAmd64DenoRelease = () => {
// Before 1.41 available at:
// https://github.com/LukeChannings/deno-arm64/releases/download/v1.28.2/deno-linux-arm64.zip
// but after 1.41 available at:
// https://github.com/denoland/deno/releases/download/v1.41.0/deno-aarch64-unknown-linux-gnu.zip
return {
filename: `deno-linux-arm64.zip`,
filename: `deno-aarch64-unknown-linux-gnu.zip`,
url:
`https://github.com/LukeChannings/deno-arm64/releases/download/${version}/`,
`https://github.com/denoland/deno/releases/download/${version}/`,
configure: async (_config: Configuration, path: string) => {
const vendor = Deno.env.get("QUARTO_VENDOR_BINARIES");
if (vendor === undefined || vendor === "true") {
Expand Down

0 comments on commit ef12ecf

Please sign in to comment.