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

Initial pr #1

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Open

Initial pr #1

wants to merge 11 commits into from

Conversation

nickdesaulniers
Copy link
Member

@nickdesaulniers nickdesaulniers commented Sep 22, 2021

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.

@nickdesaulniers
Copy link
Member Author

@compnerd mentioned that https://github.com/compnerd/toolchain-infrastructure might also be of interest.

--syslibdir=/usr/local/lib \
--disable-static

make -j$(nproc) AR=llvm-ar RANLIB=llvm-ranlib
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
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...
bootstrap.sh Outdated Show resolved Hide resolved
cmake \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_CXX_COMPILER=$CXX \
-D CMAKE_CXX_COMPILER_TARGET=x86_64-unknown-linux-musl \
Copy link
Member

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?

bootstrap.sh Outdated Show resolved Hide resolved
@tpimh
Copy link

tpimh commented Sep 24, 2021

I'm very interested in this, will take a brief look next week.

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.

4 participants