-
Couldn't load subscription status.
- Fork 73
[wip] Removed cross-compile patch from llvm-emscripten build #2339
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
anutosh491
merged 17 commits into
emscripten-forge:main
from
kr-2003:remove-c-comp-patch
May 27, 2025
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
41139f3
removed cross-compile patch from llvm-emscripten build
0999854
unset toolchain
54af493
unset toolchain
eed939d
unset toolchain
eae7943
unset toolchain
80bf08d
new subshell for host env
7137bd7
new subshell for host env
fd0b665
clang as compiler
267d1c2
clang as compiler
6473d0d
[de]activation scripts
2be3912
removed trailing .
a0a96c3
running exec
499d15a
running exec
e6a8670
running exec via bash
695a756
running exec via bash
44ae0fd
moved tblgen to build-arch
2dad26e
removed redundant files
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,12 @@ | ||
| #!/bin/bash | ||
|
|
||
| mkdir build | ||
| cd build | ||
| cmake -DLLVM_ENABLE_PROJECTS=clang -DLLVM_TARGETS_TO_BUILD=host -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER="clang" -DCMAKE_CXX_COMPILER="clang++" ../llvm/ | ||
| make llvm-tblgen clang-tblgen -j$(nproc --all) | ||
|
|
||
| mkdir -p $PREFIX/bin | ||
| cp bin/llvm-tblgen $PREFIX/bin/ | ||
| cp bin/clang-tblgen $PREFIX/bin/ | ||
| cp bin/llvm-lit $PREFIX/bin/ | ||
| cp bin/llvm-min-tblgen $PREFIX/bin/ |
This file contains hidden or 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,38 @@ | ||
| context: | ||
| version: 20.1.5 | ||
|
|
||
| package: | ||
| name: llvm-tblgen | ||
| version: ${{ version }} | ||
|
|
||
| source: | ||
| url: https://github.com/llvm/llvm-project/archive/refs/tags/llvmorg-${{ version | ||
| }}.tar.gz | ||
| sha256: 205c436f93a7e185cf9d63ae57e645f23561a4d1bf854f2c5bd78995a43a5c05 | ||
|
|
||
| build: | ||
| number: 0 | ||
|
|
||
| requirements: | ||
| build: | ||
| - cmake | ||
| - make # [unix] | ||
|
|
||
| tests: | ||
| - package_contents: | ||
| files: | ||
| - bin/llvm-tblgen | ||
| - bin/clang-tblgen | ||
|
|
||
| about: | ||
| license: Apache-2.0 WITH LLVM-exception | ||
| license_family: Apache | ||
| license_file: LICENSE.TXT | ||
| summary: The LLVM Project is a collection of modular and reusable compiler and toolchain | ||
| technologies. | ||
| homepage: https://llvm.org | ||
|
|
||
| extra: | ||
| recipe-maintainers: | ||
| - DerThorsten | ||
| - anutosh491 |
This file contains hidden or 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
15 changes: 0 additions & 15 deletions
15
recipes/recipes_emscripten/llvm/patches/cross_compile.patch
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.