build: try to fix build for arm
This commit is contained in:
parent
7586ed4633
commit
34f224cc5d
1
.github/workflows/build-linux-arm64.yml
vendored
1
.github/workflows/build-linux-arm64.yml
vendored
|
@ -33,6 +33,7 @@ jobs:
|
||||||
- name: Install ARM64 cross-compilation dependencies
|
- name: Install ARM64 cross-compilation dependencies
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
run: |
|
run: |
|
||||||
|
sudo apt-get update || true
|
||||||
sudo dpkg --add-architecture arm64
|
sudo dpkg --add-architecture arm64
|
||||||
echo "deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports jammy main restricted" | sudo tee -a /etc/apt/sources.list
|
echo "deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports jammy main restricted" | sudo tee -a /etc/apt/sources.list
|
||||||
echo "deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports jammy-updates main restricted" | sudo tee -a /etc/apt/sources.list
|
echo "deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports jammy-updates main restricted" | sudo tee -a /etc/apt/sources.list
|
||||||
|
|
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
|
@ -35,9 +35,6 @@ jobs:
|
||||||
with:
|
with:
|
||||||
version: latest
|
version: latest
|
||||||
cache: true
|
cache: true
|
||||||
- if: runner.os == 'Windows'
|
|
||||||
run: pip install meson ninja mako
|
|
||||||
name: Install Meson for spirv-to-dxil-sys
|
|
||||||
- name: Build dynamic library
|
- name: Build dynamic library
|
||||||
run: cargo run -p librashader-build-script -- --profile ${{ matrix.profile }}
|
run: cargo run -p librashader-build-script -- --profile ${{ matrix.profile }}
|
||||||
- name: Upload build artifacts
|
- name: Upload build artifacts
|
||||||
|
|
|
@ -12,9 +12,7 @@
|
||||||
<cargoProject FILE="$PROJECT_DIR$/Cargo.toml" />
|
<cargoProject FILE="$PROJECT_DIR$/Cargo.toml" />
|
||||||
</component>
|
</component>
|
||||||
<component name="ChangeListManager">
|
<component name="ChangeListManager">
|
||||||
<list default="true" id="02471831-07cd-4975-a00c-e042450023a1" name="Changes" comment="rt(wgpu): create pipeline">
|
<list default="true" id="02471831-07cd-4975-a00c-e042450023a1" name="Changes" comment="rt(wgpu): create pipeline" />
|
||||||
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
|
||||||
</list>
|
|
||||||
<option name="SHOW_DIALOG" value="false" />
|
<option name="SHOW_DIALOG" value="false" />
|
||||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||||
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
||||||
|
@ -56,34 +54,34 @@
|
||||||
<option name="hideEmptyMiddlePackages" value="true" />
|
<option name="hideEmptyMiddlePackages" value="true" />
|
||||||
<option name="showLibraryContents" value="true" />
|
<option name="showLibraryContents" value="true" />
|
||||||
</component>
|
</component>
|
||||||
<component name="PropertiesComponent">{
|
<component name="PropertiesComponent"><![CDATA[{
|
||||||
"keyToString": {
|
"keyToString": {
|
||||||
"Cargo.Build `Test back::wgsl::test::test_into`.executor": "Run",
|
"Cargo.Build `Test back::wgsl::test::test_into`.executor": "Run",
|
||||||
"Cargo.Build `Test reflect::cross::test::test_into`.executor": "Run",
|
"Cargo.Build `Test reflect::cross::test::test_into`.executor": "Run",
|
||||||
"Cargo.Test back::wgsl::test::test_into.executor": "Run",
|
"Cargo.Test back::wgsl::test::test_into.executor": "Run",
|
||||||
"Cargo.Test front::naga::test::naga_playground (1).executor": "Run",
|
"Cargo.Test front::naga::test::naga_playground (1).executor": "Run",
|
||||||
"Cargo.Test front::naga::test::naga_playground.executor": "Run",
|
"Cargo.Test front::naga::test::naga_playground.executor": "Run",
|
||||||
"Cargo.Test reflect::cross::test::test_into.executor": "Run",
|
"Cargo.Test reflect::cross::test::test_into.executor": "Run",
|
||||||
"Cargo.Test triangle_wgpu.executor": "Run",
|
"Cargo.Test triangle_wgpu.executor": "Run",
|
||||||
"RunOnceActivity.OpenProjectViewOnStart": "true",
|
"RunOnceActivity.OpenProjectViewOnStart": "true",
|
||||||
"RunOnceActivity.RadMigrateCodeStyle": "true",
|
"RunOnceActivity.RadMigrateCodeStyle": "true",
|
||||||
"RunOnceActivity.ShowReadmeOnStart": "true",
|
"RunOnceActivity.ShowReadmeOnStart": "true",
|
||||||
"RunOnceActivity.cidr.known.project.marker": "true",
|
"RunOnceActivity.cidr.known.project.marker": "true",
|
||||||
"RunOnceActivity.readMode.enableVisualFormatting": "true",
|
"RunOnceActivity.readMode.enableVisualFormatting": "true",
|
||||||
"cf.first.check.clang-format": "false",
|
"cf.first.check.clang-format": "false",
|
||||||
"cidr.known.project.marker": "true",
|
"cidr.known.project.marker": "true",
|
||||||
"git-widget-placeholder": "86a88bb2",
|
"git-widget-placeholder": "feat-wgpu-runtime",
|
||||||
"last_opened_file_path": "F:/coding/librashader",
|
"last_opened_file_path": "F:/coding/librashader",
|
||||||
"node.js.detected.package.eslint": "true",
|
"node.js.detected.package.eslint": "true",
|
||||||
"node.js.detected.package.tslint": "true",
|
"node.js.detected.package.tslint": "true",
|
||||||
"node.js.selected.package.eslint": "(autodetect)",
|
"node.js.selected.package.eslint": "(autodetect)",
|
||||||
"node.js.selected.package.tslint": "(autodetect)",
|
"node.js.selected.package.tslint": "(autodetect)",
|
||||||
"nodejs_package_manager_path": "npm",
|
"nodejs_package_manager_path": "npm",
|
||||||
"org.rust.cargo.project.model.PROJECT_DISCOVERY": "true",
|
"org.rust.cargo.project.model.PROJECT_DISCOVERY": "true",
|
||||||
"settings.editor.selected.configurable": "project.propVCSSupport.DirectoryMappings",
|
"settings.editor.selected.configurable": "project.propVCSSupport.DirectoryMappings",
|
||||||
"vue.rearranger.settings.migration": "true"
|
"vue.rearranger.settings.migration": "true"
|
||||||
}
|
}
|
||||||
}</component>
|
}]]></component>
|
||||||
<component name="RecentsManager">
|
<component name="RecentsManager">
|
||||||
<key name="MoveFile.RECENT_KEYS">
|
<key name="MoveFile.RECENT_KEYS">
|
||||||
<recent name="F:\coding\librashader\librashader-reflect\src\back\wgsl" />
|
<recent name="F:\coding\librashader\librashader-reflect\src\back\wgsl" />
|
||||||
|
@ -212,12 +210,12 @@
|
||||||
</configuration>
|
</configuration>
|
||||||
<list>
|
<list>
|
||||||
<item itemvalue="Cargo.Run librashader-build-script" />
|
<item itemvalue="Cargo.Run librashader-build-script" />
|
||||||
|
<item itemvalue="Cargo.Test back::wgsl::test::test_into" />
|
||||||
<item itemvalue="Cargo.Test librashader" />
|
<item itemvalue="Cargo.Test librashader" />
|
||||||
<item itemvalue="Cargo.Test triangle_d3d11" />
|
<item itemvalue="Cargo.Test triangle_d3d11" />
|
||||||
<item itemvalue="Cargo.Test triangle_d3d12" />
|
<item itemvalue="Cargo.Test triangle_d3d12" />
|
||||||
<item itemvalue="Cargo.Test triangle_gl46" />
|
<item itemvalue="Cargo.Test triangle_gl46" />
|
||||||
<item itemvalue="Cargo.Test triangle_vk" />
|
<item itemvalue="Cargo.Test triangle_vk" />
|
||||||
<item itemvalue="Cargo.Test back::wgsl::test::test_into" />
|
|
||||||
</list>
|
</list>
|
||||||
<recent_temporary>
|
<recent_temporary>
|
||||||
<list>
|
<list>
|
||||||
|
@ -261,6 +259,7 @@
|
||||||
<workItem from="1702484102491" duration="5258000" />
|
<workItem from="1702484102491" duration="5258000" />
|
||||||
<workItem from="1702561144428" duration="1836000" />
|
<workItem from="1702561144428" duration="1836000" />
|
||||||
<workItem from="1702640983281" duration="967000" />
|
<workItem from="1702640983281" duration="967000" />
|
||||||
|
<workItem from="1705541451154" duration="11000" />
|
||||||
</task>
|
</task>
|
||||||
<task id="LOCAL-00001" summary="rt(wgpu): basic triangle example">
|
<task id="LOCAL-00001" summary="rt(wgpu): basic triangle example">
|
||||||
<option name="closed" value="true" />
|
<option name="closed" value="true" />
|
||||||
|
|
Loading…
Reference in a new issue