Revision 69c75b34767dff5572cf52c8b75596804804c283 authored by Steven Johnson on 24 August 2023, 23:12:19 UTC, committed by GitHub on 24 August 2023, 23:12:19 UTC
* Update WebGPU to latest Emscripten/Dawn API - Updated mini_webgpu.h to be in sync with Dawn as of commit ded6610f45a8826db37b52d73121a66b74d8aa61 - Updated the use of SetDeviceLost callbacks to be in the DeviceDescriptor instead of a separate call - Updated a couple of fields that got renamed - Update webgpu.cpp and gpu_context.h to always use wgpuCreateInstance() and wgpuInstanceRelease(), since the Dawn node bindings now support & require them * clang-tidy
1 parent 84faa68
setup.py
import pybind11
from setuptools import find_packages
from skbuild import setup
from pathlib import Path
this_directory = Path(__file__).parent
long_description = (this_directory / "README_python.md").read_text()
setup(
name="halide",
version='16.0.0',
author="The Halide team",
author_email="halide-dev@lists.csail.mit.edu",
description="Halide is a programming language designed to make it easier "
"to write high-performance image and array processing code.",
long_description=long_description,
long_description_content_type='text/markdown',
python_requires=">=3.8",
packages=find_packages(where="python_bindings/src"),
package_dir={"": "python_bindings/src"},
cmake_source_dir="python_bindings",
cmake_args=[
f"-Dpybind11_ROOT={pybind11.get_cmake_dir()}",
"-DCMAKE_REQUIRE_FIND_PACKAGE_pybind11=YES",
"-DHalide_INSTALL_PYTHONDIR=python_bindings/src",
"-DCMAKE_INSTALL_RPATH=$<IF:$<PLATFORM_ID:Darwin>,@loader_path,$ORIGIN>",
"-DHalide_Python_INSTALL_IMPORTED_DEPS=ON",
"-DWITH_TESTS=NO",
"-DWITH_TUTORIALS=NO",
"-DWITH_PYTHON_STUBS=NO",
"-DCMAKE_PREFIX_PATH=$ENV{CMAKE_PREFIX_PATH}",
"--no-warn-unused-cli",
],
)
Computing file changes ...