-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
arm64 support #35
arm64 support #35
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
install_deps.sh
Outdated
@@ -5,6 +5,10 @@ if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then | |||
brew install yarn --without-node | |||
brew install jq zip | |||
else | |||
# Use the default C / C++ compilers, | |||
# because some makefiles default to CC:=gcc: | |||
export CC=/usr/bin/cc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you set these two compiler variables in a conditional block for "$BUILDARCH" == "arm64"
so we are sure it doesn't mess up the other builds? If it means copying some of the apt-get
commands into that block that's fine. The other builds are just very particular so I don't want to risk muddying the waters.
build.sh
Outdated
elif [[ "$BUILDARCH" == "arm64" ]]; then | ||
npm run gulp vscode-linux-arm64-min | ||
npm run gulp vscode-linux-arm64-build-deb | ||
npm run gulp vscode-linux-arm64-build-rpm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As per my other comment, comment out L36 until MS gets arm64 rpm support.
Sure! Will be working on it now. |
Just commited the changes. |
Whoops, commited here instead of arm64-myrepo branch.
Yes, we do. AArch64 Chromebooks can't run AArch64 apps. |
I have modified the files to build and deploy arm64 packages using Travis CI, which fixes issue #6.
However, the RPM builds for arm64 don't work for some reason, I think it's an error on the vscode rpm gulpfile...
The link for the file in the Vscode repository is here.
Other than that, the build went pretty smoothly, deploying both the
.tar.gz
and the.deb
files.