Skip to content

Commit dff60f7

Browse files
committed
Edits after rebase
1 parent 9f30fd9 commit dff60f7

File tree

2 files changed

+8
-19
lines changed

2 files changed

+8
-19
lines changed

CMakeLists.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ option(BUILD_SHARED_LIBS "Build shared libraries" ON)
2323
option(WITH_TENSOR_PARALLEL "Compile with NCCL and MPI backend" OFF)
2424
option(WITH_FLASH_ATTN "Compile with Flash Attention 2" OFF)
2525

26+
MESSAGE(STATUS "Compiler Id: ${CMAKE_CXX_COMPILER_ID}")
27+
MESSAGE(STATUS "Compiler Version: ${CMAKE_CXX_COMPILER_VERSION}")
28+
2629
if(ENABLE_PROFILING)
2730
message(STATUS "Enable profiling support")
2831
add_definitions(-DCT2_ENABLE_PROFILING)
@@ -688,8 +691,7 @@ endif()
688691
if(BUILD_TESTS)
689692
add_subdirectory(tests)
690693
endif()
691-
MESSAGE(STATUS "XXXCompiler Id: ${CMAKE_CXX_COMPILER_ID}")
692-
MESSAGE(STATUS "XXXCompiler Version: ${CMAKE_CXX_COMPILER_VERSION}")
694+
693695
include(GNUInstallDirs)
694696

695697
if (BUILD_CLI)

python/tools/prepare_build_environment_windows.sh

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,8 @@ rmdir "$CUDNN_ROOT/include/12.4"
2929
cp -r "$CUDNN_ROOT"/* "$CUDA_ROOT"
3030
rm cudnn.exe
3131

32-
echo "Installing MSVC 14.29.30133 in Windows Server 2022 Docker container..."
33-
34-
# Download Visual Studio Build Tools installer
35-
echo "Downloading Visual Studio Build Tools installer..."
36-
curl -L -o vs_buildtools.exe "https://aka.ms/vs/16/release/vs_buildtools.exe"
37-
38-
# Install Visual Studio Build Tools with MSVC v142 toolset (14.29)
39-
echo "Installing Visual Studio Build Tools with MSVC 14.29..."
32+
# Install MSVC 14.29.30133
33+
curl -L -o vs_buildtools.exe "https://aka.ms/vs/16/release/vs_buildtools.exe"
4034
./vs_buildtools.exe --quiet --wait --add Microsoft.VisualStudio.Workload.VCTools \
4135
--add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 \
4236
--add Microsoft.VisualStudio.Component.VC.v141.x86.x64 \
@@ -45,11 +39,9 @@ echo "Installing Visual Studio Build Tools with MSVC 14.29..."
4539
--add Microsoft.VisualStudio.Component.VC.CMake.Project \
4640
--includeRecommended
4741

48-
# Verify installation
49-
echo "Verifying MSVC installation..."
42+
# Verify installation
5043
if [ -f "/c/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe" ]; then
5144
echo "MSVC 14.29.30133 installed successfully!"
52-
5345
# Display compiler version
5446
"/c/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe" 2>&1 | head -1
5547
else
@@ -59,12 +51,7 @@ else
5951
fi
6052

6153
# See https://github.com/oneapi-src/oneapi-ci for installer URLs
62-
curl --netrc-optional -L -nv -o webimage.exe \
63-
--retry 5 \
64-
--retry-delay 10 \
65-
--retry-max-time 300 \
66-
--continue-at - \
67-
https://registrationcenter-download.intel.com/akdlm/IRC_NAS/2cbb02eb-dd4c-4058-a4ac-2e38729a8409/intel-oneapi-base-toolkit-2025.1.2.7_offline.exe
54+
curl --netrc-optional -L -nv -o webimage.exe https://registrationcenter-download.intel.com/akdlm/IRC_NAS/2cbb02eb-dd4c-4058-a4ac-2e38729a8409/intel-oneapi-base-toolkit-2025.1.2.7_offline.exe
6855
./webimage.exe -s -x -f webimage_extracted --log extract.log
6956
rm webimage.exe
7057
./webimage_extracted/bootstrapper.exe -s --action install --components="intel.oneapi.win.mkl.devel" --eula=accept -p=NEED_VS2017_INTEGRATION=0 -p=NEED_VS2019_INTEGRATION=0 --log-dir=.

0 commit comments

Comments
 (0)