@@ -166,6 +166,7 @@ endif()
166
166
167
167
make_directory ("${NBL_DOCKER_CTX_DIR} /Runtimes" )
168
168
make_directory ("${NBL_DOCKER_CTX_DIR} /Nabla" )
169
+ make_directory ("${NBL_DOCKER_CTX_DIR} /Examples" )
169
170
execute_process (
170
171
COMMAND "${CMAKE_COMMAND} " -E copy_if_different "${DXIL_DLL} " "${NBL_DOCKER_CTX_DIR} /Runtimes"
171
172
COMMAND "${CMAKE_COMMAND} " -E copy_if_different "${UCRTBASED_DLL} " "${NBL_DOCKER_CTX_DIR} /Runtimes"
@@ -206,6 +207,9 @@ COPY --link --from=compress ["C:/pack/windows-artifacts.tar.zst", "C:/pack/"]
206
207
COPY --link --from=compress ["C:/pack/nabla-artifacts.tar.zst", "C:/pack/"]
207
208
COPY hlsl.local.properties.cmake C:/Compiler-Explorer/etc/config/hlsl.local.properties
208
209
210
+ # counting sort
211
+ COPY --link Examples/ C:/Compiler-Explorer/examples/hlsl/
212
+
209
213
ENV NBL_INSTALL_DIRECTORY=@NBL_DOCKER_CT_NSC_VOLUME_TARGET@ `
210
214
NBL_EXPLICIT_MODULE_LOAD_LOG=ON
211
215
@@ -263,6 +267,8 @@ set(NBL_CE_HEALTHY_CHECK_PY "${NBL_ROOT_PATH}/docker/compiler-explorer/ce_health
263
267
set (NBL_CE_ENDPOINT_PY "${NBL_ROOT_PATH} /docker/compiler-explorer/endpoint.py" )
264
268
set (NBL_NSC_BASIC_HLSL_JPAYLOAD "${CMAKE_CURRENT_SOURCE_DIR} /docker/godbolt/hlsl-basic-compile-payload.json" )
265
269
270
+ get_target_property (NBL_CE_COUNTING_SORT_EXAMPLE_PATH countingsort SOURCE_DIR )
271
+
266
272
# to avoid "too long input" errors we proxy build instructions to CMake script and write it to build directory
267
273
string (CONFIGURE [=[
268
274
message(STATUS "Killing remaining NSC orphans")
@@ -306,6 +312,11 @@ execute_process(COMMAND "@CMAKE_COMMAND@" -E copy_directory_if_different
306
312
COMMAND_ERROR_IS_FATAL ANY
307
313
)
308
314
315
+ message(STATUS "Copying examples")
316
+ execute_process(
317
+ COMMAND "@CMAKE_COMMAND@" -E copy_directory_if_different "@NBL_CE_COUNTING_SORT_EXAMPLE_PATH@/app_resources/" "@NBL_DOCKER_CTX_DIR@/Examples/"
318
+ )
319
+
309
320
message(STATUS "Building NSC Godbolt image")
310
321
string(TIMESTAMP BUILD_TIMESTAMP "%Y-%m-%dT%H:%M:%SZ" UTC)
311
322
execute_process(COMMAND "@DOCKER_EXE@" build --isolation process
0 commit comments