Skip to content

Commit

Permalink
test: Get the windows container arch
Browse files Browse the repository at this point in the history
  • Loading branch information
CameronNg committed Jun 18, 2024
1 parent 6497a13 commit 0651936
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cpp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ all:
# Build the Cortex engine
build-deps:
ifeq ($(OS),Windows_NT)
@powershell -Command "Get-WmiObject win32_operatingsystem | select osarchitecture;"
@powershell -Command "cd tensorrt_llm/cortex.tensorrt-llm; cmake -S ./third-party -B ./build_deps/third-party -DCMAKE_BUILD_TYPE=Release -DCMAKE_OBJECT_PATH_MAX=500; cmake --build ./build_deps/third-party --config Release -j8;"
else
@cd tensorrt_llm/cortex.tensorrt-llm && cmake -S ./third-party -B ./build_deps/third-party -DCMAKE_BUILD_TYPE=Release -DCMAKE_OBJECT_PATH_MAX=500 && make -C ./build_deps/third-party -j 10 && rm -rf ./build_deps/third-party;
Expand Down

0 comments on commit 0651936

Please sign in to comment.