答复: build-script was completed, how to install the binary file to /usr folder?


(Quan Yong Zhai) #1

Hi, Ryan
Thanks for your input
My OS is Ubuntu linux 14.04, I follow the procedures in github/apple/swift ,cloned all the source file, and build the whole Projects with:
cd swift
utils/build-script -R -b -p -l --foundation --xctest

The build-script was completed,
But I don't know how to install the generated binary files in the build/Ninja-RealeaseAssert/* into custom directory.

···

________________________________
发件人: Ryan Lovelett via swift-users<mailto:swift-users@swift.org>
发送时间: ‎2016/‎1/‎5 6:27
收件人: swift-users@swift.org<mailto:swift-users@swift.org>
主题: Re: [swift-users] build-script was completed, how to install the binary file to /usr folder?

Can you provide a little bit more context? Operating system...command
you ran...etc...

On Fri, Jan 1, 2016, at 03:15 AM, Quan Yong Zhai via swift-users wrote:

Hi,

The build-script was completed , how do I install the binary file to
/usr folder?

Thanks in advance

_________________________________________________
swift-users mailing list swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users


(Ryan Lovelett) #2

In my estimation this is the easiest way:

build-script --preset=buildbot_linux_1404
installable_package=/tmp/swift.tar.gz install_destdir=/tmp

It will cause it to rebuild but you should have a roper tar at the end.

···

On Mon, Jan 4, 2016, at 08:09 PM, Quan Yong Zhai wrote:

Hi, Ryan
Thanks for your input
My OS is Ubuntu linux 14.04, I follow the procedures in
github/apple/swift ,cloned all the source file, and build the whole
Projects with:
cd swift
utils/build-script -R -b -p -l --foundation --xctest

The build-script was completed,
But I don't know how to install the generated binary files in the
build/Ninja-RealeaseAssert/* into custom directory.
________________________________
发件人: Ryan Lovelett via swift-users<mailto:swift-users@swift.org>
发送时间: ‎2016/‎1/‎5 6:27
收件人: swift-users@swift.org<mailto:swift-users@swift.org>
主题: Re: [swift-users] build-script was completed, how to install the
binary file to /usr folder?

Can you provide a little bit more context? Operating system...command
you ran...etc...

On Fri, Jan 1, 2016, at 03:15 AM, Quan Yong Zhai via swift-users wrote:
> Hi,

> The build-script was completed , how do I install the binary file to
> /usr folder?

>

> Thanks in advance

>

>

>
> _________________________________________________
> swift-users mailing list swift-users@swift.org
> https://lists.swift.org/mailman/listinfo/swift-users
_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users