Skip to content

Conversation

@neonichu
Copy link
Contributor

@neonichu neonichu commented Dec 8, 2022

Not sure what has caused this, possibly underlying CMake changes, but I am seeing linker errors related to missing linkage of the C++ standard library recently. This changes bootstrap to explicitly inject into linker flags when building llbuild to avoid the problem.

Not sure what has caused this, possibly underlying CMake changes, but I am seeing linker errors related to missing linkage of the C++ standard library recently. This changes `bootstrap` to explicitly inject into linker flags when building llbuild to avoid the problem.
@neonichu neonichu self-assigned this Dec 8, 2022
@neonichu
Copy link
Contributor Author

neonichu commented Dec 8, 2022

@swift-ci please smoke test

@neonichu neonichu merged commit 818ca5c into main Dec 9, 2022
@neonichu neonichu deleted the fix-llbuild-bootstrap branch December 9, 2022 00:23
# -----------------------------------------------------------

def build_with_cmake(args, cmake_args, ninja_args, source_path, build_dir):
def build_with_cmake(args, cmake_args, ninja_args, source_path, build_dir, cmake_env = []):
Copy link
Contributor

@tomerd tomerd Dec 21, 2022

Choose a reason for hiding this comment

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

nit: args, cmake_args, cmake_env = [], ninja_args, source_path, build_dir

Copy link
Contributor Author

Choose a reason for hiding this comment

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

not possible afaik, python doesn't allow non-default args after args with default values

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