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

libxx: Integrate uClibc++ latest official release #1411

Merged
merged 1 commit into from
Jul 17, 2020

Conversation

xiaoxiang781216
Copy link
Contributor

Summary

With the recent enhancement, we can directly use the offiical uClibc++ package, so let's download the package from the official website.

Impact

User don't need manually setup uClibc++ environment, the build system will do it automatically.

Testing

@@ -313,6 +313,7 @@ ifneq ($(CONFIG_ARCH_CHIP),)
endif

dirlinks: include/arch include/arch/board include/arch/chip $(ARCH_SRC)/board $(ARCH_SRC)/chip drivers/platform
$(Q) $(MAKE) -C libs/libxx dirlinks TOPDIR="$(TOPDIR)"
Copy link
Member

Choose a reason for hiding this comment

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

This should go to Makefile.win too.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good catch, I will provide a patch fix it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@Ouss4 done.

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I05377a0a7674f1cbe461ce67960bd3dc62729337
@@ -95,7 +97,7 @@ clean:
$(call DELFILE, $(BIN))
$(call CLEAN)

distclean: clean
distclean:: clean
Copy link
Member

@Ouss4 Ouss4 Jul 17, 2020

Choose a reason for hiding this comment

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

@xiaoxiang781216 users of other C++ libraries will need to be aware if this change, right? Their distclean would fail otherwise.

Copy link
Contributor Author

@xiaoxiang781216 xiaoxiang781216 Jul 17, 2020

Choose a reason for hiding this comment

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

I will provide the new patch for libcxx too. Like uClibc++, we don't need maintain the private copy anymore, the official release can be directly used.
BTW, I can't fix libcxx/Make.defs since it is in Alan's git:
https://bitbucket.org/acassis/libcxx/src/master/

@Ouss4 Ouss4 merged commit ac7e5de into apache:master Jul 17, 2020
@xiaoxiang781216 xiaoxiang781216 deleted the uClibc++ branch July 20, 2020 02:10
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