Skip to content

Adjust UnixLinkerTool flags used for Apple targets. - #5164

Merged
ScottTodd merged 1 commit into
iree-org:mainfrom
ScottTodd:macos-linking
Mar 22, 2021
Merged

ScottTodd merged 1 commit into
iree-org:mainfrom
ScottTodd:macos-linking

Conversation

@ScottTodd

Copy link
Copy Markdown
Member

Fixes #4959

I don't fully understand the static/shared distinction between these platforms/toolchains, particularly while we still have some calls to functions like floorf, but our tests seem to build+run+pass on macOS and Linux with these changes.

@ScottTodd ScottTodd added codegen/llvm LLVM code generation compiler backend platform/macos 🍎 MacOS-specific build, execution, benchmarking, and deployment labels Mar 22, 2021
@ScottTodd
ScottTodd merged commit 663ab93 into iree-org:main Mar 22, 2021
@ScottTodd
ScottTodd deleted the macos-linking branch March 22, 2021 21:00
@ScottTodd ScottTodd mentioned this pull request Mar 23, 2021
copybara-service Bot pushed a commit that referenced this pull request Mar 23, 2021
* 82d8765 Merge branch 'google' into main-to-google
* b7e2b09 Remove special casing for IreeFileCheck in iree_lit_test.cmake (#5209)
* b67af5a Clean up several CMake options configured for our CI builds. (#5197)
* ea8b82d Integrate MLIR-EmitC at iml130/mlir-emitc@68547d0 (#5205)
* 10d9ea1 Make CPU/GPU end-to-end testing in Linalg on tensors/buffers align. (#5203)
* ff69d02 Move prepration of benchmark files to python script. (#5201)
* 0c2f9e8 Bump Abseil-cpp submodule to LTS 20200923, Patch 3 (#5198)
* 6ac0023 Add runtime tracing support to passes under IREE's PassManager usage. (#5160)
* 2e41217 Bump Benchmark submodule to 39c8d58 (#5196)
* 663ab93 Adjust UnixLinkerTool flags used for Apple targets. (#5164)
* 963beb9 Plumb pooling ops through Linalg on tensors path. (#5136)
* a33f72f Plumb depthwise convolution in Linalg on tensors. (#5189)
* 2864ee4 Add restrictions for enabling generic op vectorization. (#5188)
* 4f218a8 Make sure convolution vectorization is off when the option flag is off (#5187)
* 44736b5 build_tools:cmake:riscv: Fix the system library path (#5175)
* 96e9c49 Switching from mhlo::ConvertOp to ZeroExtendI for i1->i8 conversion. (#5119)
* da4ad51 Fix and re-enable jax testing (#5183)
* 301bc15 Merge google -> main (#5182)
* 400719c Shuffling around/removing some HLO deps.
* 9ba1d57 Enable MobileBert on GPU for the linalg on tensors path. (#5180)
* 52f02af Resolve name conflicts while linking executables in LLVM. (#5179)
* 4a732d3 Removing the post-partitioning conversion pass as it is unused. We've built up..

COPYBARA_INTEGRATE_REVIEW=#5212 from ScottTodd:main-to-google 82d8765
PiperOrigin-RevId: 364658113
iree-github-actions-bot pushed a commit that referenced this pull request Mar 23, 2021
* 82d8765 Merge branch 'google' into main-to-google
* b7e2b09 Remove special casing for IreeFileCheck in iree_lit_test.cmake (#5209)
* b67af5a Clean up several CMake options configured for our CI builds. (#5197)
* ea8b82d Integrate MLIR-EmitC at iml130/mlir-emitc@68547d0 (#5205)
* 10d9ea1 Make CPU/GPU end-to-end testing in Linalg on tensors/buffers align. (#5203)
* ff69d02 Move prepration of benchmark files to python script. (#5201)
* 0c2f9e8 Bump Abseil-cpp submodule to LTS 20200923, Patch 3 (#5198)
* 6ac0023 Add runtime tracing support to passes under IREE's PassManager usage. (#5160)
* 2e41217 Bump Benchmark submodule to 39c8d58 (#5196)
* 663ab93 Adjust UnixLinkerTool flags used for Apple targets. (#5164)
* 963beb9 Plumb pooling ops through Linalg on tensors path. (#5136)
* a33f72f Plumb depthwise convolution in Linalg on tensors. (#5189)
* 2864ee4 Add restrictions for enabling generic op vectorization. (#5188)
* 4f218a8 Make sure convolution vectorization is off when the option flag is off (#5187)
* 44736b5 build_tools:cmake:riscv: Fix the system library path (#5175)
* 96e9c49 Switching from mhlo::ConvertOp to ZeroExtendI for i1->i8 conversion. (#5119)
* da4ad51 Fix and re-enable jax testing (#5183)
* 301bc15 Merge google -> main (#5182)
* 400719c Shuffling around/removing some HLO deps.
* 9ba1d57 Enable MobileBert on GPU for the linalg on tensors path. (#5180)
* 52f02af Resolve name conflicts while linking executables in LLVM. (#5179)
* 4a732d3 Removing the post-partitioning conversion pass as it is unused. We've built up..

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

Labels

codegen/llvm LLVM code generation compiler backend platform/macos 🍎 MacOS-specific build, execution, benchmarking, and deployment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"ld: unknown option: -nostdlib" on macos

2 participants