Skip to content

Commit

Permalink
rename dxc
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholas-rh committed Jul 7, 2023
1 parent 9c28ca9 commit bde99c4
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
6 changes: 0 additions & 6 deletions copr/DirectXShaderCompiler/generate_tarball.sh

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
%global toolchain clang

Name: DirectXShaderCompiler
Name: directx-shader-compiler
Version: 1.6.2112
Release: 1%{?dist}
Summary: Compiler and tools to compile High-Level Shader Language (HLSL)
URL: https://github.com/microsoft/DirectXShaderCompiler
License: Apache-2.0 and MIT and NCSA

# generated using generate_tarball.sh
Source0: DirectXShaderCompiler.tar.gz
Source0: directx-shader-compiler.tar.gz

BuildRequires: g++
BuildRequires: gcc
Expand Down Expand Up @@ -36,7 +36,7 @@ Summary: Development libraries and files for DirectXShaderCompiler
Development libraries and files for DirectXShaderCompiler

%prep
%autosetup -n DirectXShaderCompiler
%autosetup -n directx-shader-compiler

%build
# Pulled from the o3de package build config
Expand Down
7 changes: 7 additions & 0 deletions copr/directx-shader-compiler/generate_tarball.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
git clone https://github.com/microsoft/DirectXShaderCompiler directx-shader-compiler
pushd directx-shader-compiler
git checkout e09a454eb67c21ef8d196ef7319df06028f8fe52 # 1.7.2212 tag
git submodule update --init --recursive
popd
tar -czvf directx-shader-compiler.tar.gz directx-shader-compiler
rm -rf directx-shader-compiler

0 comments on commit bde99c4

Please sign in to comment.