Skip to content

Merge main -> google - #2368

Merged
copybara-service[bot] merged 8 commits into
iree-org:googlefrom
GMNGeoffrey:main-to-google
Jul 1, 2020
Merged

copybara-service[bot] merged 8 commits into
iree-org:googlefrom
GMNGeoffrey:main-to-google

Conversation

@GMNGeoffrey

Copy link
Copy Markdown
Member

phoenix-meadowlark and others added 8 commits June 29, 2020 11:28
This prevents these targets from potentially running on remote servers that don't support non-hermetic tests.
…ree-org#2344)

Using Windows as the host platform for cross compiling IREE towards
Android requires more cmake arguments than Linux. LLVM is having
problem of detecting host triple when CMake is invoked with Android
toolchain file. This means we need to manually pass in certain
configurations to help it figure out the proper compiler toolchain
for host.

This commit also changes various `TARGET` function parameter names
to `EXECUTABLE` given that for referencing "targets" on host, which
is under another CMake invocation, we need to relying on the generated
executable artifacts. Using `EXECUTABLE` is more clear.
…cker images. (iree-org#2355)

Also includes some small fixes to the Dockerfiles.
This commit enables -DIREE_BUILD_TESTS=ON when invoking CMake
with a toolchain file. Now we can compile non-host-only tests
towards, e.g., ARM for Android.

This commit also enables cross-compiling iree-benchmark-module.
This change simplifies the target backend specification for `tf_test_utils.py` by:
- Removing `IREE_AVAILABLE_BACKENDS`
- Removing `IREE_OVERRIDE_BACKENDS`
- Removing backend specification from `tf_test_utils.compile_modules()`
- Removing backend specification from all of the `e2e/...` test files (backend specification is now done in the `e2e/...` `BUILD` files).
- Renaming `--override_backends` to `--target_backends`

`TODOs`, bugs and issues are all moved from the test files into the `BUILD` files for easier tracking.
@GMNGeoffrey
GMNGeoffrey marked this pull request as ready for review June 30, 2020 22:59
@copybara-service
copybara-service Bot merged commit c8dc96d into iree-org:google Jul 1, 2020
This was referenced Jul 1, 2020
GMNGeoffrey added a commit that referenced this pull request Jul 1, 2020
* 93dc947 Set TF OSS flags in bazelrc                                                     
* 35bae01 Remove control overhead in loop -> workgroup distribution.                      
* a20d9d1 Synchronize submodules                                                          
* 5a974cb Update TF Submodule and LLVM BUILD files.                                       
* c1ec915 Enable tiling using parallel loops and add pattern to map parallel loops to wo..
* c8dc96d Merge pull request #2368 from GMNGeoffrey:main-to-google                        
* 69509d1 Update ModelBuilder after upstream MLIR changes                                 
* 1c3b8e7 Synchronize submodules                                                          
* 0c0c892 Integrate LLVM at llvm/llvm-project@7d9518c8000b      
* a88e55b Synchronize submodules                                                          
* 4a9a704 Integrate LLVM at llvm/llvm-project@2501e86acda2      
* e6e5839 LLVMAOTTarget compilation and linking
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants