Skip to content

Devsh-Graphics-Programming/Compiler-Explorer-DXC-Windows-Docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Compiler-Explorer-DXC-Windows-Docker

In hurry to compile your HLSL with latest DXC? Unfortunately Godbolt appears to be 3 months out of date again? Use this repository and host your own Compiler Explorer instance on your localhost with most recent DXC compiled from official https://github.com/microsoft/DirectXShaderCompiler!

Requirements

How to

Build and run

Make sure you have switched to Containers for Windows

Containers for Windows

clone the repository

git clone git@github.com:Devsh-Graphics-Programming/Compiler-Explorer-DXC-Windows-Docker.git

enter the cloned directory and execute

docker compose up --build

once everything is built and run - open your browser with http://localhost:10240 and enjoy.

Build script options

Instance image and a container use proxy batch script executing build python script with following syntax

<BUILD_SCRIPT_OPTIONS> -- <CMAKE_BUILD_OPTIONS>

you may wish to increase parallel build jobs and verbosity to build latest DXC while composing the application & running the container hence you would

set BUILD_SCRIPT_ARGS="--run-godbolt -- -j12 -v"

first and then execute the compose command.