Open
Description
Describe the issue
Hi. Has anyone try compiling Intel Extension for pytorch locally? https://github.com/intel/intel-extension-for-pytorch. I've followed instructions, setup Visual Studio 2022 and OneAPI. The main issue I have is that the linking process doesn't find the basic Windows libraries (they are on my system) and I do start the build batch with the 'lib' environment variable having the location of those. For example the kernel32.lib etc. It seems that the information of the 'lib' env gets lost along the cmake process of the build. Documentation states that the Intel compiler/linker does not need specifc -L directives when 'lib' contains them.
Metadata
Metadata
Assignees
Labels
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
jingxu10 commentedon Jan 26, 2024
@ashokei @min-jean-cho compilation issue on windows.
linlinz1 commentedon Mar 18, 2024
Any solution about this issue? Same problem when I try to build from source on Windows.
Aaronearlerichardson commentedon Mar 4, 2025
Tried Compiling on windows 11 with Intel Arc graphics. Followed instructions here: https://pytorch-extension.intel.com/installation?platform=gpu&version=v2.5.10%2Bxpu&os=windows&package=source
Building wheel torch-2.5.0a0+gita8d6afb
-- The CXX compiler identification is IntelLLVM 2024.1.4 with GNU-like command-line
-- The C compiler identification is IntelLLVM 2024.1.4 with MSVC-like command-line
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - failed
-- Check for working CXX compiler: C:/Program Files (x86)/Intel/oneAPI/compiler/latest/bin/icpx.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Intel/oneAPI/compiler/latest/bin/icpx.exe - broken
CMake Error at C:/Users/Jakda/miniconda3/Lib/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeTestCXXCompiler.cmake:60 (message):
The C++ compiler
is not able to compile a simple test program.
It fails with the following output:
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:26 (project)