Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 374c0cd

Browse filesBrowse files
committed
fix: fallback to the latest doxygen on Linux arm
1 parent 2250f08 commit 374c0cd
Copy full SHA for 374c0cd

File tree

Expand file treeCollapse file tree

5 files changed

+6
-5
lines changed
Filter options
Expand file treeCollapse file tree

5 files changed

+6
-5
lines changed

‎dist/legacy/setup-cpp.js

Copy file name to clipboardExpand all lines: dist/legacy/setup-cpp.js
+1-1Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/legacy/setup-cpp.js.map

Copy file name to clipboardExpand all lines: dist/legacy/setup-cpp.js.map
+1-1Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/modern/setup-cpp.mjs

Copy file name to clipboardExpand all lines: dist/modern/setup-cpp.mjs
+1-1Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

‎dist/modern/setup-cpp.mjs.map

Copy file name to clipboardExpand all lines: dist/modern/setup-cpp.mjs.map
+1-1Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/doxygen/doxygen.ts

Copy file name to clipboardExpand all lines: src/doxygen/doxygen.ts
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import { getVersion } from "../versions/versions.js"
1313
import { pathExists } from "path-exists"
1414
import retry from "retry-as-promised"
1515
import { rcOptions } from "../cli-options.js"
16+
import { arm64 } from "../utils/env/arch.js"
1617
import { hasDnf } from "../utils/env/hasDnf.js"
1718
import { isArch } from "../utils/env/isArch.js"
1819
import { isUbuntu } from "../utils/env/isUbuntu.js"
@@ -106,7 +107,7 @@ async function setupLinuxDoxygen(version: string, setupDir: string, arch: string
106107
} else if (hasDnf()) {
107108
return setupDnfPack([{ name: "doxygen", version }])
108109
} else if (isUbuntu()) {
109-
return await installAptPack([{ name: "doxygen", version, fallBackToLatest: false }])
110+
return await installAptPack([{ name: "doxygen", version, fallBackToLatest: arm64.includes(arch) }])
110111
} else {
111112
throw new Error("Unsupported linux distributions")
112113
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.