-
-
Notifications
You must be signed in to change notification settings - Fork 428
Add OSMesa dependency and many related fixes #3226
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
Changes from all commits
Commits
Show all changes
103 commits
Select commit
Hold shift + click to select a range
1d6045a
Add OSMesa support on all OS
Meakk cefad26
try
Meakk e6c763c
issue
Meakk 728420d
simplify
Meakk 753fab0
nop
Meakk 446244d
linux
Meakk 2e4eb5f
fix
Meakk 11e94a4
try
Meakk 6cf09fc
fix
Meakk 42c38e5
foo
Meakk 2138fdf
platform
Meakk e704188
new try
Meakk 70e2579
xml
Meakk c71aef9
try
Meakk 03ce14c
llvmpipe
Meakk f080274
llvm
Meakk d7d7f26
try
Meakk 700be95
wintry
Meakk 9a98b63
mingw
Meakk 5a0fbba
msvc
Meakk 15ef73c
workaround
Meakk 27c6800
cmake
Meakk 5505f14
download
Meakk 356aed2
clean
Meakk e51b344
test
Meakk 85d0108
debug
Meakk ad14c08
archive
Meakk 9b45275
use external action
Meakk 760baf9
almost there (lol I believe)
Meakk 49c738d
static
Meakk 7be9c67
zstd
Meakk 0ab22e5
workaround
Meakk 0f3cabe
debug
Meakk cb5a024
softpipe
Meakk c2abc3d
md
Meakk 3fac425
build llvm
Meakk 508d347
version
Meakk 3bee65f
fix
Meakk cc01358
path
Meakk 7571a3f
all
Meakk f4da142
fixinstall
Meakk ff9f9f3
mesa
Meakk 7809a40
python
Meakk 7c56ac6
llvm
Meakk b6d5e24
rtti
Meakk 17b83d9
zstd
Meakk 268a214
msvc
Meakk c336ab7
link
Meakk a697e27
static llvm
Meakk 61d2c1f
fix python
Meakk 492b339
find_path
Meakk 7402d3f
fix windows build and tree
Meakk 50f708d
ls
Meakk 1afad74
try
Meakk bd4f79a
debug
Meakk 29d2f71
try
Meakk 26d0b40
inc
Meakk 3de7e51
...
Meakk c9d4ba6
fix
Meakk 628c350
remove warning
Meakk 4a25894
clean
Meakk db9cbf1
try
Meakk a22c908
DYLD_LIBRARY_PATH
Meakk b9378a2
macos
Meakk b66c9fb
eh
Meakk b81a126
debug
Meakk d5069e7
fixes
Meakk 5a5572a
style
Meakk 1bd849f
debug
Meakk ebc97d9
more debug
Meakk f3ec116
reorder
Meakk c98075e
cleanup
Meakk b5dcb06
macos: osmesa in ci
Meakk be962b8
debug
Meakk 9a4f0ed
bump vtk
Meakk 8ea74cc
debug
Meakk 89d4db2
tweak
Meakk 3cc9c38
sdktest
Meakk ae038c4
yml
Meakk e8b4638
threshold
Meakk 5ea3a0f
python
Meakk 0cc4808
debug egl
Meakk f15cafc
try fix
Meakk ed27fad
more debug
Meakk d733e60
fix
Meakk f34451b
coverager
Meakk f83b629
clean
Meakk 707fdeb
style
Meakk caae832
review
Meakk 7f11271
style
Meakk 765ce05
review
Meakk 5a339bb
fix python
Meakk f155d6e
fix
Meakk 5146aa3
try fix python
Meakk 8bcdf38
tests
Meakk d0a74bc
python
Meakk cfbe075
style
Meakk 125f3e2
rev
Meakk 3a4211c
review
Meakk 8567456
doc
Meakk 0b3bcbc
timeout
Meakk 7fa94cf
sdk scene
Meakk 6f679dd
review
Meakk 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
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
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
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
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,105 @@ | ||
| name: "Install LLVM Dependency" | ||
| description: "Install LLVM Dependency using cache when possible" | ||
| inputs: | ||
| versions_file: | ||
| description: "File to recover versions from" | ||
| required: true | ||
| mindeps_label: | ||
| description: "Label to flag for minimum versions dependencies" | ||
| required: false | ||
| default: "no-mindeps" | ||
| cpu: | ||
| description: "CPU architecture to build for" | ||
| required: false | ||
| default: "x86_64" | ||
|
|
||
| runs: | ||
| using: "composite" | ||
| steps: | ||
| - name: Check required inputs | ||
| shell: bash | ||
| run: | | ||
| [[ "${{inputs.versions_file}}" ]] || { echo "versions_file is empty" ; exit 1; } | ||
|
|
||
| - name: Extract llvm version | ||
| id: llvm_ver | ||
| uses: f3d-app/extract-version-action@main | ||
| with: | ||
| file: ${{inputs.versions_file}} | ||
| name: llvm | ||
| minver_label: ${{inputs.mindeps_label == 'mindeps' && 'minver' || ''}} | ||
|
|
||
| - name: Extract global cache index | ||
| id: global_idx | ||
| uses: f3d-app/extract-version-action@main | ||
| with: | ||
| file: ${{inputs.versions_file}} | ||
| special_name: global_cache_index | ||
|
|
||
| - name: Cache llvm | ||
| id: cache-llvm | ||
| continue-on-error: true # https://github.com/actions/cache/issues/1754 | ||
| uses: actions/cache/restore@v6 | ||
| with: | ||
| path: dependencies/llvm_install | ||
| key: llvm-${{steps.llvm_ver.outputs.extract}}-${{runner.os}}-${{inputs.cpu}}-${{steps.global_idx.outputs.extract}}-1 | ||
|
|
||
| - name: Checkout LLVM | ||
| if: steps.cache-llvm.outputs.cache-hit != 'true' | ||
| uses: actions/checkout@v7 | ||
| with: | ||
| repository: llvm/llvm-project | ||
| submodules: true | ||
| path: "./dependencies/llvm" | ||
| ref: llvmorg-${{steps.llvm_ver.outputs.extract}} | ||
|
|
||
| - name: Setup LLVM | ||
| if: steps.cache-llvm.outputs.cache-hit != 'true' | ||
| working-directory: ${{github.workspace}}/dependencies | ||
| shell: bash | ||
| run: | | ||
| mkdir llvm_build | ||
| mkdir llvm_install | ||
|
|
||
| - name: Configure LLVM | ||
| if: steps.cache-llvm.outputs.cache-hit != 'true' | ||
| working-directory: ${{github.workspace}}/dependencies/llvm_build | ||
| shell: bash | ||
| run: > | ||
| cmake ../llvm/llvm | ||
| -DCMAKE_BUILD_TYPE=Release | ||
| -DCMAKE_INSTALL_PREFIX="../llvm_install" | ||
| -DLLVM_TARGETS_TO_BUILD="host" | ||
| -DLLVM_ENABLE_PROJECTS="" | ||
| -DLLVM_BUILD_TOOLS=ON | ||
| -DLLVM_BUILD_TESTS=OFF | ||
| -DLLVM_BUILD_EXAMPLES=OFF | ||
| -DLLVM_BUILD_BENCHMARKS=OFF | ||
| -DLLVM_INCLUDE_TESTS=OFF | ||
| -DLLVM_INCLUDE_EXAMPLES=OFF | ||
| -DLLVM_INCLUDE_BENCHMARKS=OFF | ||
| -DLLVM_INCLUDE_DOCS=OFF | ||
| -DLLVM_ENABLE_ZLIB=OFF | ||
| -DLLVM_ENABLE_ZSTD=OFF | ||
| -DLLVM_ENABLE_LIBXML2=OFF | ||
| -DLLVM_ENABLE_RTTI=OFF | ||
| ${{ runner.os == 'macOS' && '-DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DCMAKE_OSX_DEPLOYMENT_TARGET=14.0' || null }} | ||
| ${{ runner.os == 'Windows' && '-Ax64 -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreadedDLL' || null }} | ||
|
|
||
| - name: Build LLVM | ||
| if: steps.cache-llvm.outputs.cache-hit != 'true' | ||
| working-directory: ${{github.workspace}}/dependencies/llvm_build | ||
| shell: bash | ||
| run: cmake --build . --parallel 2 --target install --config Release | ||
|
|
||
| - name: Copy to install | ||
| working-directory: ${{github.workspace}}/dependencies/llvm_install | ||
| shell: bash | ||
| run: cp -r ./* ../install/ | ||
|
|
||
| - name: Save cache | ||
| if: steps.cache-llvm.outputs.cache-hit != 'true' | ||
| uses: actions/cache/save@v6 | ||
| with: | ||
| key: ${{ steps.cache-llvm.outputs.cache-primary-key }} | ||
| path: dependencies/llvm_install |
Oops, something went wrong.
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.