Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deno arm build are now available in denoland/deno main repo #8913

Merged
merged 1 commit into from
Feb 29, 2024
Merged
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
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
Loading