This repository has been archived by the owner on Feb 10, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
22 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
diff --git a/arduino-ide-extension/scripts/download-ls.js b/arduino-ide-extension/scripts/download-ls.js | ||
index f00a8e6..aff22bc 100755 | ||
--- a/arduino-ide-extension/scripts/download-ls.js | ||
+++ b/arduino-ide-extension/scripts/download-ls.js | ||
@@ -79,6 +79,11 @@ | ||
lsSuffix = 'Linux_64bit.tar.gz'; | ||
clangdSuffix = 'Linux_64bit'; | ||
break; | ||
+ case 'linux-arm64': | ||
+ clangdExecutablePath = path.join(build, 'clangd'); | ||
+ lsSuffix = 'Linux_ARM64.tar.gz'; | ||
+ clangdSuffix = 'Linux_ARM64'; | ||
+ break; | ||
case 'win32-x64': | ||
clangdExecutablePath = path.join(build, 'clangd.exe'); | ||
lsSuffix = 'Windows_64bit.zip'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
#!/bin/bash | ||
export ZIP_DIR=~/src/arduino-ide-builds | ||
apt-get install libxkbfile-dev libsecret-1-dev | ||
sudo apt-get install libxkbfile-dev libsecret-1-dev | ||
git clone https://github.com/arduino/arduino-ide | ||
cd arduino-ide | ||
patch -p1 < ../arduino-ide-raspberrypi/arduino-ide.patch | ||
export ARD_DIR=$PWD | ||
cd $ARD_DIR/arduino-ide-extension/ | ||
mkdir build | ||
|
@@ -13,10 +14,8 @@ cd $ARD_DIR | |
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash | ||
. ~/.config/nvm/nvm.sh | ||
. ~/.config/nvm/bash_completion | ||
nvm install 12.14.1 | ||
nvm install 14.0.0 | ||
npm install --global yarn | ||
# the version numbers are those found in the x86_64 linux build | ||
npm install "[email protected]" "[email protected]" "[email protected]" "[email protected]" "[email protected]" "[email protected]" "vscode-textmate" "@octokit/core@>=3" | ||
yarn install | ||
yarn | ||
(cd electron-app; yarn theia rebuild:electron ) | ||
|