Skip to content

Update llvm to 20.1.0 #2028

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 6 commits into from
Mar 12, 2025
Merged

Conversation

anutosh491
Copy link
Collaborator

No description provided.

@anutosh491 anutosh491 added the 3.1.73 Emscripten v3.1.73 label Mar 12, 2025
@anutosh491
Copy link
Collaborator Author

Not sure why I should be seeing this error

 │ │ In file included from $SRC_DIR/llvm/lib/Frontend/OpenACC/ACC.cpp:10:
 │ │ $SRC_DIR/build/include/llvm/Frontend/OpenACC/ACC.h.inc:192:1: error: unknown type name 'LLVM_ABI'
 │ │   192 | LLVM_ABI Directive getOpenACCDirectiveKind(llvm::StringRef Str);
 │ │       | ^
 │ │ $SRC_DIR/build/include/llvm/Frontend/OpenACC/ACC.h.inc:192:19: error: expected ';' after top level declarator
 │ │   192 | LLVM_ABI Directive getOpenACCDirectiveKind(llvm::StringRef Str);

When I build it locally I see the following in build/include/llvm/Frontend/OpenAcc/Acc.h.inc

#ifndef LLVM_OpenACC_INC
#define LLVM_OpenACC_INC

#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/BitmaskEnum.h"
#include "llvm/Support/Compiler.h"
....

Which means we are including Compiler.h that defines LLVM_ABI

@anutosh491 anutosh491 merged commit 41c482c into emscripten-forge:emscripten-3.1.73 Mar 12, 2025
1 check passed
@anutosh491 anutosh491 deleted the llvm20 branch March 12, 2025 10:01
This was referenced Apr 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.1.73 Emscripten v3.1.73
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant