Skip to content

Enable the AVR backend of LLVM #49006

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

Merged
merged 1 commit into from
Mar 15, 2023
Merged

Conversation

Seelengrab
Copy link
Contributor

@Seelengrab Seelengrab commented Mar 15, 2023

This PR enables the AVR backend of LLVM. @vchuravy mentioned on Slack I should open this, to make it easier for others debugging AVRCompiler/GPUCompiler related issues so they don't have to build LLVM locally. The backend itself is not that large (1.5MB), a bit smaller than BPF (1.8MB):

[sukera@tower lib]$ du -shc libLLVMBPF*
60K	libLLVMBPFAsmParser.a
1.6M	libLLVMBPFCodeGen.a
156K	libLLVMBPFDesc.a
20K	libLLVMBPFDisassembler.a
12K	libLLVMBPFInfo.a
1.8M	total
[sukera@tower lib]$ du -shc libLLVMAVR*
76K	libLLVMAVRAsmParser.a
1.1M	libLLVMAVRCodeGen.a
316K	libLLVMAVRDesc.a
20K	libLLVMAVRDisassembler.a
8.0K	libLLVMAVRInfo.a
1.5M	total

This does NOT mean that julia itself builds with AVR or is supported to run in any support tier other than "there is no support".

@gbaraldi
Copy link
Member

This won't change the version from BinaryBuilder but I'm going to add it when I next rebuild it.

@vchuravy vchuravy merged commit 4beea98 into JuliaLang:master Mar 15, 2023
@giordano
Copy link
Contributor

@vchuravy
Copy link
Member

Yeah eventually for Julia 1.10

@Seelengrab Seelengrab deleted the avr_backend branch March 19, 2023 21:25
oscardssmith pushed a commit to oscardssmith/julia that referenced this pull request Mar 20, 2023
Co-authored-by: Sukera <Seelengrab@users.noreply.github.com>
Xnartharax pushed a commit to Xnartharax/julia that referenced this pull request Apr 19, 2023
Co-authored-by: Sukera <Seelengrab@users.noreply.github.com>
@vchuravy vchuravy added the backport 1.9 Change should be backported to release-1.9 label Apr 20, 2023
@vchuravy
Copy link
Member

@KristofferC this change accidentally snuck into LLVM 14.0.6+3 JuliaPackaging/Yggdrasil#6615

I could either rebuild LLVM again with AVR disabled or we backport this PR.

KristofferC pushed a commit that referenced this pull request Apr 22, 2023
Co-authored-by: Sukera <Seelengrab@users.noreply.github.com>
(cherry picked from commit 4beea98)
@KristofferC KristofferC removed the backport 1.9 Change should be backported to release-1.9 label Apr 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants