On Windows, the clang-cl compiler is supported along with the Intel Fortran compiler. The following steps are required to build AOCL-DA from source.
In an MSVC terminal use
C:\Program Files (x86)\Intel\oneAPI\setvars.batto enable the Intel Fortran compiler to be found.For Python builds, set the environment variable
CMAKE_PREFIX_PATHto point to the foldersite-packages\pybind11\share\cmake\pybind11within your Python installation.Run the CMake configure step using one of the following commands together with any of the options in the table in the next section:
cmake -T ClangCL -DCMAKE_Fortran_COMPILER=ifortcmake -G Ninja -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl -DCMAKE_Fortran_COMPILER=ifort ..
Run the CMake build step using either
devenv .\AOCL-DA.sln /build "Debug"or"Release"for using MSVC build systemcmake -build . --target all/install --config Release/Debugfor e.g. Ninja
Optionally, install the Python wheel.