Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion master/master.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -594,6 +594,8 @@ def get_halide_cmake_definitions(builder_type, halide_target='host', wasm_jit='w

if builder_type.os == 'windows':
cmake_definitions['CMAKE_TOOLCHAIN_FILE'] = Interpolate('%(prop:VCPKG_ROOT)s/scripts/buildsystems/vcpkg.cmake')
# CMake on Windows can't reliably find our pip-installed PyBind11 unless we set CMAKE_PREFIX_PATH to point to is
cmake_definitions['pybind11_DIR'] = Interpolate('%(prop:VIRTUAL_ENV)s/share/cmake/pybind11')

# TODO: HALIDE_NODE_JS_PATH is only necessary until EMSDK updates their built-in version of Node
# to v16.13+; when that is done, remove this definition.
Expand Down Expand Up @@ -736,7 +738,8 @@ def add_env_setup_step(factory, builder_type, enable_ccache=False):
variables=['VCPKG_ROOT',
'LD_LIBRARY_PATH',
'HL_HEXAGON_TOOLS',
'HALIDE_NODE_JS_PATH']))
'HALIDE_NODE_JS_PATH'
'VIRTUAL_ENV']))

vcpkg_root = Property('VCPKG_ROOT', default=None)

Expand Down