Skip to content

Commit b81cbee

Browse files
Mengna-LiMengna-Li
andauthored
[directx-dxc] add FILE_PERMISSIONS for dxc (microsoft#44231)
Co-authored-by: Mengna-Li <[email protected]>
1 parent 36e6a8b commit b81cbee

File tree

4 files changed

+12
-2
lines changed

4 files changed

+12
-2
lines changed

ports/directx-dxc/portfile.cmake

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,11 @@ if (VCPKG_TARGET_IS_LINUX)
5656

5757
file(INSTALL
5858
"${PACKAGE_PATH}/bin/dxc"
59-
DESTINATION "${CURRENT_PACKAGES_DIR}/tools/${PORT}/")
59+
DESTINATION "${CURRENT_PACKAGES_DIR}/tools/${PORT}/"
60+
FILE_PERMISSIONS
61+
OWNER_READ OWNER_WRITE OWNER_EXECUTE
62+
GROUP_READ GROUP_EXECUTE
63+
WORLD_READ WORLD_EXECUTE)
6064

6165
set(dll_name_dxc "libdxcompiler.so")
6266
set(dll_name_dxil "libdxil.so")

ports/directx-dxc/vcpkg.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "directx-dxc",
33
"version-date": "2025-02-20",
4+
"port-version": 1,
45
"description": "DirectX Shader Compiler (LLVM/Clang)",
56
"homepage": "https://github.com/microsoft/DirectXShaderCompiler",
67
"documentation": "https://github.com/microsoft/DirectXShaderCompiler/wiki",

versions/baseline.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2306,7 +2306,7 @@
23062306
},
23072307
"directx-dxc": {
23082308
"baseline": "2025-02-20",
2309-
"port-version": 0
2309+
"port-version": 1
23102310
},
23112311
"directx-headers": {
23122312
"baseline": "1.615.0",

versions/d-/directx-dxc.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
{
22
"versions": [
3+
{
4+
"git-tree": "fd43c79a0555d6af9a92d55eaeb3d6aaf2b0b4f9",
5+
"version-date": "2025-02-20",
6+
"port-version": 1
7+
},
38
{
49
"git-tree": "04df7510384611086c77478290dd717f511a9f94",
510
"version-date": "2025-02-20",

0 commit comments

Comments
 (0)