Repository navigation
Moved iree/modules/check/iree-check-module-main.cc to iree/tools/iree-check-module-main.cc: Issue 1986 - #4312
Conversation
…uild_tools/bazel/iree_check_test.bzl
| <<<<<<< HEAD | ||
| d553243fe4b5e1992c07aff7b54b16160a4d5e97 third_party/llvm-project | ||
| a438d3b2e9e2e4699b94787b7fb6e8b45d4e92c6 third_party/mlir-emitc | ||
| ======= | ||
| 6883042528d0338b776bb2316e58999650e94892 third_party/llvm-project | ||
| 55801f03f9cc69abfcf8b508a873f702c11b3b5f third_party/mlir-emitc | ||
| >>>>>>> 4110f3daae21078bf885a618e6789033684a675a |
There was a problem hiding this comment.
This looks like a conflict, please fix it.
There was a problem hiding this comment.
I think we don't need to update this file, let's just revert it.
| "//conditions:default": [ | ||
| # TODO: Enable this for all builds once dependency bug is fixed. | ||
| #"@org_tensorflow//tensorflow/compiler/mlir/tensorflow:tf_dialect_passes", # Note: always_links in random foo that makes constant folding work | ||
| "@org_tensorflow//tensorflow/compiler/mlir/tensorflow:tf_dialect_passes", # Note: always_links in random foo that makes constant folding work |
There was a problem hiding this comment.
I think we don't need this change, let's revert it.
|
Hey @inho9606, buildifier is for formatting BUILD. The failure happened because files were not matched to formatting results. I have a patch to fix BUILD files, please take a look. https://gist.github.com/hanhanW/ace515f457bcb456d9682dad9a9996f6 You can use command |
|
Hi @hanhanW |
|
Don't I need to combine 7 commits into 1 commit? If so, how can I do it? |
This keeps all tools in the same place so that it's easy to find/switch between them. Fixes iree-org#1986
* bb0f95e Enable all packages on all every OS. * 7cf454d Add dependencies properly for python install targets. * 827eccf Third attempt: Rename packages to not collide on 'compiler' term. * a3145cb Second attempt: fix some target names and change the docker image. * 763fc1b First attempt: enable all python packages as experimental on linux. * 9364f0f Add install targets for all python packages and configure in CI. * 6fe74ac Correctly get binary name in android run_binary_test (#4403) * b1bc038 Remove special handling for runtime -> compiler dep (#4396) * 38d3c14 Disable run_binary_test on Android (#4402) * 35d4b32 Build an e2e path for linalg on tensors. (#4368) * c0e362c Merge google -> main (#4401) * 7aecc34 Merge branch 'main' into google-to-main * 7dc756b Attempt to appease linter on SUBMODULE_VERSIONS for mlir-emitc * c83f594 Use backward buffer allocation in HLOToLinalgOnBuffers (#4318) * 4889612 Avoid running slow benchmarks as part of testing (#4364) * 9b72435 Default to quoting strings in Bazel -> CMake (#4394) * 2a52c0f Fix m1 builds (#4361) * 30f67df Update cross-compilation for changed experimental flag names (#4365) * dc7d633 Merge pull request #4386 from google/benvanik-hal-pre * 3d577af Move macos out of experimental now that it builds. * 1c2a4bf Note that iree_task_list_discard leaves the list in a usable state. * dcd1b53 Adding utils for common string view and allocator operations. * d2af7f3 Adding iree_atomic_thread_fence (like (std::)atomic_thread_fence). * c691e23 Bazel -> CMake cleanup (#4362) * e002f99 Attempt to pin the python executable more robustly for macos. * eb184f9 Link Foundation and Metal frameworks on macos. * cc8c1b2 Turn -Wunused-variable back on (#4360) * 52ebf7b Use existing script in submodule synchronize action (#4358) * 0f0fffd Get remote name in a more portable way in gh scripting (#4357) * 4868a49 Add one-shot runtime MacOS sanity check workflow. * 44ca211 Actually use the platlib install command for linux wheels. * fd36682 [spirv] Replace SPIRVOpLowering with a local class (#4383) * cf10473 Fix macos matrix spec. * 197f33b Enable windows build as non experimental. * 05190e1 Make pyiree compiler package compatible with manylinux2014. * 626d45a Add missing dep on HLOToLinalg (#4377) * b0e8243 Integrate MLIR-EmitC at iml130/mlir-emitc@a438d3b (#4375) * f0514e4 NFC: Fix some pre-existing yaml lint. * bb1de96 Plumb package suffix, version, and revision info to release packages. * 995d0b7 Moved iree-check-module-main.cc to iree/tools (#4312) * 56e40ac Remove suspected merge conflict in darwin_threading.c. * 938875f Enable macos and windows builds. * 921b46d Rename cmake_configure_ci.py -> cmake_ci.py. * 57435cd Fix typo build_iree -> iree_build. * fd1d06c Fix typo in install-iree -> iree-install. * 2ab4dfc Update workflow dispatch token. * 29f1596 Re-enable tag fetching * f8f4031 Fix issues in snapshot schedule. * bd6cf1f Add scheduled workflow to trigger snapshot releases. * 442b35e Fix typo in runtime matrix check. * b4981b2 Configure pipeline to build IREE runtime wheels. * 77a63cd Make the main python packages cmake installable. * 4e1602a Add cmake_configure_ci.py. * 723ff37 Remove typo from GCC iree_atomic_load_auto macro. * 847ac69 Disable workflow on push to cidev * e666fbf Fixing the casting behavior of atomic compare exchange on windows. * 25c4cb3 Adding merge_from support for IntrusiveList unique_ptr/ref_ptr. * 334d3e2 Update getting_started_linux_cmake.md (#4367) * c9687d4 Update bazel_to_cmake to support testonly for iree_bytecode_module (#4337) * 0657be2 Fix mlir-hlo path in Submodule update scripting (#4356) * d146a3d Add scripting to update mlir-hlo to match LLVM commit (#4348) * 3010d3c Clean up naming in LLVM sync script (#4346) * af6c2d4 Merge pull request #4227 from google/benvanik-tasks-core * 01600a5 Adding an entire RTOS-scale task scheduling system. * b47e6f0 Clarifying note on iree_wait_set_erase. * a60332c Tweaking thread affinity groups to have an SMT flag. This allows us to keep th.. * c5b440d Adding tracing to thread name setters. Turns out, setting the thread name can .. * b544ef6 Allowing threads to be created running (not always suspended). Though creating.. * c3af92e Adding IREE_TRACE_ZONE_SET_COLOR macro. * ed727e2 Plumbing tracy mutex support into iree_slim_mutex_t. * 122d6b8 Adding benoit's MiniLcg pseudo-random number generator. * 142bc6a Adding and/or/xor atomic operations. * 9853806 Adding IREE_ASSERT macros. COPYBARA_INTEGRATE_REVIEW=#4413 from KoolJBlack:main-to-google 594e06c PiperOrigin-RevId: 350634605
* bb0f95e Enable all packages on all every OS. * 7cf454d Add dependencies properly for python install targets. * 827eccf Third attempt: Rename packages to not collide on 'compiler' term. * a3145cb Second attempt: fix some target names and change the docker image. * 763fc1b First attempt: enable all python packages as experimental on linux. * 9364f0f Add install targets for all python packages and configure in CI. * 6fe74ac Correctly get binary name in android run_binary_test (#4403) * b1bc038 Remove special handling for runtime -> compiler dep (#4396) * 38d3c14 Disable run_binary_test on Android (#4402) * 35d4b32 Build an e2e path for linalg on tensors. (#4368) * c0e362c Merge google -> main (#4401) * 7aecc34 Merge branch 'main' into google-to-main * 7dc756b Attempt to appease linter on SUBMODULE_VERSIONS for mlir-emitc * c83f594 Use backward buffer allocation in HLOToLinalgOnBuffers (#4318) * 4889612 Avoid running slow benchmarks as part of testing (#4364) * 9b72435 Default to quoting strings in Bazel -> CMake (#4394) * 2a52c0f Fix m1 builds (#4361) * 30f67df Update cross-compilation for changed experimental flag names (#4365) * dc7d633 Merge pull request #4386 from google/benvanik-hal-pre * 3d577af Move macos out of experimental now that it builds. * 1c2a4bf Note that iree_task_list_discard leaves the list in a usable state. * dcd1b53 Adding utils for common string view and allocator operations. * d2af7f3 Adding iree_atomic_thread_fence (like (std::)atomic_thread_fence). * c691e23 Bazel -> CMake cleanup (#4362) * e002f99 Attempt to pin the python executable more robustly for macos. * eb184f9 Link Foundation and Metal frameworks on macos. * cc8c1b2 Turn -Wunused-variable back on (#4360) * 52ebf7b Use existing script in submodule synchronize action (#4358) * 0f0fffd Get remote name in a more portable way in gh scripting (#4357) * 4868a49 Add one-shot runtime MacOS sanity check workflow. * 44ca211 Actually use the platlib install command for linux wheels. * fd36682 [spirv] Replace SPIRVOpLowering with a local class (#4383) * cf10473 Fix macos matrix spec. * 197f33b Enable windows build as non experimental. * 05190e1 Make pyiree compiler package compatible with manylinux2014. * 626d45a Add missing dep on HLOToLinalg (#4377) * b0e8243 Integrate MLIR-EmitC at iml130/mlir-emitc@a438d3b (#4375) * f0514e4 NFC: Fix some pre-existing yaml lint. * bb1de96 Plumb package suffix, version, and revision info to release packages. * 995d0b7 Moved iree-check-module-main.cc to iree/tools (#4312) * 56e40ac Remove suspected merge conflict in darwin_threading.c. * 938875f Enable macos and windows builds. * 921b46d Rename cmake_configure_ci.py -> cmake_ci.py. * 57435cd Fix typo build_iree -> iree_build. * fd1d06c Fix typo in install-iree -> iree-install. * 2ab4dfc Update workflow dispatch token. * 29f1596 Re-enable tag fetching * f8f4031 Fix issues in snapshot schedule. * bd6cf1f Add scheduled workflow to trigger snapshot releases. * 442b35e Fix typo in runtime matrix check. * b4981b2 Configure pipeline to build IREE runtime wheels. * 77a63cd Make the main python packages cmake installable. * 4e1602a Add cmake_configure_ci.py. * 723ff37 Remove typo from GCC iree_atomic_load_auto macro. * 847ac69 Disable workflow on push to cidev * e666fbf Fixing the casting behavior of atomic compare exchange on windows. * 25c4cb3 Adding merge_from support for IntrusiveList unique_ptr/ref_ptr. * 334d3e2 Update getting_started_linux_cmake.md (#4367) * c9687d4 Update bazel_to_cmake to support testonly for iree_bytecode_module (#4337) * 0657be2 Fix mlir-hlo path in Submodule update scripting (#4356) * d146a3d Add scripting to update mlir-hlo to match LLVM commit (#4348) * 3010d3c Clean up naming in LLVM sync script (#4346) * af6c2d4 Merge pull request #4227 from google/benvanik-tasks-core * 01600a5 Adding an entire RTOS-scale task scheduling system. * b47e6f0 Clarifying note on iree_wait_set_erase. * a60332c Tweaking thread affinity groups to have an SMT flag. This allows us to keep th.. * c5b440d Adding tracing to thread name setters. Turns out, setting the thread name can .. * b544ef6 Allowing threads to be created running (not always suspended). Though creating.. * c3af92e Adding IREE_TRACE_ZONE_SET_COLOR macro. * ed727e2 Plumbing tracy mutex support into iree_slim_mutex_t. * 122d6b8 Adding benoit's MiniLcg pseudo-random number generator. * 142bc6a Adding and/or/xor atomic operations. * 9853806 Adding IREE_ASSERT macros. COPYBARA_INTEGRATE_REVIEW=#4413 from KoolJBlack:main-to-google 594e06c PiperOrigin-RevId: 350634605
Updated: build_tools/bazel/iree_check_test.bzl, iree/modules/check/test/BUILD
Moved iree-check-module-main.cc from iree/modules/check to iree/tools
Modified BUILD files in iree/tools/ and iree/modules/check/
Modified CMakeList.txt n iree/tools and iree/modules/check/
Modified iree/modules/check/test/CMakeLists.txt
Modified iree/modules/check/test/BUILD
Modified build_tools/cmake/iree_check_test.cmake
Modified build_tools/bazel/iree_check_test.bzl
I hope it works please.
Thanks