mirror of
https://github.com/italicsjenga/portability.git
synced 2024-11-26 00:41:33 +11:00
Merge #155
155: Use git describe to create `commit-sha` r=kvark a=grovesNL - `../.git/refs/heads/master` failed on CI, so just use git describe here as well - .gitignore includes updated package names and temporary commit-sha Co-authored-by: Joshua Groves <josh@joshgroves.com>
This commit is contained in:
commit
90cc44adcf
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -3,7 +3,8 @@ target/
|
||||||
conformance/*.xml
|
conformance/*.xml
|
||||||
conformance/*.qpa
|
conformance/*.qpa
|
||||||
conformance/*.txt
|
conformance/*.txt
|
||||||
package.zip
|
gfx-portability-*.zip
|
||||||
|
commit-sha
|
||||||
**/*.rs.bk
|
**/*.rs.bk
|
||||||
.vscode/
|
.vscode/
|
||||||
.lldbinit
|
.lldbinit
|
||||||
|
|
4
Makefile
4
Makefile
|
@ -12,6 +12,7 @@ DEQP_DIR=$(CTS_DIR)/build/external/vulkancts/modules/vulkan/
|
||||||
DEQP=cd $(DEQP_DIR) && RUST_LOG=debug LD_LIBRARY_PATH=$(FULL_LIBRARY_PATH) ./deqp-vk
|
DEQP=cd $(DEQP_DIR) && RUST_LOG=debug LD_LIBRARY_PATH=$(FULL_LIBRARY_PATH) ./deqp-vk
|
||||||
CLINK_ARGS=
|
CLINK_ARGS=
|
||||||
GIT_TAG=$(shell git describe --abbrev=0 --tags)
|
GIT_TAG=$(shell git describe --abbrev=0 --tags)
|
||||||
|
GIT_TAG_FULL=$(shell git describe --tags)
|
||||||
OS_NAME=
|
OS_NAME=
|
||||||
|
|
||||||
DOTA_DIR=../dota2/bin/osx64
|
DOTA_DIR=../dota2/bin/osx64
|
||||||
|
@ -161,7 +162,8 @@ clean:
|
||||||
cargo clean
|
cargo clean
|
||||||
|
|
||||||
package: version-debug version-release
|
package: version-debug version-release
|
||||||
cd target && cp ../.git/refs/heads/master commit-sha && zip ../gfx-portability-$(OS_NAME)-$(GIT_TAG).zip */libportability.$(LIB_EXTENSION) commit-sha
|
echo "$(GIT_TAG_FULL)" > commit-sha
|
||||||
|
cd target && zip ../gfx-portability-$(OS_NAME)-$(GIT_TAG).zip */libportability.$(LIB_EXTENSION) ../commit-sha
|
||||||
|
|
||||||
target/debug/libvulkan.$(LIB_EXTENSION):
|
target/debug/libvulkan.$(LIB_EXTENSION):
|
||||||
cd target/debug && ln -sf libportability.$(LIB_EXTENSION) libvulkan.$(LIB_EXTENSION)
|
cd target/debug && ln -sf libportability.$(LIB_EXTENSION) libvulkan.$(LIB_EXTENSION)
|
||||||
|
|
Loading…
Reference in a new issue