[swift-corelibs-dev] [swift-dev] Linux: Build process not finding my ICU
Will Stanton
willstanton1 at yahoo.com
Tue Sep 13 18:28:58 CDT 2016
Hello Eric,
Not sure if this will help, but perhaps you can feed something in build.py?
https://github.com/apple/swift-corelibs-foundation/blob/master/build.py
You seem to be working under some tight constraints! Is installing ICU in /usr/local/ not possible?
Regards,
Will Stanton
> On Sep 13, 2016, at 6:21 PM, Eric Wing via swift-dev <swift-dev at swift.org> wrote:
>
> I'm trying to build Swift 3 on a Linux system that doesn't come with a
> usable libICU.
> I've built ICU myself and placed it in a non-root directory (along
> with a lot of other dependencies not available on my system that Swift
> needs).
>
> I've had to reimplement my patch because it looks like a rebase was
> done which broke the merge. (https://bugs.swift.org/browse/SR-1358)
>
> Anyway, I think I've gotten through building the swift compiler
> itself, but the build process is now in swift-corelibs-foundation. The
> build process fails at #include <unicode/ucal.h> for
> CoreFoundation/Locale.subproj/CFCalendar.c
>
> Looking at the build flags in my console, I see no -I flags to the
> location of my ICU headers (or any other of my extra dependencies).
>
> How do I fix the build process to make sure these extra paths are searched?
>
> Thanks,
> Eric
More information about the swift-corelibs-dev
mailing list