mirror of
https://github.com/italicsjenga/portability.git
synced 2024-11-22 15:01:31 +11:00
Multiple ICD profiles
This commit is contained in:
parent
272a51cd9f
commit
5bdedc1e0c
4
Makefile
4
Makefile
|
@ -162,8 +162,10 @@ clean:
|
|||
cargo clean
|
||||
|
||||
package: version-debug version-release
|
||||
cargo build --manifest-path libportability-icd/Cargo.toml --features $(BACKEND)
|
||||
cargo build --manifest-path libportability-icd/Cargo.toml --features $(BACKEND) --release
|
||||
echo "$(GIT_TAG_FULL)" > commit-sha
|
||||
cd target && zip ../gfx-portability-$(OS_NAME)-$(GIT_TAG).zip */libportability.$(LIB_EXTENSION) ../commit-sha
|
||||
zip gfx-portability-$(OS_NAME)-$(GIT_TAG).zip target/*/libportability*.$(LIB_EXTENSION) libportability-icd/portability-$(OS_NAME)-*.json commit-sha
|
||||
|
||||
target/debug/libvulkan.$(LIB_EXTENSION):
|
||||
cd target/debug && ln -sf libportability.$(LIB_EXTENSION) libvulkan.$(LIB_EXTENSION)
|
||||
|
|
7
libportability-icd/portability-macos-debug.json
Normal file
7
libportability-icd/portability-macos-debug.json
Normal file
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"file_format_version": "1.0.0",
|
||||
"ICD": {
|
||||
"library_path": "../target/debug/libportability_icd.dylib",
|
||||
"api_version": "1.0.0"
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue