Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs fixes for arm-runtimes and arm-multilib sub-builds. #575

Merged
merged 1 commit into from
Nov 21, 2024

Conversation

statham-arm
Copy link
Collaborator

The suggested build commands left out the usual cd after mkdir, so that if you followed them literally, you'd create an arm-runtimes or arm-multilib directory and then ignore it completely and put all your build debris at the level above it.

Also, trying to follow the instructions, I was confused by the semantics of LLVM_BINARY_DIR: given the name, I instinctively pointed it at the actual bin directory, but it turned out I should have aimed one level up. Added some clarifying text, with particular reference to using a full build of this toolchain for a standalone build of one library.

While I'm here, removed some apparently accidental physical tabs, so that all the continuation lines in the long cmake commands line up.

The suggested build commands left out the usual `cd` after `mkdir`, so
that if you followed them literally, you'd create an `arm-runtimes` or
`arm-multilib` directory and then ignore it completely and put all
your build debris at the level above it.

Also, trying to follow the instructions, I was confused by the
semantics of `LLVM_BINARY_DIR`: given the name, I instinctively
pointed it at the actual `bin` directory, but it turned out I should
have aimed one level up. Added some clarifying text, with particular
reference to using a full build of this toolchain for a standalone
build of one library.

While I'm here, removed some apparently accidental physical tabs, so
that all the continuation lines in the long cmake commands line up.
Copy link
Collaborator

@dcandler dcandler left a comment

Choose a reason for hiding this comment

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

Thanks - I can understand the confusion around LLVM_BINARY_DIR since it's using "binary" in the CMake context of the build tree rather than a source one. But calling it the build directory also didn't quite work since it can also be pointed to an install or extracted package.

@statham-arm
Copy link
Collaborator Author

Yes, I guessed that was the sense you meant "binary" in. As you say – it's a valid use, just not the only use, so the clarification seems worth having.

@statham-arm statham-arm merged commit d0b2af2 into ARM-software:main Nov 21, 2024
1 check passed
@statham-arm statham-arm deleted the library-build-docs-fixes branch November 21, 2024 17:08
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.

2 participants