From e11e40dde87bb67f404c3681f6266af32449feca Mon Sep 17 00:00:00 2001 From: yum Date: Sat, 11 Oct 2025 17:47:54 -0700 Subject: more stuff --- README.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 6c31d8c..8578b41 100644 --- a/README.md +++ b/README.md @@ -14,19 +14,20 @@ build instructions ```bash git clone https://github.com/shader-slang/slang +cd slang +git checkout 1a193d6e5cdcdab05aa291d725c3b1c1260b8762 +patch -p1 <../slang.patch git submodule update --init --recursive -j 32 # wait, the previous command takes a while -mkdir slang/build -cd slang/build +mkdir build +cd build # run this part in powershell, from ./slang/build cmake.exe .. -cmake.exe --build . -j +cmake.exe --build . -j 32 --config Release # the previous command will take a long fucking time # switch back to top level of repo cd ../.. -# do this in wsl2 or powershell. Showing wsl2/bash syntax -# you'd do this for each incremental build. -powershell.exe ./build.ps1 && ./build/bin/Release/modular_slange.exe ./test.slang +# do this in wsl2 or powershell. Showing wsl2/bash syntax. +powershell.exe ./build.ps1 && ./dist/modular_slang.exe ./demo.slang ``` - -- cgit v1.2.3