Repository navigation
Closed
Labels
ew 🤮That shouldn't be that way and needs cleanupinfrastructureRelating to build systems, CI, or testingruntime/apiIREE's public C runtime API and iree-run-moduleyolo( ͡° ͜ʖ ͡°)
Description
Disaster-scale stuff here. We should be able to simplify things a lot. Let's work hard to not create death-by-a-thousand-papercuts by having a build that is as complex as some of the projects we are trying to replace.
[ ] Build compiler C API, iree-compile driver, and make installable #3817: expose a C API to the compiler(not going to block this)- remove repo_utils.bzl
- remove flatbuffers
- iree-dump-module
- hal compiler builders
- hal backend parsers
- vm compiler builder
- constant encoder
- bytecode module
- byte->ubyte in fbs (avoid signedness)
- prune MSVC overrides/warnings to minimal set
- sort copts/linkopts to allow defaults to be overridden
- remove as many COPTS overrides as possible
- flatbuffers stuff
- VMA stuff
- -DVK_NO_PROTOTYPES
- -D_GNU_SOURCE
- remove as many LINKOPTS overrides as possible
- -frameworks on metal HAL backend should not be needed with #import? and -fcxx-modules
- -ldl/-lpthread
- remove PLATFORM_VULKAN_DEPS and PLATFORM_VULKAN_TEST_DEPS
- rework most build/cmake files to simplify total target count (no globs tho)
- hal
- hal backends
- vm
- remove IREE_COMMON_INCLUDE_DIRS
- usage for .td files
- usage for generated outputs/weird bundling stuff
- usage for third party files
- kill alwayslink
- remove use from tblgen
- make HAL backend explicit
- remove iree/base/initializer.h
- remove iree_api_init
- remove bazel/cmake alwayslink support
- remove iree::InitializeEnvironment
-
Replace usage of abseil flags in runtime binaries with something reasonable #3814: may need to drop abseil flags for this
-
- fix iree/base/tracing rule to be bazel-to-cmake compatible
- multipy/etc simplification/isolation? (may just need this)
- Drop SDL2 and dear_imgui from repo #3842: remove sdl2/dear_imgui deps and build config
- remove bazel overlays for both and build guis as cmake-only
- drop sdl2 submodule and use cmake find_package instead
-
delete gui sample using imgui (or move to experimental) - drop imgui submodule
- remove llvmjit runtime driver
- first need to ensure all tests can use aot/dylib
- ensure that runtime has zero transitive deps on llvm/mlir (Remove or add CMake guards for remaining runtime dependencies on LLVM/MLIR #4155)
- Excise abseil usage from iree/ #3848: continue excising abseil parts from core
- abseil headers exposed in our API (sometimes through things like absl/base/thread_annotations.h and stuff) are the highest priority to eliminate
- remove IREE_MLIR_DEP_MODE
- signature_mangler; rename to iree/compat/tf/tf_signature_mangler or whatever and clean up attrs API later
- rework cross-compilation to be standard cmake as much as possible (Rework cross-compilation to be standard cmake as much as possible #4323)
- move cmake add all subdirs to macros
- add a well-documented top-level cmake options file
- make iree/base/main.h c, add flags parsing
- move the random ass iree/tools/init_* files to where they belong in iree/compiler/
- Replace usage of abseil flags in runtime binaries with something reasonable #3814: flags
- Replace logging with a C log sink API #2843: logging
more to come
Metadata
Metadata
Labels
ew 🤮That shouldn't be that way and needs cleanupinfrastructureRelating to build systems, CI, or testingruntime/apiIREE's public C runtime API and iree-run-moduleyolo( ͡° ͜ʖ ͡°)
Type
Projects
- StatusShow more project fieldsDone
Activity
Disabling integrations/tensorflow/e2e LLVM JIT tests.
Disabling integrations/tensorflow/e2e LLVM JIT tests.
Disabling integrations/tensorflow/e2e LLVM JIT tests.
Disabling integrations/tensorflow/e2e LLVM JIT tests.
Enable dylib-llvm-aot tests and switch from testing JIT to AOT. (#3928)
Remove all of the multipy stuff.
Remove all of the multipy stuff.
Remove all of the multipy stuff. (#4210)
Remove custom CMake cross compilation for Android. (#4584)
Clean up references to deleted CMake options. (#9013)
Clean up references to deleted CMake options. (iree-org#9013)
GMNGeoffrey commentedon Jun 13, 2022
What is left to be done here?
benvanik commentedon Jul 1, 2022
Mostly done!
