Skip to content

First hack and slash pass on build system/layering - #3874

Merged
benvanik merged 68 commits into
mainfrom
benvanik-hack-and-slash
Nov 21, 2020
Merged

benvanik merged 68 commits into
mainfrom
benvanik-hack-and-slash

Conversation

@benvanik

@benvanik benvanik commented Nov 17, 2020 •

Copy link
Copy Markdown
Collaborator

image

It's time we clean things up a bit. In preparation for packaging work I realized just how sloppy some things had gotten. This tries to clean up, document, normalize, or entirely remove where possible things standing in the way of a much smaller build configuration.

Goals are to:

  • Reduce our internal and external dependencies that we need to figure out how to build/multiversion/deploy
  • Cleanly separate parts of the public and private code such that we can start producing include+lib deployments that expose only the C API
  • Remove unused functionality (that was either added speculatively and never used or is no longer used)
  • Untangle the google3-esque build files that have variables, inclusions, etc that are impossible to reason about in cmake deployments
  • Reduce the total number of special snowflake DO NOT EDIT files so bazel-to-cmake can do more (and we humans can do less)
  • Reduce copt/linkopt overrides (as each adds a tax to cross-platform and cross-compilation deployments)
  • For copt-style things we do need move them into code (where the build system is not involved and they are easier to find/inspect/change)
  • Remove IREE_COMMON_INCLUDE_DIRS by making includes local/fixing paths/etc so that we can take deps on out-of-tree code and so that our deployments can properly pull in user-provided packages
  • Remove PLATFORM_VULKAN_DEPS & co and put an actual nice place to add PLATFORM_VULKAN_DEPS-esque stuff (that is only used in google3)
  • Remove alwayslink usage entirely for tblgen/HAL driver registration/etc so that we can avoid dynamic linking issues and inflicting that on downstream consumers
  • Remove third_party/flatbuffers dep by switching entirely to third_party/flatcc so we only have one flatbuffers related dep
  • Prepare for external usage by making it cleaner to take a dep on IREE and pull in the HAL parts
  • Prepare for out-of-tree HAL backends and VM modules by removing our tight coupling on build configuration-time variables
  • Improve compile/link times and build noise by reducing total target count - LTO is pretty badass, and with the other improvements in this set for removing alwayslink and not needing custom copts there's much less harm in coalescing a lot of targets within a package

Progress on #3843 (and probably fixes several issues I've lost track of).

To reviewer: I'm not particularly concerned with nits in this - it's overall a significant improvement (and I tried to fix more typos than I introduced!) - it'll be much better to land and refine.

@benvanik benvanik added infrastructure Relating to build systems, CI, or testing cmake yolo ( ͡° ͜ʖ ͡°) labels Nov 17, 2020
@benvanik benvanik added this to the 2020Q4 Core milestone Nov 17, 2020
@google-cla google-cla Bot added the cla: yes label Nov 17, 2020
@benvanik
benvanik force-pushed the benvanik-hack-and-slash branch 3 times, most recently from b85fb84 to 9d0e07e Compare November 17, 2020 13:59

@ScottTodd ScottTodd left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! I see your

To reviewer: I'm not particularly concerned with nits in this - it's overall a significant improvement (and I tried to fix more typos than I introduced!) - it'll be much better to land and refine.

comment, so most of these comments can be ignored or addressed later. It's easier to collect them commit-by-commit here than it is scanning through the whole repo for things to tidy up though.

Comment thread iree/hal/vulkan/CMakeLists.txt Resolved
Comment thread iree/base/CMakeLists.txt Resolved
Comment thread build_tools/cmake/iree_copts.cmake Resolved
Comment thread iree/compiler/Utils/FlatbufferUtils.h Resolved
Comment thread iree/compiler/Utils/FlatbufferUtils.h Resolved
Comment thread iree/base/testing/CMakeLists.txt Resolved
Comment thread iree/build_defs.oss.bzl Resolved
Comment thread build_tools/cmake/iree_copts.cmake Outdated
Comment on lines +460 to +464
list(APPEND IREE_COMMON_INCLUDE_DIRS
${CMAKE_CURRENT_SOURCE_DIR}/third_party/mlir-emitc/include
${CMAKE_CURRENT_BINARY_DIR}/third_party/mlir-emitc/include
)
# TODO(marbre): add these only where required, not globally.
# list(APPEND IREE_COMMON_INCLUDE_DIRS
# ${CMAKE_CURRENT_SOURCE_DIR}/third_party/mlir-emitc/include
# ${CMAKE_CURRENT_BINARY_DIR}/third_party/mlir-emitc/include
# )

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fyi @marbre

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it should be fine to address this in a separate PR, as EmitC is currently only supported in the CMake build. Thus, adding appropriate target_include_directories should be the way to go? @benvanik

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, I have a PR in the queue to address this. Since building with EmitC support is optional, I send it for review after Ben's PR has landed.

Comment on lines +31 to +32
// TODO(jennik): Pass flags through from java and us iree_flags_parse.
// This checked version will abort()/exit() and that's... not great.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@benvanik
benvanik force-pushed the benvanik-hack-and-slash branch 2 times, most recently from 55519aa to 3e77d53 Compare November 18, 2020 10:37
@benvanik

benvanik commented Nov 18, 2020 •

Copy link
Copy Markdown
Collaborator Author

Fixed the things you noticed scott!
Last thing I need to check on is iree/base:tracing, which right now doesn't survive bazel-to-cmake. I'll see if I can do something clever with it to avoid the need for anything special there instead.

@benvanik
benvanik marked this pull request as ready for review November 18, 2020 10:44
@benvanik
benvanik force-pushed the benvanik-hack-and-slash branch 4 times, most recently from b5e5969 to f46f986 Compare November 18, 2020 12:42
@ScottTodd

Copy link
Copy Markdown
Member

@benvanik can you rebase this on the latest main?

@benvanik
benvanik force-pushed the benvanik-hack-and-slash branch 3 times, most recently from b8b2aec to b46a22f Compare November 20, 2020 01:45

@GMNGeoffrey GMNGeoffrey left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not thrilled with the size of this PR, but overall the simplifications look good

Comment thread build_tools/cmake/iree_copts.cmake Resolved
Comment thread build_tools/cmake/iree_copts.cmake Resolved
Comment thread iree/base/BUILD Resolved
Comment thread iree/hal/drivers/BUILD

package(
default_visibility = ["//visibility:public"],
features = ["-layering_check"], # buildozer: disable=no-layering-check, allow indirect headers

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

comment why this is necessary?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Possibly temporary while sorting out the merge. Affects Copybara but not open source. I'm replacing the

"//iree/hal/vulkan/registration",

dep with a forwarding dep which doesn't list

#include "iree/hal/vulkan/registration/driver_module.h"

in its headers (because it forwards...)

"allow indirect headers" captures that.

Comment thread iree/hal/dylib/registration/BUILD Resolved
@benvanik
benvanik force-pushed the benvanik-hack-and-slash branch 2 times, most recently from a4ac43f to 855884c Compare November 20, 2020 23:32
ScottTodd and others added 4 commits November 20, 2020 15:53
* Wrap warning flag in select() for Windows compatibility.
* Register HAL drivers *before* instantiating HAL CTS test suites.
This avoids an unconditional dep on all drivers (mainly to avoid LLVMJIT which can't build on Android).
Co-authored-by: Geoffrey Martin-Noble <[email protected]>
@benvanik
benvanik force-pushed the benvanik-hack-and-slash branch from 855884c to 7b8e9f7 Compare November 21, 2020 01:38
@benvanik
benvanik merged commit bd082ca into main Nov 21, 2020
@benvanik
benvanik deleted the benvanik-hack-and-slash branch November 21, 2020 02:10
marbre added a commit to marbre/iree that referenced this pull request Nov 23, 2020
Required after IREE_COMMON_INCLUDE_DIRS were (finally!) dropped with
pull request iree-org#3874.
This was referenced Nov 23, 2020
benvanik pushed a commit that referenced this pull request Nov 24, 2020
Required after IREE_COMMON_INCLUDE_DIRS were (finally!) dropped with
pull request #3874.
iree-copybara-bot pushed a commit that referenced this pull request Nov 30, 2020
* f92602b Always emitting framepointers in generated ELFs (#3987)
* 89ef632 bump Tracy to get Android fixes (#3988)
* 7f989eb Disable MLIR crash reproducer on CI in python tests. (#3943)
* 4db3d08 Adding a demonstration of using the flow dialect post-partitioning. (#3701)
* 589dfa7 Remove no-longer-functional flag (#3961)
* 6454317 Fix MacOS builds after hack-and-slash PR (#3962)
* 8fb887e Update links to coverage tables (#3956)
* c93facb Adding iree_atomic_slist_t type. (#3917)
* bd082ca Merge pull request #3874 from google/benvanik-hack-and-slash
* f4f4ea2 Use UnitTestSpec in tf.keras.layers tests (#3935)
* 7b8e9f7 Reverting flatcc to use our own cmake file for cross-compilation.
* 323e1fd Simplify dylib driver switch.
* 55f3de0 Only register VMLA driver in bindings/java/.
* f429916 Fix warning flag on Windows and HAL CTS driver registration. (#3911)
* 7951e22 Drop IREE_DRIVER_MODULES and iree/base:initializer from ModelBuilder.
* 4e111e2 Disable layering_check in iree/hal/drivers/BUILD.
* 4773736 Add package to iree/base/testing/BUILD.
* 7ca321c Skipping dylib driver in simple_embedding_test as a hack.
* 692deb5 Overriding the default MLIR -> LLVM module name.
* 513f40e Speculative removing nowindows tags (#3615). If there's something that still d..
* cc47813 Removing the broken forward declarations entirely from some codegen code. http..
* fbcad44 Removing _GNU_SOURCE copt for wait_handle.
* c9b10a0 Fixing bad type in hal/api.h (been there for ages!).
* e0c532e Changing iree::InitializeEnvironment to iree_flags_parse. Preparation for #3814.
* 8886ac0 Removing iree_api_init from the API.
* 132d747 Removing ALWAYSLINK support from cmake.
* 0ed81f6 Removing iree/base/initializer.h.
* 0135343 Changing to an explicit driver registration mechanism. This is required for ha..
* bf091d3 Removing ALWAYSLINK support from external_cc_library.
* d4bb871 Changing iree-tblgen to not require alwayslink.
* 6bc6f90 Removing IREE_COMMON_INCLUDE_DIRS and uses by LLVM/MLIR.
* 3c082aa Removing IREE_COMMON_INCLUDE_DIRS mhlo pollution.
* 2395cb9 Removing emitc usage of IREE_COMMON_INCLUDE_DIRS for now.
* 036bd96 TODOs on future library layout changes.
* c3a13e6 Rearranging iree/vm/ to reduce a public + cc target.
* 493b0e2 Rearranging iree/base build rules. By moving the dynamic_library_test out of t..
* 8fd38bf Replacing uses of some absl utilities now in C++14.
* 6786319 Removing unused absl/types/variant.h include.
* 99bd1af Replace absl::exchange with iree::exchange to reduce absl/utility dep.
* c1d0ee1 Removing unused PLATFORM_VULKAN_DEPS. It may be needed internally but it shoul..
* 15437f4 Simplifying iree/hal/dylib/ build config.
* e6984a5 Simplifying iree/hal/ build config.
* 1006281 Simplifying iree/hal/vulkan/ build config.
* 827e51b Simplifying iree/hal/llvmjit/ build config.
* 9a72f5d Simplifying iree/hal/metal/ build config.
* c7a7d72 Simplifying iree/hal/vmla/ build config.
* 90faf21 Adding IREE_TARGET_GUI_LINKOPTS to remove custom linkopts use.
* e5774c3 Remove unused args from flatbuffers_c_library macro.
* 22d16b4 Adding iree/base/flatcc.h to make flatcc easier to include.
* e44dee5 Switching from -DVK_NO_PROTOTYPES to iree/hal/vulkan/vulkan_headers.h.
* 48ca2fe Removing build-config setting of _GNU_SOURCE.
* eeb7dde Goodbye flatbuffers (well, the C++ ones anyway).
* 9c676a8 Removing all build config/utils related to flatbuffers.
* 49c6121 byte->ubyte in flatbuffer defs.
* c99000a Replacing compiler use of VM bytecode module def flatbuffers->flatcc.
* 1bf1e8d Replacing runtime use of metal executable flatbuffers->flatcc. Maybe it works?..
* 48aafb8 Replacing runtime use of spirv executable flatbuffers->flatcc.
* 011e9a2 Replacing runtime use of llvmjit executable flatbuffers->flatcc.
* a021062 Replacing runtime use of dylib executable flatbuffers->flatcc.
* 53a05d7 Replacing runtime use of VMLA executable flatbuffers->flatc.
* 99d30a9 Replacing compiler use of HAL executable flatbuffers->flatc.
* 6ebd1b0 Removing unused tag field in metal/spirv.
* bc685ed Adding flatcc json support and making iree-dump-module use it.
* 94b11c3 Adding include for flatcc to flat_c_libraries.
* 1172cf1 Removing unused iree::schemas::reflection_data.
* c86281a Removing unneeded flatbuffers copts.
* 7f3a7e3 Fixing various type warnings. We don't today have these warnings enabled in ou..
* c17659f Refining MSVC warning set to the minimum required and documenting.
* b7c92bf Cleaning up MSVC warnings and syncing with bazel warnings.
* 94356d3 Removing legacy repo_utils.bzl.
* 0f0d9c8 Prevent bazel-to-cmake from running on iree/base/CMakeLists.txt for now.
* 36225a4 Centralizing -ldl/-lpthread linkopts (as they were in bazel already).
* 31c4dbb Documenting iree_copts with a nice big warning.
* e4740a5 Pass android libraries as actual linkopts.
* 85cdd86 Fixing cmake style issues - prefer `if(` not `if (` please.
* bf4069e Sorting copts/linkopts so we can override things.
* 28040cd Simplifying VMA build integration.
* 479ef30 Replacing use of PROJECT_SOURCE_DIR/PROJECT_BINARY_DIR. Those use the previous..

COPYBARA_INTEGRATE_REVIEW=#4002 from rsuderman:main-to-google 4ef8891
PiperOrigin-RevId: 344157809
ScottTodd added a commit that referenced this pull request Dec 1, 2020
* f92602b Always emitting framepointers in generated ELFs (#3987)
* 89ef632 bump Tracy to get Android fixes (#3988)
* 7f989eb Disable MLIR crash reproducer on CI in python tests. (#3943)
* 4db3d08 Adding a demonstration of using the flow dialect post-partitioning. (#3701)
* 589dfa7 Remove no-longer-functional flag (#3961)
* 6454317 Fix MacOS builds after hack-and-slash PR (#3962)
* 8fb887e Update links to coverage tables (#3956)
* c93facb Adding iree_atomic_slist_t type. (#3917)
* bd082ca Merge pull request #3874 from google/benvanik-hack-and-slash
* f4f4ea2 Use UnitTestSpec in tf.keras.layers tests (#3935)
* 7b8e9f7 Reverting flatcc to use our own cmake file for cross-compilation.
* 323e1fd Simplify dylib driver switch.
* 55f3de0 Only register VMLA driver in bindings/java/.
* f429916 Fix warning flag on Windows and HAL CTS driver registration. (#3911)
* 7951e22 Drop IREE_DRIVER_MODULES and iree/base:initializer from ModelBuilder.
* 4e111e2 Disable layering_check in iree/hal/drivers/BUILD.
* 4773736 Add package to iree/base/testing/BUILD.
* 7ca321c Skipping dylib driver in simple_embedding_test as a hack.
* 692deb5 Overriding the default MLIR -> LLVM module name.
* 513f40e Speculative removing nowindows tags (#3615). If there's something that still d..
* cc47813 Removing the broken forward declarations entirely from some codegen code. http..
* fbcad44 Removing _GNU_SOURCE copt for wait_handle.
* c9b10a0 Fixing bad type in hal/api.h (been there for ages!).
* e0c532e Changing iree::InitializeEnvironment to iree_flags_parse. Preparation for #3814.
* 8886ac0 Removing iree_api_init from the API.
* 132d747 Removing ALWAYSLINK support from cmake.
* 0ed81f6 Removing iree/base/initializer.h.
* 0135343 Changing to an explicit driver registration mechanism. This is required for ha..
* bf091d3 Removing ALWAYSLINK support from external_cc_library.
* d4bb871 Changing iree-tblgen to not require alwayslink.
* 6bc6f90 Removing IREE_COMMON_INCLUDE_DIRS and uses by LLVM/MLIR.
* 3c082aa Removing IREE_COMMON_INCLUDE_DIRS mhlo pollution.
* 2395cb9 Removing emitc usage of IREE_COMMON_INCLUDE_DIRS for now.
* 036bd96 TODOs on future library layout changes.
* c3a13e6 Rearranging iree/vm/ to reduce a public + cc target.
* 493b0e2 Rearranging iree/base build rules. By moving the dynamic_library_test out of t..
* 8fd38bf Replacing uses of some absl utilities now in C++14.
* 6786319 Removing unused absl/types/variant.h include.
* 99bd1af Replace absl::exchange with iree::exchange to reduce absl/utility dep.
* c1d0ee1 Removing unused PLATFORM_VULKAN_DEPS. It may be needed internally but it shoul..
* 15437f4 Simplifying iree/hal/dylib/ build config.
* e6984a5 Simplifying iree/hal/ build config.
* 1006281 Simplifying iree/hal/vulkan/ build config.
* 827e51b Simplifying iree/hal/llvmjit/ build config.
* 9a72f5d Simplifying iree/hal/metal/ build config.
* c7a7d72 Simplifying iree/hal/vmla/ build config.
* 90faf21 Adding IREE_TARGET_GUI_LINKOPTS to remove custom linkopts use.
* e5774c3 Remove unused args from flatbuffers_c_library macro.
* 22d16b4 Adding iree/base/flatcc.h to make flatcc easier to include.
* e44dee5 Switching from -DVK_NO_PROTOTYPES to iree/hal/vulkan/vulkan_headers.h.
* 48ca2fe Removing build-config setting of _GNU_SOURCE.
* eeb7dde Goodbye flatbuffers (well, the C++ ones anyway).
* 9c676a8 Removing all build config/utils related to flatbuffers.
* 49c6121 byte->ubyte in flatbuffer defs.
* c99000a Replacing compiler use of VM bytecode module def flatbuffers->flatcc.
* 1bf1e8d Replacing runtime use of metal executable flatbuffers->flatcc. Maybe it works?..
* 48aafb8 Replacing runtime use of spirv executable flatbuffers->flatcc.
* 011e9a2 Replacing runtime use of llvmjit executable flatbuffers->flatcc.
* a021062 Replacing runtime use of dylib executable flatbuffers->flatcc.
* 53a05d7 Replacing runtime use of VMLA executable flatbuffers->flatc.
* 99d30a9 Replacing compiler use of HAL executable flatbuffers->flatc.
* 6ebd1b0 Removing unused tag field in metal/spirv.
* bc685ed Adding flatcc json support and making iree-dump-module use it.
* 94b11c3 Adding include for flatcc to flat_c_libraries.
* 1172cf1 Removing unused iree::schemas::reflection_data.
* c86281a Removing unneeded flatbuffers copts.
* 7f3a7e3 Fixing various type warnings. We don't today have these warnings enabled in ou..
* c17659f Refining MSVC warning set to the minimum required and documenting.
* b7c92bf Cleaning up MSVC warnings and syncing with bazel warnings.
* 94356d3 Removing legacy repo_utils.bzl.
* 0f0d9c8 Prevent bazel-to-cmake from running on iree/base/CMakeLists.txt for now.
* 36225a4 Centralizing -ldl/-lpthread linkopts (as they were in bazel already).
* 31c4dbb Documenting iree_copts with a nice big warning.
* e4740a5 Pass android libraries as actual linkopts.
* 85cdd86 Fixing cmake style issues - prefer `if(` not `if (` please.
* bf4069e Sorting copts/linkopts so we can override things.
* 28040cd Simplifying VMA build integration.
* 479ef30 Replacing use of PROJECT_SOURCE_DIR/PROJECT_BINARY_DIR. Those use the previous..

COPYBARA_INTEGRATE_REVIEW=#4002 from rsuderman:main-to-google 4ef8891
PiperOrigin-RevId: 344157809
ScottTodd added a commit that referenced this pull request Dec 1, 2020
* f92602b Always emitting framepointers in generated ELFs (#3987)
* 89ef632 bump Tracy to get Android fixes (#3988)
* 7f989eb Disable MLIR crash reproducer on CI in python tests. (#3943)
* 4db3d08 Adding a demonstration of using the flow dialect post-partitioning. (#3701)
* 589dfa7 Remove no-longer-functional flag (#3961)
* 6454317 Fix MacOS builds after hack-and-slash PR (#3962)
* 8fb887e Update links to coverage tables (#3956)
* c93facb Adding iree_atomic_slist_t type. (#3917)
* bd082ca Merge pull request #3874 from google/benvanik-hack-and-slash
* f4f4ea2 Use UnitTestSpec in tf.keras.layers tests (#3935)
* 7b8e9f7 Reverting flatcc to use our own cmake file for cross-compilation.
* 323e1fd Simplify dylib driver switch.
* 55f3de0 Only register VMLA driver in bindings/java/.
* f429916 Fix warning flag on Windows and HAL CTS driver registration. (#3911)
* 7951e22 Drop IREE_DRIVER_MODULES and iree/base:initializer from ModelBuilder.
* 4e111e2 Disable layering_check in iree/hal/drivers/BUILD.
* 4773736 Add package to iree/base/testing/BUILD.
* 7ca321c Skipping dylib driver in simple_embedding_test as a hack.
* 692deb5 Overriding the default MLIR -> LLVM module name.
* 513f40e Speculative removing nowindows tags (#3615). If there's something that still d..
* cc47813 Removing the broken forward declarations entirely from some codegen code. http..
* fbcad44 Removing _GNU_SOURCE copt for wait_handle.
* c9b10a0 Fixing bad type in hal/api.h (been there for ages!).
* e0c532e Changing iree::InitializeEnvironment to iree_flags_parse. Preparation for #3814.
* 8886ac0 Removing iree_api_init from the API.
* 132d747 Removing ALWAYSLINK support from cmake.
* 0ed81f6 Removing iree/base/initializer.h.
* 0135343 Changing to an explicit driver registration mechanism. This is required for ha..
* bf091d3 Removing ALWAYSLINK support from external_cc_library.
* d4bb871 Changing iree-tblgen to not require alwayslink.
* 6bc6f90 Removing IREE_COMMON_INCLUDE_DIRS and uses by LLVM/MLIR.
* 3c082aa Removing IREE_COMMON_INCLUDE_DIRS mhlo pollution.
* 2395cb9 Removing emitc usage of IREE_COMMON_INCLUDE_DIRS for now.
* 036bd96 TODOs on future library layout changes.
* c3a13e6 Rearranging iree/vm/ to reduce a public + cc target.
* 493b0e2 Rearranging iree/base build rules. By moving the dynamic_library_test out of t..
* 8fd38bf Replacing uses of some absl utilities now in C++14.
* 6786319 Removing unused absl/types/variant.h include.
* 99bd1af Replace absl::exchange with iree::exchange to reduce absl/utility dep.
* c1d0ee1 Removing unused PLATFORM_VULKAN_DEPS. It may be needed internally but it shoul..
* 15437f4 Simplifying iree/hal/dylib/ build config.
* e6984a5 Simplifying iree/hal/ build config.
* 1006281 Simplifying iree/hal/vulkan/ build config.
* 827e51b Simplifying iree/hal/llvmjit/ build config.
* 9a72f5d Simplifying iree/hal/metal/ build config.
* c7a7d72 Simplifying iree/hal/vmla/ build config.
* 90faf21 Adding IREE_TARGET_GUI_LINKOPTS to remove custom linkopts use.
* e5774c3 Remove unused args from flatbuffers_c_library macro.
* 22d16b4 Adding iree/base/flatcc.h to make flatcc easier to include.
* e44dee5 Switching from -DVK_NO_PROTOTYPES to iree/hal/vulkan/vulkan_headers.h.
* 48ca2fe Removing build-config setting of _GNU_SOURCE.
* eeb7dde Goodbye flatbuffers (well, the C++ ones anyway).
* 9c676a8 Removing all build config/utils related to flatbuffers.
* 49c6121 byte->ubyte in flatbuffer defs.
* c99000a Replacing compiler use of VM bytecode module def flatbuffers->flatcc.
* 1bf1e8d Replacing runtime use of metal executable flatbuffers->flatcc. Maybe it works?..
* 48aafb8 Replacing runtime use of spirv executable flatbuffers->flatcc.
* 011e9a2 Replacing runtime use of llvmjit executable flatbuffers->flatcc.
* a021062 Replacing runtime use of dylib executable flatbuffers->flatcc.
* 53a05d7 Replacing runtime use of VMLA executable flatbuffers->flatc.
* 99d30a9 Replacing compiler use of HAL executable flatbuffers->flatc.
* 6ebd1b0 Removing unused tag field in metal/spirv.
* bc685ed Adding flatcc json support and making iree-dump-module use it.
* 94b11c3 Adding include for flatcc to flat_c_libraries.
* 1172cf1 Removing unused iree::schemas::reflection_data.
* c86281a Removing unneeded flatbuffers copts.
* 7f3a7e3 Fixing various type warnings. We don't today have these warnings enabled in ou..
* c17659f Refining MSVC warning set to the minimum required and documenting.
* b7c92bf Cleaning up MSVC warnings and syncing with bazel warnings.
* 94356d3 Removing legacy repo_utils.bzl.
* 0f0d9c8 Prevent bazel-to-cmake from running on iree/base/CMakeLists.txt for now.
* 36225a4 Centralizing -ldl/-lpthread linkopts (as they were in bazel already).
* 31c4dbb Documenting iree_copts with a nice big warning.
* e4740a5 Pass android libraries as actual linkopts.
* 85cdd86 Fixing cmake style issues - prefer `if(` not `if (` please.
* bf4069e Sorting copts/linkopts so we can override things.
* 28040cd Simplifying VMA build integration.
* 479ef30 Replacing use of PROJECT_SOURCE_DIR/PROJECT_BINARY_DIR. Those use the previous..

PiperOrigin-RevId: 344157809
This was referenced Dec 2, 2020
copybara-service Bot pushed a commit that referenced this pull request Dec 2, 2020
* abf5456 Merge google -> main (#4045)
* 1e4349e Merge branch 'main' into google-to-main
* 1f86f0e Add new tf.keras.applications models (#3958)
* 41004a9 [spirv] Add a better tiled and vectorized convolution path (#3990)
* c412944 Bump Tracy to get Ben's dynamic zone colors and to get past (#4042)
* 2a25f5f Remove input shape hack from kws tests (#3959)
* 359ffa0 Allow fusing batch_matmul and fill (#4038)
* 35e837e Merge pull request #4008 from MaheshRavishankar/matmul_fusion
* ffdd9d1 Enable e2e execution of fusion of matmul with producer.
* de116a0 Use tile+fuse on CPU side.
* caf91ac Use fusion of sequence of LinalgOps in IREE SPIR-V codegen path.
* 551f254 Add convert f32 to f16 pass (#4010)
* f1b1e58 Use vector transfer forwarding and dead store elimination in IREE (#4032)
* fac8fd1 Add file to track docker :prod digests (#3955)
* 37f0ae8 Tensorlist refactor to remove shape input and support empty reserve behavior (..
* 7585e53 Add relative_artifacts_dir (#3960)
* da53889 Use subprocess.run and types in manage_images.py (#3947)
* fbc63a4 Upgrade PR action to v3 (#3946)
* 83ea4a3 [llvm] Add a PlanConvLoopOrder pass (#3920)
* 1f1c70a Merge pull request #4012
* bab1468 Submodule fix
* bab0308 Merge branch 'main' into google-to-main
* 8df7e5c Sort add_subdirectory and remove todo given it's fixed now (#4029)
* 1bb131c Add missing mkdir to fix building and publishing documentation (#4030)
* 46949ba Fix VectorizeMemref out-of-bound access (#4031)
* b32de09 Update Linux docs to include an LLVM AOT example (#3165)
* 40da454 Update docs to recommend enabling/disabling assertions globally. (#4014)
* fc8da03 Update Tracy to get clean shutdown on Android (#4015)
* 12e20ef support running as root on android. (#4013)
* 1a4f469 Merge branch 'main' into google-to-main
* aff3e9c Add vectorization support for batch_matmul op (#3997)
* 33d4a6b Changing iree/base/math.h to C and adding some PRNG routines. (#4005)
* 73bdbe7 Fixup EmitC include directories (#3983)
* af7b4c3 Refactor finding python3 to use standard cmake find_package (#3778)
* f92602b Always emitting framepointers in generated ELFs (#3987)
* 89ef632 bump Tracy to get Android fixes (#3988)
* 7f989eb Disable MLIR crash reproducer on CI in python tests. (#3943)
* 4db3d08 Adding a demonstration of using the flow dialect post-partitioning. (#3701)
* 589dfa7 Remove no-longer-functional flag (#3961)
* 6454317 Fix MacOS builds after hack-and-slash PR (#3962)
* 8fb887e Update links to coverage tables (#3956)
* c93facb Adding iree_atomic_slist_t type. (#3917)
* bd082ca Merge pull request #3874 from google/benvanik-hack-and-slash
* f4f4ea2 Use UnitTestSpec in tf.keras.layers tests (#3935)
* 7b8e9f7 Reverting flatcc to use our own cmake file for cross-compilation.
* 323e1fd Simplify dylib driver switch.
* 55f3de0 Only register VMLA driver in bindings/java/.
* f429916 Fix warning flag on Windows and HAL CTS driver registration. (#3911)
* 7951e22 Drop IREE_DRIVER_MODULES and iree/base:initializer from ModelBuilder.
* 4e111e2 Disable layering_check in iree/hal/drivers/BUILD.
* 4773736 Add package to iree/base/testing/BUILD.
* 7ca321c Skipping dylib driver in simple_embedding_test as a hack.
* 692deb5 Overriding the default MLIR -> LLVM module name.
* 513f40e Speculative removing nowindows tags (#3615). If there's something that still d..
* cc47813 Removing the broken forward declarations entirely from some codegen code. http..
* fbcad44 Removing _GNU_SOURCE copt for wait_handle.
* c9b10a0 Fixing bad type in hal/api.h (been there for ages!).
* e0c532e Changing iree::InitializeEnvironment to iree_flags_parse. Preparation for #3814.
* 8886ac0 Removing iree_api_init from the API.
* 132d747 Removing ALWAYSLINK support from cmake.
* 0ed81f6 Removing iree/base/initializer.h.
* 0135343 Changing to an explicit driver registration mechanism. This is required for ha..
* bf091d3 Removing ALWAYSLINK support from external_cc_library.
* d4bb871 Changing iree-tblgen to not require alwayslink.
* 6bc6f90 Removing IREE_COMMON_INCLUDE_DIRS and uses by LLVM/MLIR.
* 3c082aa Removing IREE_COMMON_INCLUDE_DIRS mhlo pollution.
* 2395cb9 Removing emitc usage of IREE_COMMON_INCLUDE_DIRS for now.
* 036bd96 TODOs on future library layout changes.
* c3a13e6 Rearranging iree/vm/ to reduce a public + cc target.
* 493b0e2 Rearranging iree/base build rules. By moving the dynamic_library_test out of t..
* 8fd38bf Replacing uses of some absl utilities now in C++14.
* 6786319 Removing unused absl/types/variant.h include.
* 99bd1af Replace absl::exchange with iree::exchange to reduce absl/utility dep.
* c1d0ee1 Removing unused PLATFORM_VULKAN_DEPS. It may be needed internally but it shoul..
* 15437f4 Simplifying iree/hal/dylib/ build config.
* e6984a5 Simplifying iree/hal/ build config.
* 1006281 Simplifying iree/hal/vulkan/ build config.
* 827e51b Simplifying iree/hal/llvmjit/ build config.
* 9a72f5d Simplifying iree/hal/metal/ build config.
* c7a7d72 Simplifying iree/hal/vmla/ build config.
* 90faf21 Adding IREE_TARGET_GUI_LINKOPTS to remove custom linkopts use.
* e5774c3 Remove unused args from flatbuffers_c_library macro.
* 22d16b4 Adding iree/base/flatcc.h to make flatcc easier to include.
* e44dee5 Switching from -DVK_NO_PROTOTYPES to iree/hal/vulkan/vulkan_headers.h.
* 48ca2fe Removing build-config setting of _GNU_SOURCE.
* eeb7dde Goodbye flatbuffers (well, the C++ ones anyway).
* 9c676a8 Removing all build config/utils related to flatbuffers.
* 49c6121 byte->ubyte in flatbuffer defs.
* c99000a Replacing compiler use of VM bytecode module def flatbuffers->flatcc.
* 1bf1e8d Replacing runtime use of metal executable flatbuffers->flatcc. Maybe it works?..
* 48aafb8 Replacing runtime use of spirv executable flatbuffers->flatcc.
* 011e9a2 Replacing runtime use of llvmjit executable flatbuffers->flatcc.
* a021062 Replacing runtime use of dylib executable flatbuffers->flatcc.
* 53a05d7 Replacing runtime use of VMLA executable flatbuffers->flatc.
* 99d30a9 Replacing compiler use of HAL executable flatbuffers->flatc.
* 6ebd1b0 Removing unused tag field in metal/spirv.
* bc685ed Adding flatcc json support and making iree-dump-module use it.
* 94b11c3 Adding include for flatcc to flat_c_libraries.
* 1172cf1 Removing unused iree::schemas::reflection_data.
* c86281a Removing unneeded flatbuffers copts.
* 7f3a7e3 Fixing various type warnings. We don't today have these warnings enabled in ou..
* c17659f Refining MSVC warning set to the minimum required and documenting.
* b7c92bf Cleaning up MSVC warnings and syncing with bazel warnings.
* 94356d3 Removing legacy repo_utils.bzl.
* 0f0d9c8 Prevent bazel-to-cmake from running on iree/base/CMakeLists.txt for now.
* 36225a4 Centralizing -ldl/-lpthread linkopts (as they were in bazel already).
* 31c4dbb Documenting iree_copts with a nice big warning.
* e4740a5 Pass android libraries as actual linkopts.
* 85cdd86 Fixing cmake style issues - prefer `if(` not `if (` please.
* bf4069e Sorting copts/linkopts so we can override things.
* 28040cd Simplifying VMA build integration.
* 479ef30 Replacing use of PROJECT_SOURCE_DIR/PROJECT_BINARY_DIR. Those use the previous..

COPYBARA_INTEGRATE_REVIEW=#4048 from ScottTodd:main-to-google abf5456
PiperOrigin-RevId: 345252359
ScottTodd added a commit that referenced this pull request Dec 2, 2020
* abf5456 Merge google -> main (#4045)
* 1e4349e Merge branch 'main' into google-to-main
* 1f86f0e Add new tf.keras.applications models (#3958)
* 41004a9 [spirv] Add a better tiled and vectorized convolution path (#3990)
* c412944 Bump Tracy to get Ben's dynamic zone colors and to get past (#4042)
* 2a25f5f Remove input shape hack from kws tests (#3959)
* 359ffa0 Allow fusing batch_matmul and fill (#4038)
* 35e837e Merge pull request #4008 from MaheshRavishankar/matmul_fusion
* ffdd9d1 Enable e2e execution of fusion of matmul with producer.
* de116a0 Use tile+fuse on CPU side.
* caf91ac Use fusion of sequence of LinalgOps in IREE SPIR-V codegen path.
* 551f254 Add convert f32 to f16 pass (#4010)
* f1b1e58 Use vector transfer forwarding and dead store elimination in IREE (#4032)
* fac8fd1 Add file to track docker :prod digests (#3955)
* 37f0ae8 Tensorlist refactor to remove shape input and support empty reserve behavior (..
* 7585e53 Add relative_artifacts_dir (#3960)
* da53889 Use subprocess.run and types in manage_images.py (#3947)
* fbc63a4 Upgrade PR action to v3 (#3946)
* 83ea4a3 [llvm] Add a PlanConvLoopOrder pass (#3920)
* 1f1c70a Merge pull request #4012
* bab1468 Submodule fix
* bab0308 Merge branch 'main' into google-to-main
* 8df7e5c Sort add_subdirectory and remove todo given it's fixed now (#4029)
* 1bb131c Add missing mkdir to fix building and publishing documentation (#4030)
* 46949ba Fix VectorizeMemref out-of-bound access (#4031)
* b32de09 Update Linux docs to include an LLVM AOT example (#3165)
* 40da454 Update docs to recommend enabling/disabling assertions globally. (#4014)
* fc8da03 Update Tracy to get clean shutdown on Android (#4015)
* 12e20ef support running as root on android. (#4013)
* 1a4f469 Merge branch 'main' into google-to-main
* aff3e9c Add vectorization support for batch_matmul op (#3997)
* 33d4a6b Changing iree/base/math.h to C and adding some PRNG routines. (#4005)
* 73bdbe7 Fixup EmitC include directories (#3983)
* af7b4c3 Refactor finding python3 to use standard cmake find_package (#3778)
* f92602b Always emitting framepointers in generated ELFs (#3987)
* 89ef632 bump Tracy to get Android fixes (#3988)
* 7f989eb Disable MLIR crash reproducer on CI in python tests. (#3943)
* 4db3d08 Adding a demonstration of using the flow dialect post-partitioning. (#3701)
* 589dfa7 Remove no-longer-functional flag (#3961)
* 6454317 Fix MacOS builds after hack-and-slash PR (#3962)
* 8fb887e Update links to coverage tables (#3956)
* c93facb Adding iree_atomic_slist_t type. (#3917)
* bd082ca Merge pull request #3874 from google/benvanik-hack-and-slash
* f4f4ea2 Use UnitTestSpec in tf.keras.layers tests (#3935)
* 7b8e9f7 Reverting flatcc to use our own cmake file for cross-compilation.
* 323e1fd Simplify dylib driver switch.
* 55f3de0 Only register VMLA driver in bindings/java/.
* f429916 Fix warning flag on Windows and HAL CTS driver registration. (#3911)
* 7951e22 Drop IREE_DRIVER_MODULES and iree/base:initializer from ModelBuilder.
* 4e111e2 Disable layering_check in iree/hal/drivers/BUILD.
* 4773736 Add package to iree/base/testing/BUILD.
* 7ca321c Skipping dylib driver in simple_embedding_test as a hack.
* 692deb5 Overriding the default MLIR -> LLVM module name.
* 513f40e Speculative removing nowindows tags (#3615). If there's something that still d..
* cc47813 Removing the broken forward declarations entirely from some codegen code. http..
* fbcad44 Removing _GNU_SOURCE copt for wait_handle.
* c9b10a0 Fixing bad type in hal/api.h (been there for ages!).
* e0c532e Changing iree::InitializeEnvironment to iree_flags_parse. Preparation for #3814.
* 8886ac0 Removing iree_api_init from the API.
* 132d747 Removing ALWAYSLINK support from cmake.
* 0ed81f6 Removing iree/base/initializer.h.
* 0135343 Changing to an explicit driver registration mechanism. This is required for ha..
* bf091d3 Removing ALWAYSLINK support from external_cc_library.
* d4bb871 Changing iree-tblgen to not require alwayslink.
* 6bc6f90 Removing IREE_COMMON_INCLUDE_DIRS and uses by LLVM/MLIR.
* 3c082aa Removing IREE_COMMON_INCLUDE_DIRS mhlo pollution.
* 2395cb9 Removing emitc usage of IREE_COMMON_INCLUDE_DIRS for now.
* 036bd96 TODOs on future library layout changes.
* c3a13e6 Rearranging iree/vm/ to reduce a public + cc target.
* 493b0e2 Rearranging iree/base build rules. By moving the dynamic_library_test out of t..
* 8fd38bf Replacing uses of some absl utilities now in C++14.
* 6786319 Removing unused absl/types/variant.h include.
* 99bd1af Replace absl::exchange with iree::exchange to reduce absl/utility dep.
* c1d0ee1 Removing unused PLATFORM_VULKAN_DEPS. It may be needed internally but it shoul..
* 15437f4 Simplifying iree/hal/dylib/ build config.
* e6984a5 Simplifying iree/hal/ build config.
* 1006281 Simplifying iree/hal/vulkan/ build config.
* 827e51b Simplifying iree/hal/llvmjit/ build config.
* 9a72f5d Simplifying iree/hal/metal/ build config.
* c7a7d72 Simplifying iree/hal/vmla/ build config.
* 90faf21 Adding IREE_TARGET_GUI_LINKOPTS to remove custom linkopts use.
* e5774c3 Remove unused args from flatbuffers_c_library macro.
* 22d16b4 Adding iree/base/flatcc.h to make flatcc easier to include.
* e44dee5 Switching from -DVK_NO_PROTOTYPES to iree/hal/vulkan/vulkan_headers.h.
* 48ca2fe Removing build-config setting of _GNU_SOURCE.
* eeb7dde Goodbye flatbuffers (well, the C++ ones anyway).
* 9c676a8 Removing all build config/utils related to flatbuffers.
* 49c6121 byte->ubyte in flatbuffer defs.
* c99000a Replacing compiler use of VM bytecode module def flatbuffers->flatcc.
* 1bf1e8d Replacing runtime use of metal executable flatbuffers->flatcc. Maybe it works?..
* 48aafb8 Replacing runtime use of spirv executable flatbuffers->flatcc.
* 011e9a2 Replacing runtime use of llvmjit executable flatbuffers->flatcc.
* a021062 Replacing runtime use of dylib executable flatbuffers->flatcc.
* 53a05d7 Replacing runtime use of VMLA executable flatbuffers->flatc.
* 99d30a9 Replacing compiler use of HAL executable flatbuffers->flatc.
* 6ebd1b0 Removing unused tag field in metal/spirv.
* bc685ed Adding flatcc json support and making iree-dump-module use it.
* 94b11c3 Adding include for flatcc to flat_c_libraries.
* 1172cf1 Removing unused iree::schemas::reflection_data.
* c86281a Removing unneeded flatbuffers copts.
* 7f3a7e3 Fixing various type warnings. We don't today have these warnings enabled in ou..
* c17659f Refining MSVC warning set to the minimum required and documenting.
* b7c92bf Cleaning up MSVC warnings and syncing with bazel warnings.
* 94356d3 Removing legacy repo_utils.bzl.
* 0f0d9c8 Prevent bazel-to-cmake from running on iree/base/CMakeLists.txt for now.
* 36225a4 Centralizing -ldl/-lpthread linkopts (as they were in bazel already).
* 31c4dbb Documenting iree_copts with a nice big warning.
* e4740a5 Pass android libraries as actual linkopts.
* 85cdd86 Fixing cmake style issues - prefer `if(` not `if (` please.
* bf4069e Sorting copts/linkopts so we can override things.
* 28040cd Simplifying VMA build integration.
* 479ef30 Replacing use of PROJECT_SOURCE_DIR/PROJECT_BINARY_DIR. Those use the previous..

COPYBARA_INTEGRATE_REVIEW=#4048 from ScottTodd:main-to-google abf5456
PiperOrigin-RevId: 345252359
This was referenced Dec 2, 2020
GMNGeoffrey added a commit that referenced this pull request Dec 2, 2020
* abf5456 Merge google -> main (#4045)
* 1e4349e Merge branch 'main' into google-to-main
* 1f86f0e Add new tf.keras.applications models (#3958)
* 41004a9 [spirv] Add a better tiled and vectorized convolution path (#3990)
* c412944 Bump Tracy to get Ben's dynamic zone colors and to get past (#4042)
* 2a25f5f Remove input shape hack from kws tests (#3959)
* 359ffa0 Allow fusing batch_matmul and fill (#4038)
* 35e837e Merge pull request #4008 from MaheshRavishankar/matmul_fusion
* ffdd9d1 Enable e2e execution of fusion of matmul with producer.
* de116a0 Use tile+fuse on CPU side.
* caf91ac Use fusion of sequence of LinalgOps in IREE SPIR-V codegen path.
* 551f254 Add convert f32 to f16 pass (#4010)
* f1b1e58 Use vector transfer forwarding and dead store elimination in IREE (#4032)
* fac8fd1 Add file to track docker :prod digests (#3955)
* 37f0ae8 Tensorlist refactor to remove shape input and support empty reserve behavior (..
* 7585e53 Add relative_artifacts_dir (#3960)
* da53889 Use subprocess.run and types in manage_images.py (#3947)
* fbc63a4 Upgrade PR action to v3 (#3946)
* 83ea4a3 [llvm] Add a PlanConvLoopOrder pass (#3920)
* 1f1c70a Merge pull request #4012
* bab1468 Submodule fix
* bab0308 Merge branch 'main' into google-to-main
* 8df7e5c Sort add_subdirectory and remove todo given it's fixed now (#4029)
* 1bb131c Add missing mkdir to fix building and publishing documentation (#4030)
* 46949ba Fix VectorizeMemref out-of-bound access (#4031)
* b32de09 Update Linux docs to include an LLVM AOT example (#3165)
* 40da454 Update docs to recommend enabling/disabling assertions globally. (#4014)
* fc8da03 Update Tracy to get clean shutdown on Android (#4015)
* 12e20ef support running as root on android. (#4013)
* 1a4f469 Merge branch 'main' into google-to-main
* aff3e9c Add vectorization support for batch_matmul op (#3997)
* 33d4a6b Changing iree/base/math.h to C and adding some PRNG routines. (#4005)
* 73bdbe7 Fixup EmitC include directories (#3983)
* af7b4c3 Refactor finding python3 to use standard cmake find_package (#3778)
* f92602b Always emitting framepointers in generated ELFs (#3987)
* 89ef632 bump Tracy to get Android fixes (#3988)
* 7f989eb Disable MLIR crash reproducer on CI in python tests. (#3943)
* 4db3d08 Adding a demonstration of using the flow dialect post-partitioning. (#3701)
* 589dfa7 Remove no-longer-functional flag (#3961)
* 6454317 Fix MacOS builds after hack-and-slash PR (#3962)
* 8fb887e Update links to coverage tables (#3956)
* c93facb Adding iree_atomic_slist_t type. (#3917)
* bd082ca Merge pull request #3874 from google/benvanik-hack-and-slash
* f4f4ea2 Use UnitTestSpec in tf.keras.layers tests (#3935)
* 7b8e9f7 Reverting flatcc to use our own cmake file for cross-compilation.
* 323e1fd Simplify dylib driver switch.
* 55f3de0 Only register VMLA driver in bindings/java/.
* f429916 Fix warning flag on Windows and HAL CTS driver registration. (#3911)
* 7951e22 Drop IREE_DRIVER_MODULES and iree/base:initializer from ModelBuilder.
* 4e111e2 Disable layering_check in iree/hal/drivers/BUILD.
* 4773736 Add package to iree/base/testing/BUILD.
* 7ca321c Skipping dylib driver in simple_embedding_test as a hack.
* 692deb5 Overriding the default MLIR -> LLVM module name.
* 513f40e Speculative removing nowindows tags (#3615). If there's something that still d..
* cc47813 Removing the broken forward declarations entirely from some codegen code. http..
* fbcad44 Removing _GNU_SOURCE copt for wait_handle.
* c9b10a0 Fixing bad type in hal/api.h (been there for ages!).
* e0c532e Changing iree::InitializeEnvironment to iree_flags_parse. Preparation for #3814.
* 8886ac0 Removing iree_api_init from the API.
* 132d747 Removing ALWAYSLINK support from cmake.
* 0ed81f6 Removing iree/base/initializer.h.
* 0135343 Changing to an explicit driver registration mechanism. This is required for ha..
* bf091d3 Removing ALWAYSLINK support from external_cc_library.
* d4bb871 Changing iree-tblgen to not require alwayslink.
* 6bc6f90 Removing IREE_COMMON_INCLUDE_DIRS and uses by LLVM/MLIR.
* 3c082aa Removing IREE_COMMON_INCLUDE_DIRS mhlo pollution.
* 2395cb9 Removing emitc usage of IREE_COMMON_INCLUDE_DIRS for now.
* 036bd96 TODOs on future library layout changes.
* c3a13e6 Rearranging iree/vm/ to reduce a public + cc target.
* 493b0e2 Rearranging iree/base build rules. By moving the dynamic_library_test out of t..
* 8fd38bf Replacing uses of some absl utilities now in C++14.
* 6786319 Removing unused absl/types/variant.h include.
* 99bd1af Replace absl::exchange with iree::exchange to reduce absl/utility dep.
* c1d0ee1 Removing unused PLATFORM_VULKAN_DEPS. It may be needed internally but it shoul..
* 15437f4 Simplifying iree/hal/dylib/ build config.
* e6984a5 Simplifying iree/hal/ build config.
* 1006281 Simplifying iree/hal/vulkan/ build config.
* 827e51b Simplifying iree/hal/llvmjit/ build config.
* 9a72f5d Simplifying iree/hal/metal/ build config.
* c7a7d72 Simplifying iree/hal/vmla/ build config.
* 90faf21 Adding IREE_TARGET_GUI_LINKOPTS to remove custom linkopts use.
* e5774c3 Remove unused args from flatbuffers_c_library macro.
* 22d16b4 Adding iree/base/flatcc.h to make flatcc easier to include.
* e44dee5 Switching from -DVK_NO_PROTOTYPES to iree/hal/vulkan/vulkan_headers.h.
* 48ca2fe Removing build-config setting of _GNU_SOURCE.
* eeb7dde Goodbye flatbuffers (well, the C++ ones anyway).
* 9c676a8 Removing all build config/utils related to flatbuffers.
* 49c6121 byte->ubyte in flatbuffer defs.
* c99000a Replacing compiler use of VM bytecode module def flatbuffers->flatcc.
* 1bf1e8d Replacing runtime use of metal executable flatbuffers->flatcc. Maybe it works?..
* 48aafb8 Replacing runtime use of spirv executable flatbuffers->flatcc.
* 011e9a2 Replacing runtime use of llvmjit executable flatbuffers->flatcc.
* a021062 Replacing runtime use of dylib executable flatbuffers->flatcc.
* 53a05d7 Replacing runtime use of VMLA executable flatbuffers->flatc.
* 99d30a9 Replacing compiler use of HAL executable flatbuffers->flatc.
* 6ebd1b0 Removing unused tag field in metal/spirv.
* bc685ed Adding flatcc json support and making iree-dump-module use it.
* 94b11c3 Adding include for flatcc to flat_c_libraries.
* 1172cf1 Removing unused iree::schemas::reflection_data.
* c86281a Removing unneeded flatbuffers copts.
* 7f3a7e3 Fixing various type warnings. We don't today have these warnings enabled in ou..
* c17659f Refining MSVC warning set to the minimum required and documenting.
* b7c92bf Cleaning up MSVC warnings and syncing with bazel warnings.
* 94356d3 Removing legacy repo_utils.bzl.
* 0f0d9c8 Prevent bazel-to-cmake from running on iree/base/CMakeLists.txt for now.
* 36225a4 Centralizing -ldl/-lpthread linkopts (as they were in bazel already).
* 31c4dbb Documenting iree_copts with a nice big warning.
* e4740a5 Pass android libraries as actual linkopts.
* 85cdd86 Fixing cmake style issues - prefer `if(` not `if (` please.
* bf4069e Sorting copts/linkopts so we can override things.
* 28040cd Simplifying VMA build integration.
* 479ef30 Replacing use of PROJECT_SOURCE_DIR/PROJECT_BINARY_DIR. Those use the previous..

PiperOrigin-RevId: 345252359
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infrastructure Relating to build systems, CI, or testing yolo ( ͡° ͜ʖ ͡°)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants