-
Notifications
You must be signed in to change notification settings - Fork 0
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
Initial pr #1
base: main
Are you sure you want to change the base?
Initial pr #1
Conversation
@compnerd mentioned that https://github.com/compnerd/toolchain-infrastructure might also be of interest. |
9d8507b
to
c54fb2a
Compare
--syslibdir=/usr/local/lib \ | ||
--disable-static | ||
|
||
make -j$(nproc) AR=llvm-ar RANLIB=llvm-ranlib |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make -j$(nproc) AR=llvm-ar RANLIB=llvm-ranlib | |
make -j$(nproc) AR=${AR:-ar} RANLIB=${RANLIB:-ranlib} |
The user can specify AR=llvm-ar RANLIB=llvm-ranlib
to select it.
also, I had libc++abi built, but upon wiping my build artifacts and rerunning fresh, that doesn't build anymore...
breaking the build of libcxxabi.
c54fb2a
to
6a08c94
Compare
cmake \ | ||
-D CMAKE_BUILD_TYPE=Release \ | ||
-D CMAKE_CXX_COMPILER=$CXX \ | ||
-D CMAKE_CXX_COMPILER_TARGET=x86_64-unknown-linux-musl \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is CMAKE_CXX_COMPILER_TARGET needed? Does LLVM_DEFAULT_TARGET_TRIPLE help?
241a7ff
to
9c72741
Compare
I'm very interested in this, will take a brief look next week. |
I got stuck getting libc++ to build; also, libc++abi seems to have regressed. Generally poor quality code that's full of trash and not cleaned up. Thought it might be worth posting if anyone is interested in playing with it.
EDIT: fixed the libc++abi build.