Add Intel oneAPI env variables.
* add Intel oneAPI env variables.
Required to use the Intel Fortran compiler instead of gfortran
MODIFY
src/vcpkg/base/system.process.cpp
src/vcpkg/base/system.process.cpp
@@ -315,13 +315,18 @@ namespace vcpkg
L"CUDA_PATH_V11_1",
L"CUDA_PATH_V11_2",
L"CUDA_TOOLKIT_ROOT_DIR",
- // Environmental variable generated automatically by CUDA after installation
+ // Environment variable generated automatically by CUDA after installation
L"NVCUDASAMPLES_ROOT",
L"NVTOOLSEXT_PATH",
- // Enables find_package(Vulkan) in CMake. Environmental variable generated by Vulkan SDK installer
+ // Enables find_package(Vulkan) in CMake. Environment variable generated by Vulkan SDK installer
L"VULKAN_SDK",
// Enable targeted Android NDK
L"ANDROID_NDK_HOME",
+ // Environment variables generated automatically by Intel oneAPI after installation
+ L"ONEAPI_ROOT",
+ L"IFORT_COMPILER19",
+ L"IFORT_COMPILER20",
+ L"IFORT_COMPILER21",
};
const Optional<std::string> keep_vars = get_environment_variable("VCPKG_KEEP_ENV_VARS");

Add Intel oneAPI env variables. (#148)

* add Intel oneAPI env variables.
Required to use the Intel Fortran compiler instead of gfortran