CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
50 lines
2.0 KiB
Plaintext
50 lines
2.0 KiB
Plaintext
# There's no real issue with windows here, it's just that some CMake generated paths for targets end up being longer
|
|
# than 255 chars when combined with the fact that pip wants to install into a tmp directory buried under
|
|
# C/Users/ContainerAdministrator/AppData/Local/Temp.
|
|
# UNSUPPORTED: target={{.*(windows).*}}
|
|
# REQUIRES: expensive_checks
|
|
# REQUIRES: non-shared-libs-build
|
|
# REQUIRES: bindings-python
|
|
|
|
# RUN: export CMAKE_BUILD_TYPE=%cmake_build_type
|
|
# RUN: export CMAKE_CXX_COMPILER=%host_cxx
|
|
# RUN: export CMAKE_CXX_COMPILER_LAUNCHER=%hostcxx_compiler_launcher
|
|
# RUN: export CMAKE_C_COMPILER=%host_cc
|
|
# RUN: export CMAKE_C_COMPILER_LAUNCHER=%hostc_compiler_launcher
|
|
# RUN: export CMAKE_GENERATOR=%cmake_generator
|
|
# RUN: export LLVM_USE_LINKER=%llvm_use_linker
|
|
# RUN: export MLIR_DIR="%mlir_cmake_dir"
|
|
# RUN: export MLIR_INCLUDE_TESTS=ON
|
|
# RUN: export MLIR_PYTHON_PACKAGE_PREFIX=mlir_standalone
|
|
# RUN: export MLIR_BINDINGS_PYTHON_NB_DOMAIN=mlir_standalone
|
|
|
|
# RUN: %python -m pip wheel "%mlir_src_root/examples/standalone" -w "%mlir_obj_root/wheelhouse" -v | tee %t
|
|
|
|
# RUN: rm -rf "%mlir_obj_root/standalone-python-bindings-install"
|
|
# RUN: %python -m pip install standalone_python_bindings -f "%mlir_obj_root/wheelhouse" --target "%mlir_obj_root/standalone-python-bindings-install" -v | tee -a %t
|
|
|
|
# RUN: export PYTHONPATH="%mlir_obj_root/standalone-python-bindings-install:%mlir_obj_root/python_packages/mlir_core"
|
|
# RUN: %python "%mlir_src_root/examples/standalone/test/python/smoketest.py" 2>&1 | tee -a %t
|
|
|
|
# RUN: FileCheck --input-file=%t %s
|
|
|
|
# CHECK: Successfully built standalone-python-bindings
|
|
|
|
# CHECK: Testing mlir_standalone package
|
|
|
|
# CHECK: module {
|
|
# CHECK: %[[C2:.*]] = arith.constant 2 : i32
|
|
# CHECK: %[[V0:.*]] = standalone.foo %[[C2]] : i32
|
|
# CHECK: }
|
|
|
|
# CHECK: !standalone.custom<"foo">
|
|
|
|
# CHECK: this is a fp16 type
|
|
# CHECK: this is a fp32 type
|
|
# CHECK: this is a fp64 type
|
|
|
|
# CHECK: Testing mlir package
|
|
|
|
# CHECK-NOT: RuntimeWarning: nanobind: type '{{.*}}' was already registered!
|
|
|