-
Notifications
You must be signed in to change notification settings - Fork 250
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[External] Add a patching mechanism to external libraries
Also using this to fix the DXC with VS2019.2 Related work item: Github #49
- Loading branch information
Minmin Gong
committed
Sep 5, 2019
1 parent
7f76560
commit c9db185
Showing
3 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
|
@@ -2,6 +2,11 @@ steps: | |
- bash: eval '$(installCommand)' | ||
displayName: 'Install' | ||
|
||
- script: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "Dummy Name" | ||
displayName: 'Config git' | ||
|
||
- task: PythonScript@0 | ||
displayName: 'Build' | ||
inputs: | ||
|
This file contains 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
25 changes: 25 additions & 0 deletions
25
External/Patches/DirectXShaderCompiler/0001-Fix-the-compiling-problem-on-VS2019.2.patch
This file contains 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,25 @@ | ||
From 895b1301afea91017500a82dd9d709d9941d1abc Mon Sep 17 00:00:00 2001 | ||
From: Minmin Gong <[email protected]> | ||
Date: Wed, 28 Aug 2019 22:52:12 -0700 | ||
Subject: [PATCH] Fix the compiling problem on VS2019.2 | ||
|
||
--- | ||
utils/TableGen/AsmWriterEmitter.cpp | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/utils/TableGen/AsmWriterEmitter.cpp b/utils/TableGen/AsmWriterEmitter.cpp | ||
index 8163f681..4372420d 100644 | ||
--- a/utils/TableGen/AsmWriterEmitter.cpp | ||
+++ b/utils/TableGen/AsmWriterEmitter.cpp | ||
@@ -763,7 +763,7 @@ static unsigned CountNumOperands(StringRef AsmString, unsigned Variant) { | ||
namespace { | ||
struct AliasPriorityComparator { | ||
typedef std::pair<CodeGenInstAlias *, int> ValueType; | ||
- bool operator()(const ValueType &LHS, const ValueType &RHS) { | ||
+ bool operator()(const ValueType &LHS, const ValueType &RHS) const { | ||
if (LHS.second == RHS.second) { | ||
// We don't actually care about the order, but for consistency it | ||
// shouldn't depend on pointer comparisons. | ||
-- | ||
2.17.1.windows.2 | ||
|