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

arm64 support #35

Merged
merged 9 commits into from
Oct 10, 2018
Merged

arm64 support #35

merged 9 commits into from
Oct 10, 2018

Conversation

435vic
Copy link

@435vic 435vic commented Oct 9, 2018

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...

[22:42:09] 'vscode-linux-arm64-prepare-rpm' errored after 12 ms
[22:42:09] TypeError: Cannot read property 'join' of undefined
    at Gulp.<anonymous> (/home/travis/build/435vic/vscodium/vscode/build/gulpfile.vscode.linux.js:151:63)
    at module.exports (/home/travis/build/435vic/vscodium/vscode/node_modules/orchestrator/lib/runTask.js:34:7)
    at Gulp.Orchestrator._runTask (/home/travis/build/435vic/vscodium/vscode/node_modules/orchestrator/index.js:273:3)
    at Gulp.Orchestrator._runStep (/home/travis/build/435vic/vscodium/vscode/node_modules/orchestrator/index.js:214:10)
    at /home/travis/build/435vic/vscodium/vscode/node_modules/orchestrator/index.js:279:18
    at finish (/home/travis/build/435vic/vscodium/vscode/node_modules/orchestrator/lib/runTask.js:21:8)
    at cb (/home/travis/build/435vic/vscodium/vscode/node_modules/orchestrator/lib/runTask.js:29:3)
    at /home/travis/build/435vic/vscodium/vscode/build/lib/util.js:174:24
    at next (/home/travis/build/435vic/vscodium/vscode/node_modules/rimraf/rimraf.js:74:7)
    at CB (/home/travis/build/435vic/vscodium/vscode/node_modules/rimraf/rimraf.js:110:9)

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.

Copy link
Member

@stripedpajamas stripedpajamas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you so much for this PR @435vic. It looks immensely helpful. I added some comments.

@JL2210 correct me if I'm wrong, but we will probably want to leave #6 open until we have normal arm support as well as arm64 support.

check_tags.sh Outdated Show resolved Hide resolved
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
Copy link
Member

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
Copy link
Member

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.

@435vic
Copy link
Author

435vic commented Oct 10, 2018

Sure! Will be working on it now.

@435vic
Copy link
Author

435vic commented Oct 10, 2018

Just commited the changes.

check_tags.sh Outdated Show resolved Hide resolved
Whoops, commited here instead of arm64-myrepo branch.
@stripedpajamas stripedpajamas merged commit c1bdb38 into VSCodium:master Oct 10, 2018
@435vic 435vic deleted the arm64-support branch October 10, 2018 17:37
@JL2210
Copy link
Contributor

JL2210 commented Oct 10, 2018

Yes, we do. AArch64 Chromebooks can't run AArch64 apps.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants