blob: 8a3ce7a1c41bf8589c9b2c3e2acecdafe65169ae [file] [log] [blame]
# Copyright 2022 The IREE Authors
#
# Licensed under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
if(IREE_BUILD_PYTHON_BINDINGS)
# Copy Python packaging files to the build dir so that we can install from
# there.
configure_file(pyproject.toml pyproject.toml COPYONLY)
configure_file(setup.py setup.py @ONLY)
add_subdirectory(bindings/python/iree/runtime)
endif()