2016年6月9日木曜日

centos-release-7-2.1511.el7.centos.2.10.x86_64でswift-3.0-preview-1をビルドする

centos-release-7-2.1511.el7.centos.2.10.x86_64でswiftをビルドする。
swiftのコンパイルはUbuntu 15.10、14.04での手順だけが掲載されている。
https://github.com/apple/swift/blob/master/README.md
現にlatestであるところのecb4140d6405f8012427452888dae10c1b819513等のコミットではコンパイルやリンクが完了しないといった事象があった。

ただし、swift2.2であればbuildできるとするblogもある。http://www.swiftprogrammer.info/swift_centos_1.html
2015/12/14の投稿で、3.0に対応した記載がなく、また他に日本語でまとめられた記事が見つかりにくい。
検索する際、centos7  swift -openstackとしても容易に適切な解が得られなかった。


無理やりではあるものの一応ビルドが出来たので手順をまとめる。
難しい手順はないが一手間工夫しないとビルドが出来ない。
具体的にはswiftのビルドに必要とされる、cmakeのバージョンが適合しない。
CentOS-7-2.1511ではepelでもcmake2.8.11しか提供されていない。
swiftのビルドにはcmake2.8.12.2以上のバージョンが必要で、無理にビルドを進めても以下のエラーが出て進めない。
CMake 2.8.12.2 or higher is required. You are running version 2.8.11
このエラー回避の為、cmake3にcmakeとシンボリックを張る事でビルド出来る事を確認した。

次の環境にてビルド完了のみ確認できた。
自己責任にて活用してほしい。
# rpm -qa centos-release
centos-release-7-2.1511.el7.centos.2.10.x86_64


なお、この方法ではswiftpmがビルドできなかった。 
言わば、Swift PlaygroundsのCLI版でしかない。
どうしてもCentOS7で試したいという人向けの内容となっている。

また、ビルドにあたり、CPU4core、メモリ4G程度あった方がいい。
(具体的にはbuildが停止する可能性が高い。)
VirtualBOXの様な環境であれば一時的にでも多くのCPUを割り当てた方がビルドが早く終わる。

(ビルド中のメッセージを読むと自動的にjオプションで調整される模様。 )

おおよその手順は以下の通り。
1)ビルドの為の各種ツールをインストール
2)swiftのソースとその周辺ツールを取得する。
3)swiftのビルド

1)ビルドの為の各種ツールをインストール
# yum --disablerepo=\* --enablerepo=base install git
読み込んだプラグイン:fastestmirror
base                                                                                                           | 3.6 kB  00:00:00     
(1/2): base/7/x86_64/group_gz                                                                                  | 155 kB  00:00:00     
(2/2): base/7/x86_64/primary_db                                                                                | 5.3 MB  00:00:19     
Determining fastest mirrors
 * base: ftp.riken.jp
依存性の解決をしています
--> トランザクションの確認を実行しています。
---> パッケージ git.x86_64 0:1.8.3.1-5.el7 を インストール
--> 依存性の処理をしています: perl-Git = 1.8.3.1-5.el7 のパッケージ: git-1.8.3.1-5.el7.x86_64
--> 依存性の処理をしています: perl >= 5.008 のパッケージ: git-1.8.3.1-5.el7.x86_64
--> 依存性の処理をしています: rsync のパッケージ: git-1.8.3.1-5.el7.x86_64
--> 依存性の処理をしています: perl(warnings) のパッケージ: git-1.8.3.1-5.el7.x86_64
--> 依存性の処理をしています: perl(vars) のパッケージ: git-1.8.3.1-5.el7.x86_64
--> 依存性の処理をしています: perl(strict) のパッケージ: git-1.8.3.1-5.el7.x86_64
--> 依存性の処理をしています: perl(lib) のパッケージ: git-1.8.3.1-5.el7.x86_64
--> 依存性の処理をしています: perl(Term::ReadKey) のパッケージ: git-1.8.3.1-5.el7.x86_64
--> 依存性の処理をしています: perl(Git) のパッケージ: git-1.8.3.1-5.el7.x86_64
--> 依存性の処理をしています: perl(Getopt::Long) のパッケージ: git-1.8.3.1-5.el7.x86_64
--> 依存性の処理をしています: perl(File::stat) のパッケージ: git-1.8.3.1-5.el7.x86_64
--> 依存性の処理をしています: perl(File::Temp) のパッケージ: git-1.8.3.1-5.el7.x86_64
--> 依存性の処理をしています: perl(File::Spec) のパッケージ: git-1.8.3.1-5.el7.x86_64
--> 依存性の処理をしています: perl(File::Path) のパッケージ: git-1.8.3.1-5.el7.x86_64
--> 依存性の処理をしています: perl(File::Find) のパッケージ: git-1.8.3.1-5.el7.x86_64
--> 依存性の処理をしています: perl(File::Copy) のパッケージ: git-1.8.3.1-5.el7.x86_64
--> 依存性の処理をしています: perl(File::Basename) のパッケージ: git-1.8.3.1-5.el7.x86_64
--> 依存性の処理をしています: perl(Exporter) のパッケージ: git-1.8.3.1-5.el7.x86_64
--> 依存性の処理をしています: perl(Error) のパッケージ: git-1.8.3.1-5.el7.x86_64
--> 依存性の処理をしています: /usr/bin/perl のパッケージ: git-1.8.3.1-5.el7.x86_64
--> 依存性の処理をしています: libgnome-keyring.so.0()(64bit) のパッケージ: git-1.8.3.1-5.el7.x86_64
--> トランザクションの確認を実行しています。
---> パッケージ libgnome-keyring.x86_64 0:3.8.0-3.el7 を インストール
---> パッケージ perl.x86_64 4:5.16.3-286.el7 を インストール
--> 依存性の処理をしています: perl-libs = 4:5.16.3-286.el7 のパッケージ: 4:perl-5.16.3-286.el7.x86_64
--> 依存性の処理をしています: perl(Socket) >= 1.3 のパッケージ: 4:perl-5.16.3-286.el7.x86_64
--> 依存性の処理をしています: perl(Scalar::Util) >= 1.10 のパッケージ: 4:perl-5.16.3-286.el7.x86_64
--> 依存性の処理をしています: perl-macros のパッケージ: 4:perl-5.16.3-286.el7.x86_64
--> 依存性の処理をしています: perl-libs のパッケージ: 4:perl-5.16.3-286.el7.x86_64
--> 依存性の処理をしています: perl(threads::shared) のパッケージ: 4:perl-5.16.3-286.el7.x86_64
--> 依存性の処理をしています: perl(threads) のパッケージ: 4:perl-5.16.3-286.el7.x86_64
--> 依存性の処理をしています: perl(constant) のパッケージ: 4:perl-5.16.3-286.el7.x86_64
--> 依存性の処理をしています: perl(Time::Local) のパッケージ: 4:perl-5.16.3-286.el7.x86_64
--> 依存性の処理をしています: perl(Time::HiRes) のパッケージ: 4:perl-5.16.3-286.el7.x86_64
--> 依存性の処理をしています: perl(Storable) のパッケージ: 4:perl-5.16.3-286.el7.x86_64
--> 依存性の処理をしています: perl(Socket) のパッケージ: 4:perl-5.16.3-286.el7.x86_64
--> 依存性の処理をしています: perl(Scalar::Util) のパッケージ: 4:perl-5.16.3-286.el7.x86_64
--> 依存性の処理をしています: perl(Pod::Simple::XHTML) のパッケージ: 4:perl-5.16.3-286.el7.x86_64
--> 依存性の処理をしています: perl(Pod::Simple::Search) のパッケージ: 4:perl-5.16.3-286.el7.x86_64
--> 依存性の処理をしています: perl(Filter::Util::Call) のパッケージ: 4:perl-5.16.3-286.el7.x86_64
--> 依存性の処理をしています: perl(Carp) のパッケージ: 4:perl-5.16.3-286.el7.x86_64
--> 依存性の処理をしています: libperl.so()(64bit) のパッケージ: 4:perl-5.16.3-286.el7.x86_64
---> パッケージ perl-Error.noarch 1:0.17020-2.el7 を インストール
---> パッケージ perl-Exporter.noarch 0:5.68-3.el7 を インストール
---> パッケージ perl-File-Path.noarch 0:2.09-2.el7 を インストール
---> パッケージ perl-File-Temp.noarch 0:0.23.01-3.el7 を インストール
---> パッケージ perl-Getopt-Long.noarch 0:2.40-2.el7 を インストール
--> 依存性の処理をしています: perl(Pod::Usage) >= 1.14 のパッケージ: perl-Getopt-Long-2.40-2.el7.noarch
--> 依存性の処理をしています: perl(Text::ParseWords) のパッケージ: perl-Getopt-Long-2.40-2.el7.noarch
---> パッケージ perl-Git.noarch 0:1.8.3.1-5.el7 を インストール
---> パッケージ perl-PathTools.x86_64 0:3.40-5.el7 を インストール
---> パッケージ perl-TermReadKey.x86_64 0:2.30-20.el7 を インストール
---> パッケージ rsync.x86_64 0:3.0.9-17.el7 を インストール
--> トランザクションの確認を実行しています。
---> パッケージ perl-Carp.noarch 0:1.26-244.el7 を インストール
---> パッケージ perl-Filter.x86_64 0:1.49-3.el7 を インストール
---> パッケージ perl-Pod-Simple.noarch 1:3.28-4.el7 を インストール
--> 依存性の処理をしています: perl(Pod::Escapes) >= 1.04 のパッケージ: 1:perl-Pod-Simple-3.28-4.el7.noarch
--> 依存性の処理をしています: perl(Encode) のパッケージ: 1:perl-Pod-Simple-3.28-4.el7.noarch
---> パッケージ perl-Pod-Usage.noarch 0:1.63-3.el7 を インストール
--> 依存性の処理をしています: perl(Pod::Text) >= 3.15 のパッケージ: perl-Pod-Usage-1.63-3.el7.noarch
--> 依存性の処理をしています: perl-Pod-Perldoc のパッケージ: perl-Pod-Usage-1.63-3.el7.noarch
---> パッケージ perl-Scalar-List-Utils.x86_64 0:1.27-248.el7 を インストール
---> パッケージ perl-Socket.x86_64 0:2.010-3.el7 を インストール
---> パッケージ perl-Storable.x86_64 0:2.45-3.el7 を インストール
---> パッケージ perl-Text-ParseWords.noarch 0:3.29-4.el7 を インストール
---> パッケージ perl-Time-HiRes.x86_64 4:1.9725-3.el7 を インストール
---> パッケージ perl-Time-Local.noarch 0:1.2300-2.el7 を インストール
---> パッケージ perl-constant.noarch 0:1.27-2.el7 を インストール
---> パッケージ perl-libs.x86_64 4:5.16.3-286.el7 を インストール
---> パッケージ perl-macros.x86_64 4:5.16.3-286.el7 を インストール
---> パッケージ perl-threads.x86_64 0:1.87-4.el7 を インストール
---> パッケージ perl-threads-shared.x86_64 0:1.43-6.el7 を インストール
--> トランザクションの確認を実行しています。
---> パッケージ perl-Encode.x86_64 0:2.51-7.el7 を インストール
---> パッケージ perl-Pod-Escapes.noarch 1:1.04-286.el7 を インストール
---> パッケージ perl-Pod-Perldoc.noarch 0:3.20-4.el7 を インストール
--> 依存性の処理をしています: perl(parent) のパッケージ: perl-Pod-Perldoc-3.20-4.el7.noarch
--> 依存性の処理をしています: perl(HTTP::Tiny) のパッケージ: perl-Pod-Perldoc-3.20-4.el7.noarch
---> パッケージ perl-podlators.noarch 0:2.5.1-3.el7 を インストール
--> トランザクションの確認を実行しています。
---> パッケージ perl-HTTP-Tiny.noarch 0:0.033-3.el7 を インストール
---> パッケージ perl-parent.noarch 1:0.225-244.el7 を インストール
--> 依存性解決を終了しました。

依存性を解決しました

======================================================================================================================================
 Package                                  アーキテクチャー         バージョン                            リポジトリー            容量
======================================================================================================================================
インストール中:
 git                                      x86_64                   1.8.3.1-5.el7                         base                   4.3 M
依存性関連でのインストールをします:
 libgnome-keyring                         x86_64                   3.8.0-3.el7                           base                   109 k
 perl                                     x86_64                   4:5.16.3-286.el7                      base                   8.0 M
 perl-Carp                                noarch                   1.26-244.el7                          base                    19 k
 perl-Encode                              x86_64                   2.51-7.el7                            base                   1.5 M
 perl-Error                               noarch                   1:0.17020-2.el7                       base                    32 k
 perl-Exporter                            noarch                   5.68-3.el7                            base                    28 k
 perl-File-Path                           noarch                   2.09-2.el7                            base                    26 k
 perl-File-Temp                           noarch                   0.23.01-3.el7                         base                    56 k
 perl-Filter                              x86_64                   1.49-3.el7                            base                    76 k
 perl-Getopt-Long                         noarch                   2.40-2.el7                            base                    56 k
 perl-Git                                 noarch                   1.8.3.1-5.el7                         base                    53 k
 perl-HTTP-Tiny                           noarch                   0.033-3.el7                           base                    38 k
 perl-PathTools                           x86_64                   3.40-5.el7                            base                    82 k
 perl-Pod-Escapes                         noarch                   1:1.04-286.el7                        base                    50 k
 perl-Pod-Perldoc                         noarch                   3.20-4.el7                            base                    87 k
 perl-Pod-Simple                          noarch                   1:3.28-4.el7                          base                   216 k
 perl-Pod-Usage                           noarch                   1.63-3.el7                            base                    27 k
 perl-Scalar-List-Utils                   x86_64                   1.27-248.el7                          base                    36 k
 perl-Socket                              x86_64                   2.010-3.el7                           base                    49 k
 perl-Storable                            x86_64                   2.45-3.el7                            base                    77 k
 perl-TermReadKey                         x86_64                   2.30-20.el7                           base                    31 k
 perl-Text-ParseWords                     noarch                   3.29-4.el7                            base                    14 k
 perl-Time-HiRes                          x86_64                   4:1.9725-3.el7                        base                    45 k
 perl-Time-Local                          noarch                   1.2300-2.el7                          base                    24 k
 perl-constant                            noarch                   1.27-2.el7                            base                    19 k
 perl-libs                                x86_64                   4:5.16.3-286.el7                      base                   687 k
 perl-macros                              x86_64                   4:5.16.3-286.el7                      base                    43 k
 perl-parent                              noarch                   1:0.225-244.el7                       base                    12 k
 perl-podlators                           noarch                   2.5.1-3.el7                           base                   112 k
 perl-threads                             x86_64                   1.87-4.el7                            base                    49 k
 perl-threads-shared                      x86_64                   1.43-6.el7                            base                    39 k
 rsync                                    x86_64                   3.0.9-17.el7                          base                   360 k

トランザクションの要約
======================================================================================================================================
インストール  1 パッケージ (+32 個の依存関係のパッケージ)

総ダウンロード容量: 16 M
インストール容量: 59 M
Is this ok [y/d/N]: y
Downloading packages:
警告: /var/cache/yum/x86_64/7/base/packages/perl-Carp-1.26-244.el7.noarch.rpm: ヘッダー V3 RSA/SHA256 Signature、鍵 ID f4a80eb5: NOKEY
perl-Carp-1.26-244.el7.noarch.rpm の公開鍵がインストールされていません
(1/33): perl-Carp-1.26-244.el7.noarch.rpm                                                                      |  19 kB  00:00:00     
(2/33): libgnome-keyring-3.8.0-3.el7.x86_64.rpm                                                                | 109 kB  00:00:01     
(3/33): perl-Encode-2.51-7.el7.x86_64.rpm                                                                      | 1.5 MB  00:00:01     
(4/33): perl-Exporter-5.68-3.el7.noarch.rpm                                                                    |  28 kB  00:00:00     
(5/33): perl-Error-0.17020-2.el7.noarch.rpm                                                                    |  32 kB  00:00:00     
(6/33): perl-File-Temp-0.23.01-3.el7.noarch.rpm                                                                |  56 kB  00:00:01     
(7/33): perl-Filter-1.49-3.el7.x86_64.rpm                                                                      |  76 kB  00:00:01     
(8/33): perl-5.16.3-286.el7.x86_64.rpm                                                                         | 8.0 MB  00:00:03     
(9/33): perl-HTTP-Tiny-0.033-3.el7.noarch.rpm                                                                  |  38 kB  00:00:00     
(10/33): perl-Getopt-Long-2.40-2.el7.noarch.rpm                                                                |  56 kB  00:00:00     
(11/33): perl-PathTools-3.40-5.el7.x86_64.rpm                                                                  |  82 kB  00:00:00     
(12/33): perl-Git-1.8.3.1-5.el7.noarch.rpm                                                                     |  53 kB  00:00:00     
(13/33): perl-Pod-Perldoc-3.20-4.el7.noarch.rpm                                                                |  87 kB  00:00:00     
(14/33): perl-Pod-Usage-1.63-3.el7.noarch.rpm                                                                  |  27 kB  00:00:00     
(15/33): perl-Scalar-List-Utils-1.27-248.el7.x86_64.rpm                                                        |  36 kB  00:00:00     
(16/33): perl-Socket-2.010-3.el7.x86_64.rpm                                                                    |  49 kB  00:00:00     
(17/33): perl-Storable-2.45-3.el7.x86_64.rpm                                                                   |  77 kB  00:00:00     
(18/33): perl-TermReadKey-2.30-20.el7.x86_64.rpm                                                               |  31 kB  00:00:00     
(19/33): perl-Pod-Escapes-1.04-286.el7.noarch.rpm                                                              |  50 kB  00:00:00     
(20/33): perl-Text-ParseWords-3.29-4.el7.noarch.rpm                                                            |  14 kB  00:00:00     
(21/33): perl-Pod-Simple-3.28-4.el7.noarch.rpm                                                                 | 216 kB  00:00:00     
(22/33): perl-Time-Local-1.2300-2.el7.noarch.rpm                                                               |  24 kB  00:00:00     
(23/33): perl-Time-HiRes-1.9725-3.el7.x86_64.rpm                                                               |  45 kB  00:00:00     
(24/33): perl-libs-5.16.3-286.el7.x86_64.rpm                                                                   | 687 kB  00:00:00     
(25/33): perl-constant-1.27-2.el7.noarch.rpm                                                                   |  19 kB  00:00:00     
(26/33): perl-parent-0.225-244.el7.noarch.rpm                                                                  |  12 kB  00:00:00     
(27/33): perl-macros-5.16.3-286.el7.x86_64.rpm                                                                 |  43 kB  00:00:00     
(28/33): git-1.8.3.1-5.el7.x86_64.rpm                                                                          | 4.3 MB  00:00:05     
(29/33): perl-threads-1.87-4.el7.x86_64.rpm                                                                    |  49 kB  00:00:00     
(30/33): perl-threads-shared-1.43-6.el7.x86_64.rpm                                                             |  39 kB  00:00:00     
(31/33): perl-podlators-2.5.1-3.el7.noarch.rpm                                                                 | 112 kB  00:00:00     
(32/33): rsync-3.0.9-17.el7.x86_64.rpm                                                                         | 360 kB  00:00:00     
(33/33): perl-File-Path-2.09-2.el7.noarch.rpm                                                                  |  26 kB  00:00:11     
--------------------------------------------------------------------------------------------------------------------------------------
合計                                                                                                  1.2 MB/s |  16 MB  00:00:13     
file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 から鍵を取得中です。
Importing GPG key 0xF4A80EB5:
 Userid     : "CentOS-7 Key (CentOS 7 Official Signing Key) "
 Fingerprint: 6341 ab27 53d7 8a78 a7c2 7bb1 24c6 a8a7 f4a8 0eb5
 Package    : centos-release-7-2.1511.el7.centos.2.10.x86_64 (@anaconda)
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
上記の処理を行います。よろしいでしょうか? [y/N]y
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  インストール中          : 1:perl-parent-0.225-244.el7.noarch                                                                   1/33 
  インストール中          : perl-HTTP-Tiny-0.033-3.el7.noarch                                                                    2/33 
  インストール中          : perl-podlators-2.5.1-3.el7.noarch                                                                    3/33 
  インストール中          : perl-Pod-Perldoc-3.20-4.el7.noarch                                                                   4/33 
  インストール中          : 1:perl-Pod-Escapes-1.04-286.el7.noarch                                                               5/33 
  インストール中          : perl-Text-ParseWords-3.29-4.el7.noarch                                                               6/33 
  インストール中          : perl-Encode-2.51-7.el7.x86_64                                                                        7/33 
  インストール中          : perl-Pod-Usage-1.63-3.el7.noarch                                                                     8/33 
  インストール中          : 4:perl-libs-5.16.3-286.el7.x86_64                                                                    9/33 
  インストール中          : 4:perl-macros-5.16.3-286.el7.x86_64                                                                 10/33 
  インストール中          : perl-Storable-2.45-3.el7.x86_64                                                                     11/33 
  インストール中          : perl-Exporter-5.68-3.el7.noarch                                                                     12/33 
  インストール中          : perl-constant-1.27-2.el7.noarch                                                                     13/33 
  インストール中          : perl-Time-Local-1.2300-2.el7.noarch                                                                 14/33 
  インストール中          : perl-Socket-2.010-3.el7.x86_64                                                                      15/33 
  インストール中          : perl-Carp-1.26-244.el7.noarch                                                                       16/33 
  インストール中          : 4:perl-Time-HiRes-1.9725-3.el7.x86_64                                                               17/33 
  インストール中          : perl-PathTools-3.40-5.el7.x86_64                                                                    18/33 
  インストール中          : perl-Scalar-List-Utils-1.27-248.el7.x86_64                                                          19/33 
  インストール中          : perl-File-Temp-0.23.01-3.el7.noarch                                                                 20/33 
  インストール中          : perl-File-Path-2.09-2.el7.noarch                                                                    21/33 
  インストール中          : perl-threads-shared-1.43-6.el7.x86_64                                                               22/33 
  インストール中          : perl-threads-1.87-4.el7.x86_64                                                                      23/33 
  インストール中          : perl-Filter-1.49-3.el7.x86_64                                                                       24/33 
  インストール中          : 1:perl-Pod-Simple-3.28-4.el7.noarch                                                                 25/33 
  インストール中          : perl-Getopt-Long-2.40-2.el7.noarch                                                                  26/33 
  インストール中          : 4:perl-5.16.3-286.el7.x86_64                                                                        27/33 
  インストール中          : 1:perl-Error-0.17020-2.el7.noarch                                                                   28/33 
  インストール中          : perl-TermReadKey-2.30-20.el7.x86_64                                                                 29/33 
  インストール中          : rsync-3.0.9-17.el7.x86_64                                                                           30/33 
  インストール中          : libgnome-keyring-3.8.0-3.el7.x86_64                                                                 31/33 
  インストール中          : perl-Git-1.8.3.1-5.el7.noarch                                                                       32/33 
  インストール中          : git-1.8.3.1-5.el7.x86_64                                                                            33/33 
  検証中                  : git-1.8.3.1-5.el7.x86_64                                                                             1/33 
  検証中                  : perl-HTTP-Tiny-0.033-3.el7.noarch                                                                    2/33 
  検証中                  : perl-threads-shared-1.43-6.el7.x86_64                                                                3/33 
  検証中                  : perl-Storable-2.45-3.el7.x86_64                                                                      4/33 
  検証中                  : perl-Exporter-5.68-3.el7.noarch                                                                      5/33 
  検証中                  : perl-constant-1.27-2.el7.noarch                                                                      6/33 
  検証中                  : perl-PathTools-3.40-5.el7.x86_64                                                                     7/33 
  検証中                  : 1:perl-Pod-Escapes-1.04-286.el7.noarch                                                               8/33 
  検証中                  : 4:perl-libs-5.16.3-286.el7.x86_64                                                                    9/33 
  検証中                  : 4:perl-macros-5.16.3-286.el7.x86_64                                                                 10/33 
  検証中                  : perl-Git-1.8.3.1-5.el7.noarch                                                                       11/33 
  検証中                  : 1:perl-parent-0.225-244.el7.noarch                                                                  12/33 
  検証中                  : perl-TermReadKey-2.30-20.el7.x86_64                                                                 13/33 
  検証中                  : 4:perl-5.16.3-286.el7.x86_64                                                                        14/33 
  検証中                  : perl-File-Temp-0.23.01-3.el7.noarch                                                                 15/33 
  検証中                  : 1:perl-Pod-Simple-3.28-4.el7.noarch                                                                 16/33 
  検証中                  : perl-Time-Local-1.2300-2.el7.noarch                                                                 17/33 
  検証中                  : perl-Pod-Perldoc-3.20-4.el7.noarch                                                                  18/33 
  検証中                  : perl-Socket-2.010-3.el7.x86_64                                                                      19/33 
  検証中                  : perl-Carp-1.26-244.el7.noarch                                                                       20/33 
  検証中                  : 1:perl-Error-0.17020-2.el7.noarch                                                                   21/33 
  検証中                  : 4:perl-Time-HiRes-1.9725-3.el7.x86_64                                                               22/33 
  検証中                  : perl-Scalar-List-Utils-1.27-248.el7.x86_64                                                          23/33 
  検証中                  : libgnome-keyring-3.8.0-3.el7.x86_64                                                                 24/33 
  検証中                  : perl-Pod-Usage-1.63-3.el7.noarch                                                                    25/33 
  検証中                  : perl-Encode-2.51-7.el7.x86_64                                                                       26/33 
  検証中                  : perl-podlators-2.5.1-3.el7.noarch                                                                   27/33 
  検証中                  : perl-Getopt-Long-2.40-2.el7.noarch                                                                  28/33 
  検証中                  : perl-File-Path-2.09-2.el7.noarch                                                                    29/33 
  検証中                  : perl-threads-1.87-4.el7.x86_64                                                                      30/33 
  検証中                  : perl-Filter-1.49-3.el7.x86_64                                                                       31/33 
  検証中                  : perl-Text-ParseWords-3.29-4.el7.noarch                                                              32/33 
  検証中                  : rsync-3.0.9-17.el7.x86_64                                                                           33/33 

インストール:
  git.x86_64 0:1.8.3.1-5.el7                                                                                                          

依存性関連をインストールしました:
  libgnome-keyring.x86_64 0:3.8.0-3.el7      perl.x86_64 4:5.16.3-286.el7             perl-Carp.noarch 0:1.26-244.el7               
  perl-Encode.x86_64 0:2.51-7.el7            perl-Error.noarch 1:0.17020-2.el7        perl-Exporter.noarch 0:5.68-3.el7             
  perl-File-Path.noarch 0:2.09-2.el7         perl-File-Temp.noarch 0:0.23.01-3.el7    perl-Filter.x86_64 0:1.49-3.el7               
  perl-Getopt-Long.noarch 0:2.40-2.el7       perl-Git.noarch 0:1.8.3.1-5.el7          perl-HTTP-Tiny.noarch 0:0.033-3.el7           
  perl-PathTools.x86_64 0:3.40-5.el7         perl-Pod-Escapes.noarch 1:1.04-286.el7   perl-Pod-Perldoc.noarch 0:3.20-4.el7          
  perl-Pod-Simple.noarch 1:3.28-4.el7        perl-Pod-Usage.noarch 0:1.63-3.el7       perl-Scalar-List-Utils.x86_64 0:1.27-248.el7  
  perl-Socket.x86_64 0:2.010-3.el7           perl-Storable.x86_64 0:2.45-3.el7        perl-TermReadKey.x86_64 0:2.30-20.el7         
  perl-Text-ParseWords.noarch 0:3.29-4.el7   perl-Time-HiRes.x86_64 4:1.9725-3.el7    perl-Time-Local.noarch 0:1.2300-2.el7         
  perl-constant.noarch 0:1.27-2.el7          perl-libs.x86_64 4:5.16.3-286.el7        perl-macros.x86_64 4:5.16.3-286.el7           
  perl-parent.noarch 1:0.225-244.el7         perl-podlators.noarch 0:2.5.1-3.el7      perl-threads.x86_64 0:1.87-4.el7              
  perl-threads-shared.x86_64 0:1.43-6.el7    rsync.x86_64 0:3.0.9-17.el7             

完了しました!
次に各種ビルドに必要なツールをインストールする。

# yum --disablerepo=\* --enablerepo=base install gcc-c++ uuid-devel libicu-devel icu libedit-devel libxml2-devel sqlite-devel swig python-devel ncurses-libs ncurses-devel pkgconfig libuuid-devel epel-release libbsd-devel
読み込んだプラグイン:fastestmirror
Loading mirror speeds from cached hostfile
 * base: ftp.riken.jp
パッケージ ncurses-libs-5.9-13.20130511.el7.x86_64 はインストール済みか最新バージョンです
パッケージ 1:pkgconfig-0.27.1-4.el7.x86_64 はインストール済みか最新バージョンです
パッケージ epel-release は利用できません。
パッケージ libbsd-devel は利用できません。
依存性の解決をしています
--> トランザクションの確認を実行しています。
---> パッケージ gcc-c++.x86_64 0:4.8.5-4.el7 を インストール
--> 依存性の処理をしています: libstdc++-devel = 4.8.5-4.el7 のパッケージ: gcc-c++-4.8.5-4.el7.x86_64
--> 依存性の処理をしています: gcc = 4.8.5-4.el7 のパッケージ: gcc-c++-4.8.5-4.el7.x86_64
--> 依存性の処理をしています: libmpfr.so.4()(64bit) のパッケージ: gcc-c++-4.8.5-4.el7.x86_64
--> 依存性の処理をしています: libmpc.so.3()(64bit) のパッケージ: gcc-c++-4.8.5-4.el7.x86_64
---> パッケージ icu.x86_64 0:50.1.2-15.el7 を インストール
--> 依存性の処理をしています: libicu = 50.1.2-15.el7 のパッケージ: icu-50.1.2-15.el7.x86_64
--> 依存性の処理をしています: libicuuc.so.50()(64bit) のパッケージ: icu-50.1.2-15.el7.x86_64
--> 依存性の処理をしています: libicutu.so.50()(64bit) のパッケージ: icu-50.1.2-15.el7.x86_64
--> 依存性の処理をしています: libicui18n.so.50()(64bit) のパッケージ: icu-50.1.2-15.el7.x86_64
--> 依存性の処理をしています: libicudata.so.50()(64bit) のパッケージ: icu-50.1.2-15.el7.x86_64
---> パッケージ libedit-devel.x86_64 0:3.0-12.20121213cvs.el7 を インストール
---> パッケージ libicu-devel.x86_64 0:50.1.2-15.el7 を インストール
---> パッケージ libuuid-devel.x86_64 0:2.23.2-26.el7 を インストール
---> パッケージ libxml2-devel.x86_64 0:2.9.1-5.el7_1.2 を インストール
--> 依存性の処理をしています: zlib-devel のパッケージ: libxml2-devel-2.9.1-5.el7_1.2.x86_64
--> 依存性の処理をしています: xz-devel のパッケージ: libxml2-devel-2.9.1-5.el7_1.2.x86_64
---> パッケージ ncurses-devel.x86_64 0:5.9-13.20130511.el7 を インストール
---> パッケージ python-devel.x86_64 0:2.7.5-34.el7 を インストール
---> パッケージ sqlite-devel.x86_64 0:3.7.17-8.el7 を インストール
---> パッケージ swig.x86_64 0:2.0.10-4.el7 を インストール
---> パッケージ uuid-devel.x86_64 0:1.6.2-26.el7 を インストール
--> 依存性の処理をしています: uuid = 1.6.2-26.el7 のパッケージ: uuid-devel-1.6.2-26.el7.x86_64
--> 依存性の処理をしています: libossp-uuid.so.16()(64bit) のパッケージ: uuid-devel-1.6.2-26.el7.x86_64
--> トランザクションの確認を実行しています。
---> パッケージ gcc.x86_64 0:4.8.5-4.el7 を インストール
--> 依存性の処理をしています: cpp = 4.8.5-4.el7 のパッケージ: gcc-4.8.5-4.el7.x86_64
--> 依存性の処理をしています: glibc-devel >= 2.2.90-12 のパッケージ: gcc-4.8.5-4.el7.x86_64
---> パッケージ libicu.x86_64 0:50.1.2-15.el7 を インストール
---> パッケージ libmpc.x86_64 0:1.0.1-3.el7 を インストール
---> パッケージ libstdc++-devel.x86_64 0:4.8.5-4.el7 を インストール
---> パッケージ mpfr.x86_64 0:3.1.1-4.el7 を インストール
---> パッケージ uuid.x86_64 0:1.6.2-26.el7 を インストール
---> パッケージ xz-devel.x86_64 0:5.1.2-12alpha.el7 を インストール
---> パッケージ zlib-devel.x86_64 0:1.2.7-15.el7 を インストール
--> トランザクションの確認を実行しています。
---> パッケージ cpp.x86_64 0:4.8.5-4.el7 を インストール
---> パッケージ glibc-devel.x86_64 0:2.17-105.el7 を インストール
--> 依存性の処理をしています: glibc-headers = 2.17-105.el7 のパッケージ: glibc-devel-2.17-105.el7.x86_64
--> 依存性の処理をしています: glibc-headers のパッケージ: glibc-devel-2.17-105.el7.x86_64
--> トランザクションの確認を実行しています。
---> パッケージ glibc-headers.x86_64 0:2.17-105.el7 を インストール
--> 依存性の処理をしています: kernel-headers >= 2.2.1 のパッケージ: glibc-headers-2.17-105.el7.x86_64
--> 依存性の処理をしています: kernel-headers のパッケージ: glibc-headers-2.17-105.el7.x86_64
--> トランザクションの確認を実行しています。
---> パッケージ kernel-headers.x86_64 0:3.10.0-327.el7 を インストール
--> 依存性解決を終了しました。

依存性を解決しました

======================================================================================================================================
 Package                            アーキテクチャー          バージョン                                リポジトリー             容量
======================================================================================================================================
インストール中:
 gcc-c++                            x86_64                    4.8.5-4.el7                               base                    7.2 M
 icu                                x86_64                    50.1.2-15.el7                             base                    187 k
 libedit-devel                      x86_64                    3.0-12.20121213cvs.el7                    base                     32 k
 libicu-devel                       x86_64                    50.1.2-15.el7                             base                    702 k
 libuuid-devel                      x86_64                    2.23.2-26.el7                             base                     83 k
 libxml2-devel                      x86_64                    2.9.1-5.el7_1.2                           base                    1.0 M
 ncurses-devel                      x86_64                    5.9-13.20130511.el7                       base                    713 k
 python-devel                       x86_64                    2.7.5-34.el7                              base                    391 k
 sqlite-devel                       x86_64                    3.7.17-8.el7                              base                    104 k
 swig                               x86_64                    2.0.10-4.el7                              base                    1.3 M
 uuid-devel                         x86_64                    1.6.2-26.el7                              base                     24 k
依存性関連でのインストールをします:
 cpp                                x86_64                    4.8.5-4.el7                               base                    5.9 M
 gcc                                x86_64                    4.8.5-4.el7                               base                     16 M
 glibc-devel                        x86_64                    2.17-105.el7                              base                    1.0 M
 glibc-headers                      x86_64                    2.17-105.el7                              base                    661 k
 kernel-headers                     x86_64                    3.10.0-327.el7                            base                    3.2 M
 libicu                             x86_64                    50.1.2-15.el7                             base                    6.9 M
 libmpc                             x86_64                    1.0.1-3.el7                               base                     51 k
 libstdc++-devel                    x86_64                    4.8.5-4.el7                               base                    1.5 M
 mpfr                               x86_64                    3.1.1-4.el7                               base                    203 k
 uuid                               x86_64                    1.6.2-26.el7                              base                     55 k
 xz-devel                           x86_64                    5.1.2-12alpha.el7                         base                     44 k
 zlib-devel                         x86_64                    1.2.7-15.el7                              base                     50 k

トランザクションの要約
======================================================================================================================================
インストール  11 パッケージ (+12 個の依存関係のパッケージ)

総ダウンロード容量: 47 M
インストール容量: 130 M
Is this ok [y/d/N]: y
Downloading packages:
(1/23): glibc-headers-2.17-105.el7.x86_64.rpm                                                                  | 661 kB  00:00:06     
(2/23): icu-50.1.2-15.el7.x86_64.rpm                                                                           | 187 kB  00:00:02     
(3/23): glibc-devel-2.17-105.el7.x86_64.rpm                                                                    | 1.0 MB  00:00:12     
gcc-4.8.5-4.el7.x86_64.rpm     FAILED                                                               ] 398 kB/s | 8.2 MB  00:01:40 ETA 
http://ftp.tsukuba.wide.ad.jp/Linux/centos/7.2.1511/os/x86_64/Packages/gcc-4.8.5-4.el7.x86_64.rpm: [Errno 14] curl#18 - "transfer closed with 16020721 bytes remaining to read"
他のミラーを試します。
(4/23): kernel-headers-3.10.0-327.el7.x86_64.rpm                                                               | 3.2 MB  00:00:13     
(5/23): cpp-4.8.5-4.el7.x86_64.rpm                                                                             | 5.9 MB  00:00:23     
(6/23): libmpc-1.0.1-3.el7.x86_64.rpm                                                                          |  51 kB  00:00:00     
(7/23): libedit-devel-3.0-12.20121213cvs.el7.x86_64.rpm                                                        |  32 kB  00:00:10     
(8/23): libstdc++-devel-4.8.5-4.el7.x86_64.rpm                                                                 | 1.5 MB  00:00:00     
(9/23): libuuid-devel-2.23.2-26.el7.x86_64.rpm                                                                 |  83 kB  00:00:00     
(10/23): libxml2-devel-2.9.1-5.el7_1.2.x86_64.rpm                                                              | 1.0 MB  00:00:00     
(11/23): mpfr-3.1.1-4.el7.x86_64.rpm                                                                           | 203 kB  00:00:00     
(12/23): ncurses-devel-5.9-13.20130511.el7.x86_64.rpm                                                          | 713 kB  00:00:00     
(13/23): python-devel-2.7.5-34.el7.x86_64.rpm                                                                  | 391 kB  00:00:00     
(14/23): sqlite-devel-3.7.17-8.el7.x86_64.rpm                                                                  | 104 kB  00:00:00     
(15/23): swig-2.0.10-4.el7.x86_64.rpm                                                                          | 1.3 MB  00:00:00     
(16/23): uuid-1.6.2-26.el7.x86_64.rpm                                                                          |  55 kB  00:00:00     
(17/23): uuid-devel-1.6.2-26.el7.x86_64.rpm                                                                    |  24 kB  00:00:00     
(18/23): xz-devel-5.1.2-12alpha.el7.x86_64.rpm                                                                 |  44 kB  00:00:00     
(19/23): zlib-devel-1.2.7-15.el7.x86_64.rpm                                                                    |  50 kB  00:00:00     
(20/23): libicu-50.1.2-15.el7.x86_64.rpm                                                                       | 6.9 MB  00:00:07     
(21/23): gcc-c++-4.8.5-4.el7.x86_64.rpm                                                                        | 7.2 MB  00:00:48     
(22/23): libicu-devel-50.1.2-15.el7.x86_64.rpm                                                                 | 702 kB  00:00:26     
(23/23): gcc-4.8.5-4.el7.x86_64.rpm                                                                            |  16 MB  00:02:28     
--------------------------------------------------------------------------------------------------------------------------------------
合計                                                                                                  278 kB/s |  47 MB  00:02:54     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  インストール中          : mpfr-3.1.1-4.el7.x86_64                                                                              1/23 
  インストール中          : libmpc-1.0.1-3.el7.x86_64                                                                            2/23 
  インストール中          : libicu-50.1.2-15.el7.x86_64                                                                          3/23 
  インストール中          : cpp-4.8.5-4.el7.x86_64                                                                               4/23 
  インストール中          : uuid-1.6.2-26.el7.x86_64                                                                             5/23 
  インストール中          : libstdc++-devel-4.8.5-4.el7.x86_64                                                                   6/23 
  インストール中          : kernel-headers-3.10.0-327.el7.x86_64                                                                 7/23 
  インストール中          : glibc-headers-2.17-105.el7.x86_64                                                                    8/23 
  インストール中          : glibc-devel-2.17-105.el7.x86_64                                                                      9/23 
  インストール中          : gcc-4.8.5-4.el7.x86_64                                                                              10/23 
  インストール中          : xz-devel-5.1.2-12alpha.el7.x86_64                                                                   11/23 
  インストール中          : ncurses-devel-5.9-13.20130511.el7.x86_64                                                            12/23 
  インストール中          : zlib-devel-1.2.7-15.el7.x86_64                                                                      13/23 
  インストール中          : libxml2-devel-2.9.1-5.el7_1.2.x86_64                                                                14/23 
  インストール中          : libedit-devel-3.0-12.20121213cvs.el7.x86_64                                                         15/23 
  インストール中          : gcc-c++-4.8.5-4.el7.x86_64                                                                          16/23 
  インストール中          : uuid-devel-1.6.2-26.el7.x86_64                                                                      17/23 
  インストール中          : libicu-devel-50.1.2-15.el7.x86_64                                                                   18/23 
  インストール中          : icu-50.1.2-15.el7.x86_64                                                                            19/23 
  インストール中          : swig-2.0.10-4.el7.x86_64                                                                            20/23 
  インストール中          : libuuid-devel-2.23.2-26.el7.x86_64                                                                  21/23 
  インストール中          : sqlite-devel-3.7.17-8.el7.x86_64                                                                    22/23 
  インストール中          : python-devel-2.7.5-34.el7.x86_64                                                                    23/23 
  検証中                  : libicu-50.1.2-15.el7.x86_64                                                                          1/23 
  検証中                  : gcc-4.8.5-4.el7.x86_64                                                                               2/23 
  検証中                  : libicu-devel-50.1.2-15.el7.x86_64                                                                    3/23 
  検証中                  : glibc-headers-2.17-105.el7.x86_64                                                                    4/23 
  検証中                  : gcc-c++-4.8.5-4.el7.x86_64                                                                           5/23 
  検証中                  : zlib-devel-1.2.7-15.el7.x86_64                                                                       6/23 
  検証中                  : libxml2-devel-2.9.1-5.el7_1.2.x86_64                                                                 7/23 
  検証中                  : uuid-devel-1.6.2-26.el7.x86_64                                                                       8/23 
  検証中                  : python-devel-2.7.5-34.el7.x86_64                                                                     9/23 
  検証中                  : ncurses-devel-5.9-13.20130511.el7.x86_64                                                            10/23 
  検証中                  : sqlite-devel-3.7.17-8.el7.x86_64                                                                    11/23 
  検証中                  : xz-devel-5.1.2-12alpha.el7.x86_64                                                                   12/23 
  検証中                  : libmpc-1.0.1-3.el7.x86_64                                                                           13/23 
  検証中                  : glibc-devel-2.17-105.el7.x86_64                                                                     14/23 
  検証中                  : kernel-headers-3.10.0-327.el7.x86_64                                                                15/23 
  検証中                  : libstdc++-devel-4.8.5-4.el7.x86_64                                                                  16/23 
  検証中                  : cpp-4.8.5-4.el7.x86_64                                                                              17/23 
  検証中                  : libedit-devel-3.0-12.20121213cvs.el7.x86_64                                                         18/23 
  検証中                  : libuuid-devel-2.23.2-26.el7.x86_64                                                                  19/23 
  検証中                  : mpfr-3.1.1-4.el7.x86_64                                                                             20/23 
  検証中                  : uuid-1.6.2-26.el7.x86_64                                                                            21/23 
  検証中                  : icu-50.1.2-15.el7.x86_64                                                                            22/23 
  検証中                  : swig-2.0.10-4.el7.x86_64                                                                            23/23 

インストール:
  gcc-c++.x86_64 0:4.8.5-4.el7                 icu.x86_64 0:50.1.2-15.el7             libedit-devel.x86_64 0:3.0-12.20121213cvs.el7  
  libicu-devel.x86_64 0:50.1.2-15.el7          libuuid-devel.x86_64 0:2.23.2-26.el7   libxml2-devel.x86_64 0:2.9.1-5.el7_1.2         
  ncurses-devel.x86_64 0:5.9-13.20130511.el7   python-devel.x86_64 0:2.7.5-34.el7     sqlite-devel.x86_64 0:3.7.17-8.el7             
  swig.x86_64 0:2.0.10-4.el7                   uuid-devel.x86_64 0:1.6.2-26.el7      

依存性関連をインストールしました:
  cpp.x86_64 0:4.8.5-4.el7                    gcc.x86_64 0:4.8.5-4.el7                       glibc-devel.x86_64 0:2.17-105.el7        
  glibc-headers.x86_64 0:2.17-105.el7         kernel-headers.x86_64 0:3.10.0-327.el7         libicu.x86_64 0:50.1.2-15.el7            
  libmpc.x86_64 0:1.0.1-3.el7                 libstdc++-devel.x86_64 0:4.8.5-4.el7           mpfr.x86_64 0:3.1.1-4.el7                
  uuid.x86_64 0:1.6.2-26.el7                  xz-devel.x86_64 0:5.1.2-12alpha.el7            zlib-devel.x86_64 0:1.2.7-15.el7         

完了しました!
cmake3、clangをインストールする為、epelの指定も有効になる様にレポジトリの設定を追加する。

# yum install epel-release
読み込んだプラグイン:fastestmirror
extras                                                                                                         | 3.4 kB  00:00:00     
updates                                                                                                        | 3.4 kB  00:00:00     
(1/2): extras/7/x86_64/primary_db                                                                              | 132 kB  00:00:00     
(2/2): updates/7/x86_64/primary_db                                                                             | 4.9 MB  00:00:02     
Loading mirror speeds from cached hostfile
 * base: ftp.riken.jp
 * extras: ftp.riken.jp
 * updates: ftp.riken.jp
依存性の解決をしています
--> トランザクションの確認を実行しています。
---> パッケージ epel-release.noarch 0:7-6 を インストール
--> 依存性解決を終了しました。

依存性を解決しました

======================================================================================================================================
 Package                              アーキテクチャー               バージョン                  リポジトリー                    容量
======================================================================================================================================
インストール中:
 epel-release                         noarch                         7-6                         extras                          14 k

トランザクションの要約
======================================================================================================================================
インストール  1 パッケージ

総ダウンロード容量: 14 k
インストール容量: 24 k
Is this ok [y/d/N]: y
Downloading packages:
epel-release-7-6.noarch.rpm                                                                                    |  14 kB  00:00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  インストール中          : epel-release-7-6.noarch                                                                               1/1 
  検証中                  : epel-release-7-6.noarch                                                                               1/1 

インストール:
  epel-release.noarch 0:7-6                                                                                                           

完了しました!
clangをインストールする。

# yum --disablerepo=\* --enablerepo=epel,base install clang
読み込んだプラグイン:fastestmirror
Loading mirror speeds from cached hostfile
 * base: ftp.riken.jp
 * epel: ftp.riken.jp
依存性の解決をしています
--> トランザクションの確認を実行しています。
---> パッケージ clang.x86_64 0:3.4.2-8.el7 を インストール
--> 依存性の処理をしています: llvm(x86-64) = 3.4.2-8.el7 のパッケージ: clang-3.4.2-8.el7.x86_64
--> 依存性の処理をしています: libLLVM-3.4.so()(64bit) のパッケージ: clang-3.4.2-8.el7.x86_64
--> トランザクションの確認を実行しています。
---> パッケージ llvm.x86_64 0:3.4.2-8.el7 を インストール
---> パッケージ llvm-libs.x86_64 0:3.4.2-8.el7 を インストール
--> 依存性解決を終了しました。

依存性を解決しました

======================================================================================================================================
 Package                          アーキテクチャー              バージョン                          リポジトリー                 容量
======================================================================================================================================
インストール中:
 clang                            x86_64                        3.4.2-8.el7                         epel                         19 M
依存性関連でのインストールをします:
 llvm                             x86_64                        3.4.2-8.el7                         epel                        1.3 M
 llvm-libs                        x86_64                        3.4.2-8.el7                         epel                        7.6 M

トランザクションの要約
======================================================================================================================================
インストール  1 パッケージ (+2 個の依存関係のパッケージ)

総ダウンロード容量: 28 M
インストール容量: 93 M
Is this ok [y/d/N]: y
Downloading packages:
(1/3): llvm-3.4.2-8.el7.x86_64.rpm                                                                             | 1.3 MB  00:00:21     
clang-3.4.2-8.el7.x86_64.rpm   FAILED                                                               ] 516 kB/s | 9.4 MB  00:00:37 ETA 
http://ftp.tsukuba.wide.ad.jp/Linux/fedora/epel/7/x86_64/c/clang-3.4.2-8.el7.x86_64.rpm: [Errno 14] curl#18 - "transfer closed with 19491145 bytes remaining to read"
他のミラーを試します。
(2/3): llvm-libs-3.4.2-8.el7.x86_64.rpm                                                                        | 7.6 MB  00:00:22     
clang-3.4.2-8.el7.x86_64.rpm   FAILED                                          
http://epel.scopesky.iq/7/x86_64/c/clang-3.4.2-8.el7.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: epel.scopesky.iq; Temporary failure in name resolution"
他のミラーを試します。
(3/3): clang-3.4.2-8.el7.x86_64.rpm                                                                            |  19 MB  00:02:37     
--------------------------------------------------------------------------------------------------------------------------------------
合計                                                                                                  149 kB/s |  28 MB  00:03:15     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  インストール中          : llvm-libs-3.4.2-8.el7.x86_64                                                                          1/3 
  インストール中          : llvm-3.4.2-8.el7.x86_64                                                                               2/3 
  インストール中          : clang-3.4.2-8.el7.x86_64                                                                              3/3 
  検証中                  : clang-3.4.2-8.el7.x86_64                                                                              1/3 
  検証中                  : llvm-libs-3.4.2-8.el7.x86_64                                                                          2/3 
  検証中                  : llvm-3.4.2-8.el7.x86_64                                                                               3/3 

インストール:
  clang.x86_64 0:3.4.2-8.el7                                                                                                          

依存性関連をインストールしました:
  llvm.x86_64 0:3.4.2-8.el7                                       llvm-libs.x86_64 0:3.4.2-8.el7                                      

完了しました!
続いて、cmake3をインストールする。

# yum --disablerepo=\* --enablerepo=epel,base install cmake3
読み込んだプラグイン:fastestmirror
epel/x86_64/metalink                                                                                           | 4.6 kB  00:00:00     
epel                                                                                                           | 4.3 kB  00:00:00     
(1/3): epel/x86_64/group_gz                                                                                    | 170 kB  00:00:01     
(2/3): epel/x86_64/updateinfo                                                                                  | 565 kB  00:00:02     
(3/3): epel/x86_64/primary_db                                                                                  | 4.1 MB  00:00:04     
Loading mirror speeds from cached hostfile
 * base: ftp.riken.jp
 * epel: ftp.riken.jp
依存性の解決をしています
--> トランザクションの確認を実行しています。
---> パッケージ cmake3.x86_64 0:3.5.2-2.el7 を インストール
--> 依存性の処理をしています: cmake3-data = 3.5.2-2.el7 のパッケージ: cmake3-3.5.2-2.el7.x86_64
--> 依存性の処理をしています: libjsoncpp.so.0()(64bit) のパッケージ: cmake3-3.5.2-2.el7.x86_64
--> 依存性の処理をしています: libarchive.so.13()(64bit) のパッケージ: cmake3-3.5.2-2.el7.x86_64
--> トランザクションの確認を実行しています。
---> パッケージ cmake3-data.noarch 0:3.5.2-2.el7 を インストール
--> 依存性の処理をしています: emacs-filesystem >= 24.3 のパッケージ: cmake3-data-3.5.2-2.el7.noarch
---> パッケージ jsoncpp.x86_64 0:0.10.5-1.el7 を インストール
---> パッケージ libarchive.x86_64 0:3.1.2-7.el7 を インストール
--> トランザクションの確認を実行しています。
---> パッケージ emacs-filesystem.noarch 1:24.3-18.el7 を インストール
--> 依存性解決を終了しました。

依存性を解決しました

======================================================================================================================================
 Package                               アーキテクチャー            バージョン                         リポジトリー               容量
======================================================================================================================================
インストール中:
 cmake3                                x86_64                      3.5.2-2.el7                        epel                      6.3 M
依存性関連でのインストールをします:
 cmake3-data                           noarch                      3.5.2-2.el7                        epel                      1.1 M
 emacs-filesystem                      noarch                      1:24.3-18.el7                      base                       58 k
 jsoncpp                               x86_64                      0.10.5-1.el7                       epel                       82 k
 libarchive                            x86_64                      3.1.2-7.el7                        base                      317 k

トランザクションの要約
======================================================================================================================================
インストール  1 パッケージ (+4 個の依存関係のパッケージ)

総ダウンロード容量: 7.8 M
インストール容量: 24 M
Is this ok [y/d/N]: y
Downloading packages:
(1/5): emacs-filesystem-24.3-18.el7.noarch.rpm                                                                 |  58 kB  00:00:00     
warning: /var/cache/yum/x86_64/7/epel/packages/jsoncpp-0.10.5-1.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 352c64e5: NOKEY
jsoncpp-0.10.5-1.el7.x86_64.rpm の公開鍵がインストールされていません
(2/5): jsoncpp-0.10.5-1.el7.x86_64.rpm                                                                         |  82 kB  00:00:01     
(3/5): libarchive-3.1.2-7.el7.x86_64.rpm                                                                       | 317 kB  00:00:02     
(4/5): cmake3-data-3.5.2-2.el7.noarch.rpm                                                                      | 1.1 MB  00:00:02     
(5/5): cmake3-3.5.2-2.el7.x86_64.rpm                                                                           | 6.3 MB  00:00:04     
--------------------------------------------------------------------------------------------------------------------------------------
合計                                                                                                  1.7 MB/s | 7.8 MB  00:00:04     
file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 から鍵を取得中です。
Importing GPG key 0x352C64E5:
 Userid     : "Fedora EPEL (7) "
 Fingerprint: 91e9 7d7c 4a5e 96f1 7f3e 888f 6a2f aea2 352c 64e5
 Package    : epel-release-7-6.noarch (@extras)
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
上記の処理を行います。よろしいでしょうか? [y/N]y
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  インストール中          : 1:emacs-filesystem-24.3-18.el7.noarch                                                                 1/5 
  インストール中          : libarchive-3.1.2-7.el7.x86_64                                                                         2/5 
  インストール中          : jsoncpp-0.10.5-1.el7.x86_64                                                                           3/5 
  インストール中          : cmake3-data-3.5.2-2.el7.noarch                                                                        4/5 
  インストール中          : cmake3-3.5.2-2.el7.x86_64                                                                             5/5 
  検証中                  : cmake3-3.5.2-2.el7.x86_64                                                                             1/5 
  検証中                  : jsoncpp-0.10.5-1.el7.x86_64                                                                           2/5 
  検証中                  : libarchive-3.1.2-7.el7.x86_64                                                                         3/5 
  検証中                  : 1:emacs-filesystem-24.3-18.el7.noarch                                                                 4/5 
  検証中                  : cmake3-data-3.5.2-2.el7.noarch                                                                        5/5 

インストール:
  cmake3.x86_64 0:3.5.2-2.el7                                                                                                         

依存性関連をインストールしました:
  cmake3-data.noarch 0:3.5.2-2.el7           emacs-filesystem.noarch 1:24.3-18.el7           jsoncpp.x86_64 0:0.10.5-1.el7          
  libarchive.x86_64 0:3.1.2-7.el7           

完了しました!
前述の通り、cmake3にcmakeというシンボリックリンクを張る。

# ln -s /usr/bin/cmake3 /usr/bin/cmake
2)swiftのソースとその周辺ツールを取得する。 swiftのソースをgitから取得。
注意したいのは、ブランチの指定で、swift-3.0-preview-1-branchを指定する。
なお、他のブランチでのビルドは確認していない。
配置は/usr/local/src/swiftとしたが、他の任意の場所でビルドしていいだろう。
展開先である、/usr/local/src/swiftを作成して、その配下に展開した。

# cd /usr/local/src/
# mkdir swift
# cd swift
# git clone --branch swift-3.0-preview-1-branch https://github.com/apple/swift.git swift
Cloning into 'swift'...
remote: Counting objects: 399856, done.
remote: Compressing objects: 100% (9/9), done.
remote: Total 399856 (delta 0), reused 0 (delta 0), pack-reused 399847
Receiving objects: 100% (399856/399856), 95.28 MiB | 948.00 KiB/s, done.
Resolving deltas: 100% (327374/327374), done.
続けて、Ninjaというビルドツールもgitで取得する。
Ninjaもreleaseブランチを指定した。

# git clone --branch release https://github.com/ninja-build/ninja.git
Cloning into 'ninja'...
remote: Counting objects: 9183, done.
remote: Total 9183 (delta 0), reused 0 (delta 0), pack-reused 9183
Receiving objects: 100% (9183/9183), 2.09 MiB | 136.00 KiB/s, done.
Resolving deltas: 100% (6519/6519), done.
swiftのビルドにあたり、cmarkも必要となるのでgitにて取得。
gitのコミットは以下の通り。
commit 5af77f3c1d7f34f252a897094936ac4d162adf4b

# git clone https://github.com/apple/swift-cmark.git cmark
Cloning into 'cmark'...
remote: Counting objects: 8324, done.
remote: Total 8324 (delta 0), reused 0 (delta 0), pack-reused 8323
Receiving objects: 100% (8324/8324), 2.78 MiB | 624.00 KiB/s, done.
Resolving deltas: 100% (5766/5766), done.
llvmも必要となるのでgitにて取得。

# git clone https://github.com/apple/swift-llvm.git llvm
Cloning into 'llvm'...
remote: Counting objects: 1193912, done.
remote: Compressing objects: 100% (2285/2285), done.
remote: Total 1193912 (delta 1429), reused 0 (delta 0), pack-reused 1191624
Receiving objects: 100% (1193912/1193912), 237.94 MiB | 494.00 KiB/s, done.
Resolving deltas: 100% (986555/986555), done.
同じく、clangもgitで取得。

# git clone https://github.com/apple/swift-clang.git clang
Cloning into 'clang'...
remote: Counting objects: 596610, done.
remote: Compressing objects: 100% (365/365), done.
remote: Total 596610 (delta 200), reused 13 (delta 13), pack-reused 596231
Receiving objects: 100% (596610/596610), 108.16 MiB | 1.57 MiB/s, done.
Resolving deltas: 100% (505045/505045), done.
これまでの操作で、/usr/local/src/swift以下のディレクトリ構成は次の様になる。

# pwd
/usr/local/src/swift
# ls -la
合計 20
drwxr-xr-x   7 root root   65  6月  9 01:03 .
drwxr-xr-x.  3 root root   18  6月  9 00:22 ..
drwxr-xr-x  16 root root 4096  6月  9 01:07 clang
drwxr-xr-x  11 root root 4096  6月  9 00:49 cmark
drwxr-xr-x  16 root root 4096  6月  9 01:01 llvm
drwxr-xr-x   6 root root 4096  6月  9 00:46 ninja
drwxr-xr-x  17 root root 4096  6月  9 00:38 swift
3)swiftのビルド swiftのビルドはswift配下にあるutils/build-scriptを実行する。
# cd swift/
# utils/build-script -t -R
which: no ninja in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin)
which: no ninja-build in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin)
Building the standard library for: swift-test-stdlib-linux-x86_64
Running Swift tests for: check-swift-linux-x86_64

+ rm -rf /usr/local/src/swift/build/Ninja-ReleaseAssert/ninja-build
+ cp -r /usr/local/src/swift/ninja /usr/local/src/swift/build/Ninja-ReleaseAssert/ninja-build
++ uname -s
+ [[ Linux == \D\a\r\w\i\n ]]
+ cd /usr/local/src/swift/build/Ninja-ReleaseAssert/ninja-build
+ python ./configure.py --bootstrap
bootstrapping ninja...
warning: A compatible version of re2c (>= 0.11.3) was not found; changes to src/*.in.cc will not affect your build.
wrote build.ninja.
bootstrap complete.  rebuilding...
[25/25] LINK ninja
cmark: using standard linker
+ mkdir -p /usr/local/src/swift/build/Ninja-ReleaseAssert/cmark-linux-x86_64
+ cd /usr/local/src/swift/build/Ninja-ReleaseAssert/cmark-linux-x86_64
+ /usr/bin/cmake -G Ninja -DCMAKE_C_COMPILER:PATH=/usr/bin/clang -DCMAKE_CXX_COMPILER:PATH=/usr/bin/clang++ -DCMAKE_MAKE_PROGRAM=/usr/local/src/swift/build/Ninja-ReleaseAssert/ninja-build/ninja -DCMAKE_BUILD_TYPE:STRING=Release /usr/local/src/swift/cmark
-- The C compiler identification is Clang 3.4.2
-- The CXX compiler identification is Clang 3.4.2
-- Check for working C compiler using: Ninja
-- Check for working C compiler using: Ninja -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler using: Ninja
-- Check for working CXX compiler using: Ninja -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test HAVE_FLAG_ADDRESS_SANITIZER
-- Performing Test HAVE_FLAG_ADDRESS_SANITIZER - Failed
-- Performing Test HAVE_FLAG_SANITIZE_ADDRESS
-- Performing Test HAVE_FLAG_SANITIZE_ADDRESS - Success
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- Looking for stdbool.h
-- Looking for stdbool.h - found
-- Performing Test HAVE___BUILTIN_EXPECT
-- Performing Test HAVE___BUILTIN_EXPECT - Success
-- Performing Test HAVE___ATTRIBUTE__
-- Performing Test HAVE___ATTRIBUTE__ - Success
-- Could NOT find PythonInterp: Found unsuitable version "2.7.5", but required is at least "3" (found /usr/bin/python)

*** A python 3 interpreter is required to run the spec tests.

-- Configuring done
-- Generating done
-- Build files have been written to: /usr/local/src/swift/build/Ninja-ReleaseAssert/cmark-linux-x86_64
++ cmake_config_opt cmark
++ product=cmark
++ [[ Ninja == \X\c\o\d\e ]]
+ /usr/bin/cmake --build /usr/local/src/swift/build/Ninja-ReleaseAssert/cmark-linux-x86_64 -- -j4 all
[66/66] Linking C executable src/cmark
llvm: using standard linker
+ mkdir -p /usr/local/src/swift/build/Ninja-ReleaseAssert/llvm-linux-x86_64
+ cd /usr/local/src/swift/build/Ninja-ReleaseAssert/llvm-linux-x86_64
+ /usr/bin/cmake -G Ninja -DCMAKE_C_COMPILER:PATH=/usr/bin/clang -DCMAKE_CXX_COMPILER:PATH=/usr/bin/clang++ -DCMAKE_MAKE_PROGRAM=/usr/local/src/swift/build/Ninja-ReleaseAssert/ninja-build/ninja '-DCMAKE_C_FLAGS=  -fno-stack-protector' '-DCMAKE_CXX_FLAGS=  -fno-stack-protector' -DCMAKE_BUILD_TYPE:STRING=Release -DLLVM_ENABLE_ASSERTIONS:BOOL=TRUE -DLLVM_TOOL_SWIFT_BUILD:BOOL=NO '-DLLVM_TARGETS_TO_BUILD=X86;ARM;AArch64;PowerPC' -DLLVM_INCLUDE_TESTS:BOOL=TRUE -DLLVM_INCLUDE_DOCS:BOOL=TRUE -DLLVM_ENABLE_LTO=FALSE -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINTERNAL_INSTALL_PREFIX=local /usr/local/src/swift/llvm
-- The C compiler identification is Clang 3.4.2
-- The CXX compiler identification is Clang 3.4.2
-- The ASM compiler identification is Clang
-- Found assembler: /usr/bin/clang
-- Check for working C compiler using: Ninja
-- Check for working C compiler using: Ninja -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler using: Ninja
-- Check for working CXX compiler using: Ninja -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for dirent.h
-- Looking for dirent.h - found
-- Looking for dlfcn.h
-- Looking for dlfcn.h - found
-- Looking for errno.h
-- Looking for errno.h - found
-- Looking for execinfo.h
-- Looking for execinfo.h - found
-- Looking for fcntl.h
-- Looking for fcntl.h - found
-- Looking for inttypes.h
-- Looking for inttypes.h - found
-- Looking for limits.h
-- Looking for limits.h - found
-- Looking for link.h
-- Looking for link.h - found
-- Looking for malloc.h
-- Looking for malloc.h - found
-- Looking for malloc/malloc.h
-- Looking for malloc/malloc.h - not found
-- Looking for ndir.h
-- Looking for ndir.h - not found
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for signal.h
-- Looking for signal.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for sys/dir.h
-- Looking for sys/dir.h - found
-- Looking for sys/ioctl.h
-- Looking for sys/ioctl.h - found
-- Looking for sys/mman.h
-- Looking for sys/mman.h - found
-- Looking for sys/ndir.h
-- Looking for sys/ndir.h - not found
-- Looking for sys/param.h
-- Looking for sys/param.h - found
-- Looking for sys/resource.h
-- Looking for sys/resource.h - found
-- Looking for sys/stat.h
-- Looking for sys/stat.h - found
-- Looking for sys/time.h
-- Looking for sys/time.h - found
-- Looking for sys/uio.h
-- Looking for sys/uio.h - found
-- Looking for termios.h
-- Looking for termios.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for utime.h
-- Looking for utime.h - found
-- Looking for valgrind/valgrind.h
-- Looking for valgrind/valgrind.h - not found
-- Looking for zlib.h
-- Looking for zlib.h - found
-- Looking for fenv.h
-- Looking for fenv.h - found
-- Looking for FE_ALL_EXCEPT
-- Looking for FE_ALL_EXCEPT - found
-- Looking for FE_INEXACT
-- Looking for FE_INEXACT - found
-- Looking for mach/mach.h
-- Looking for mach/mach.h - not found
-- Looking for mach-o/dyld.h
-- Looking for mach-o/dyld.h - not found
-- Looking for histedit.h
-- Looking for histedit.h - found
-- Performing Test HAVE_CXXABI_H
-- Performing Test HAVE_CXXABI_H - Success
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Looking for pthread_getspecific in pthread
-- Looking for pthread_getspecific in pthread - found
-- Looking for pthread_rwlock_init in pthread
-- Looking for pthread_rwlock_init in pthread - found
-- Looking for pthread_mutex_lock in pthread
-- Looking for pthread_mutex_lock in pthread - found
-- Looking for dlopen in dl
-- Looking for dlopen in dl - found
-- Looking for clock_gettime in rt
-- Looking for clock_gettime in rt - found
-- Looking for compress2 in z
-- Looking for compress2 in z - found
-- Looking for el_init in edit
-- Looking for el_init in edit - found
-- Looking for setupterm in tinfo
-- Looking for setupterm in tinfo - found
-- Looking for xar_open in xar
-- Looking for xar_open in xar - not found
-- Looking for arc4random
-- Looking for arc4random - not found
-- Looking for backtrace
-- Looking for backtrace - found
-- Looking for getpagesize
-- Looking for getpagesize - found
-- Looking for getrusage
-- Looking for getrusage - found
-- Looking for setrlimit
-- Looking for setrlimit - found
-- Looking for isatty
-- Looking for isatty - found
-- Looking for futimens
-- Looking for futimens - found
-- Looking for futimes
-- Looking for futimes - found
-- Looking for writev
-- Looking for writev - found
-- Looking for mallctl
-- Looking for mallctl - not found
-- Looking for mallinfo
-- Looking for mallinfo - found
-- Looking for malloc_zone_statistics
-- Looking for malloc_zone_statistics - not found
-- Looking for mkdtemp
-- Looking for mkdtemp - found
-- Looking for mkstemp
-- Looking for mkstemp - found
-- Looking for mktemp
-- Looking for mktemp - found
-- Looking for closedir
-- Looking for closedir - found
-- Looking for opendir
-- Looking for opendir - found
-- Looking for readdir
-- Looking for readdir - found
-- Looking for getcwd
-- Looking for getcwd - found
-- Looking for gettimeofday
-- Looking for gettimeofday - found
-- Looking for getrlimit
-- Looking for getrlimit - found
-- Looking for posix_spawn
-- Looking for posix_spawn - found
-- Looking for pread
-- Looking for pread - found
-- Looking for realpath
-- Looking for realpath - found
-- Looking for sbrk
-- Looking for sbrk - found
-- Looking for srand48
-- Looking for srand48 - found
-- Looking for lrand48
-- Looking for lrand48 - found
-- Looking for drand48
-- Looking for drand48 - found
-- Looking for strtoll
-- Looking for strtoll - found
-- Looking for strtoq
-- Looking for strtoq - found
-- Looking for strerror
-- Looking for strerror - found
-- Looking for strerror_r
-- Looking for strerror_r - found
-- Looking for strerror_s
-- Looking for strerror_s - not found
-- Looking for setenv
-- Looking for setenv - found
-- Looking for dlerror
-- Looking for dlerror - found
-- Looking for dlopen
-- Looking for dlopen - found
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - found
-- Performing Test HAVE_INT64_T
-- Performing Test HAVE_INT64_T - Success
-- Performing Test HAVE_UINT64_T
-- Performing Test HAVE_UINT64_T - Success
-- Performing Test HAVE_U_INT64_T
-- Performing Test HAVE_U_INT64_T - Success
-- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB
-- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB - Success
-- Performing Test LLVM_HAS_ATOMICS
-- Performing Test LLVM_HAS_ATOMICS - Success
-- Performing Test SUPPORTS_NO_VARIADIC_MACROS_FLAG
-- Performing Test SUPPORTS_NO_VARIADIC_MACROS_FLAG - Success
-- Target triple: x86_64-unknown-linux-gnu
-- Native target architecture is X86
-- Threads enabled.
-- Doxygen disabled.
-- Sphinx disabled.
-- Go bindings disabled.
-- Could NOT find OCaml (missing:  OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH) 
-- Could NOT find OCaml (missing:  OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH) 
-- OCaml bindings disabled.
-- Performing Test LLVM_NO_OLD_LIBSTDCXX
-- Performing Test LLVM_NO_OLD_LIBSTDCXX - Success
-- Performing Test C_SUPPORTS_FPIC
-- Performing Test C_SUPPORTS_FPIC - Success
-- Performing Test CXX_SUPPORTS_FPIC
-- Performing Test CXX_SUPPORTS_FPIC - Success
-- Building with -fPIC
-- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG
-- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG - Success
-- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG
-- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG - Success
-- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG
-- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Success
-- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG
-- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Success
-- Performing Test CXX_WONT_WARN_ON_FINAL_NONVIRTUALDTOR
-- Performing Test CXX_WONT_WARN_ON_FINAL_NONVIRTUALDTOR - Failed
-- Performing Test C_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG
-- Performing Test C_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG - Success
-- Performing Test CXX_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG
-- Performing Test CXX_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG - Success
-- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP
-- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP - Success
-- Performing Test CXX_SUPPORTS_CXX11
-- Performing Test CXX_SUPPORTS_CXX11 - Success
-- Performing Test C_SUPPORTS_FNO_FUNCTION_SECTIONS
-- Performing Test C_SUPPORTS_FNO_FUNCTION_SECTIONS - Failed
-- Performing Test C_SUPPORTS_FDATA_SECTIONS
-- Performing Test C_SUPPORTS_FDATA_SECTIONS - Success
-- Performing Test CXX_SUPPORTS_FDATA_SECTIONS
-- Performing Test CXX_SUPPORTS_FDATA_SECTIONS - Success
-- Found PythonInterp: /usr/bin/python2.7 (found version "2.7.5") 
-- Constructing LLVMBuild project information
-- Targeting X86
-- Targeting ARM
-- Targeting AArch64
-- Targeting PowerPC
-- Clang version: 3.9.0
-- Performing Test CXX_SUPPORTS_NO_NESTED_ANON_TYPES_FLAG
-- Performing Test CXX_SUPPORTS_NO_NESTED_ANON_TYPES_FLAG - Success
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    LLVM_TOOL_SWIFT_BUILD


-- Build files have been written to: /usr/local/src/swift/build/Ninja-ReleaseAssert/llvm-linux-x86_64
++ cmake_config_opt llvm
++ product=llvm
++ [[ Ninja == \X\c\o\d\e ]]
+ /usr/bin/cmake --build /usr/local/src/swift/build/Ninja-ReleaseAssert/llvm-linux-x86_64 -- -j4 all
[2043/2043] Linking CXX executable bin/yaml2obj
++ uname -s
+ [[ Linux == \D\a\r\w\i\n ]]
+ HOST_CXX_HEADERS_DIR=/usr/include/c++
+ BUILT_CXX_INCLUDE_DIR=/usr/local/src/swift/build/Ninja-ReleaseAssert/llvm-linux-x86_64/include
+ echo 'symlinking the system headers (/usr/include/c++) into the local clang build directory (/usr/local/src/swift/build/Ninja-ReleaseAssert/llvm-linux-x86_64/include).'
symlinking the system headers (/usr/include/c++) into the local clang build directory (/usr/local/src/swift/build/Ninja-ReleaseAssert/llvm-linux-x86_64/include).
+ ln -s -f /usr/include/c++ /usr/local/src/swift/build/Ninja-ReleaseAssert/llvm-linux-x86_64/include
swift: using standard linker
+ mkdir -p /usr/local/src/swift/build/Ninja-ReleaseAssert/swift-linux-x86_64
+ cd /usr/local/src/swift/build/Ninja-ReleaseAssert/swift-linux-x86_64
+ /usr/bin/cmake -G Ninja -DCMAKE_C_COMPILER:PATH=/usr/bin/clang -DCMAKE_CXX_COMPILER:PATH=/usr/bin/clang++ -DCMAKE_MAKE_PROGRAM=/usr/local/src/swift/build/Ninja-ReleaseAssert/ninja-build/ninja '-DCMAKE_C_FLAGS= -fno-stack-protector' '-DCMAKE_CXX_FLAGS= -fno-stack-protector' -DCMAKE_BUILD_TYPE:STRING=Release -DLLVM_ENABLE_ASSERTIONS:BOOL=TRUE -DLLVM_ENABLE_LTO=FALSE -DSWIFT_ANALYZE_CODE_COVERAGE:STRING=FALSE -DSWIFT_STDLIB_BUILD_TYPE:STRING=Release -DSWIFT_STDLIB_ASSERTIONS:BOOL=TRUE -DSWIFT_STDLIB_ENABLE_RESILIENCE:BOOL=FALSE -DSWIFT_STDLIB_SIL_SERIALIZE_ALL:BOOL=TRUE -DSWIFT_NATIVE_LLVM_TOOLS_PATH:STRING= -DSWIFT_NATIVE_CLANG_TOOLS_PATH:STRING= -DSWIFT_NATIVE_SWIFT_TOOLS_PATH:STRING= -DSWIFT_BUILD_TOOLS:BOOL=TRUE -DSWIFT_BUILD_STDLIB:BOOL=TRUE -DSWIFT_SERIALIZE_STDLIB_UNITTEST:BOOL=FALSE -DSWIFT_STDLIB_SIL_DEBUGGING:BOOL=FALSE -DSWIFT_BUILD_SDK_OVERLAY:BOOL=TRUE -DSWIFT_BUILD_STATIC_STDLIB:BOOL=FALSE -DSWIFT_BUILD_PERF_TESTSUITE:BOOL=TRUE -DSWIFT_BUILD_EXAMPLES:BOOL=TRUE -DSWIFT_INCLUDE_TESTS:BOOL=TRUE -DSWIFT_INSTALL_COMPONENTS:STRING= -DSWIFT_EMBED_BITCODE_SECTION:BOOL=FALSE -DSWIFT_ENABLE_LTO:BOOL=FALSE -DSWIFT_BUILD_RUNTIME_WITH_HOST_COMPILER:BOOL=TRUE -DSWIFT_DARWIN_XCRUN_TOOLCHAIN:STRING=default -DSWIFT_AST_VERIFIER:BOOL=TRUE -DSWIFT_SIL_VERIFY_ALL:BOOL=FALSE -DSWIFT_RUNTIME_ENABLE_LEAK_CHECKER:BOOL=FALSE -DCMAKE_INSTALL_PREFIX:PATH=/usr -DLLVM_CONFIG:PATH=/usr/local/src/swift/build/Ninja-ReleaseAssert/llvm-linux-x86_64/bin/llvm-config -DSWIFT_PATH_TO_CLANG_SOURCE:PATH=/usr/local/src/swift/llvm/tools/clang -DSWIFT_PATH_TO_CLANG_BUILD:PATH=/usr/local/src/swift/build/Ninja-ReleaseAssert/llvm-linux-x86_64 -DSWIFT_PATH_TO_LLVM_SOURCE:PATH=/usr/local/src/swift/llvm -DSWIFT_PATH_TO_LLVM_BUILD:PATH=/usr/local/src/swift/build/Ninja-ReleaseAssert/llvm-linux-x86_64 -DSWIFT_PATH_TO_CMARK_SOURCE:PATH=/usr/local/src/swift/cmark -DSWIFT_PATH_TO_CMARK_BUILD:PATH=/usr/local/src/swift/build/Ninja-ReleaseAssert/cmark-linux-x86_64 -DSWIFT_CMARK_LIBRARY_DIR:PATH=/usr/local/src/swift/build/Ninja-ReleaseAssert/cmark-linux-x86_64/src -DSWIFT_EXEC:STRING=/usr/local/src/swift/build/Ninja-ReleaseAssert/swift-macosx-x86_64/bin/swiftc /usr/local/src/swift/swift
-- The C compiler identification is Clang 3.4.2
-- The CXX compiler identification is Clang 3.4.2
-- The ASM compiler identification is Clang
-- Found assembler: /usr/bin/clang
-- Check for working C compiler using: Ninja
-- Check for working C compiler using: Ninja -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler using: Ninja
-- Check for working CXX compiler using: Ninja -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found LLVM_CONFIG as /usr/local/src/swift/build/Ninja-ReleaseAssert/llvm-linux-x86_64/bin/llvm-config
-- Performing Test LLVM_NO_OLD_LIBSTDCXX
-- Performing Test LLVM_NO_OLD_LIBSTDCXX - Success
-- Performing Test C_SUPPORTS_FPIC
-- Performing Test C_SUPPORTS_FPIC - Success
-- Performing Test CXX_SUPPORTS_FPIC
-- Performing Test CXX_SUPPORTS_FPIC - Success
-- Building with -fPIC
-- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG
-- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG - Success
-- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG
-- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG - Success
-- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG
-- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Success
-- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG
-- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Success
-- Performing Test CXX_WONT_WARN_ON_FINAL_NONVIRTUALDTOR
-- Performing Test CXX_WONT_WARN_ON_FINAL_NONVIRTUALDTOR - Failed
-- Performing Test C_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG
-- Performing Test C_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG - Success
-- Performing Test CXX_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG
-- Performing Test CXX_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG - Success
-- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP
-- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP - Success
-- Performing Test C_SUPPORTS_WERROR_DATE_TIME
-- Performing Test C_SUPPORTS_WERROR_DATE_TIME - Failed
-- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME
-- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME - Failed
-- Performing Test CXX_SUPPORTS_CXX11
-- Performing Test CXX_SUPPORTS_CXX11 - Success
-- Performing Test C_SUPPORTS_FNO_FUNCTION_SECTIONS
-- Performing Test C_SUPPORTS_FNO_FUNCTION_SECTIONS - Failed
-- Performing Test C_SUPPORTS_FDATA_SECTIONS
-- Performing Test C_SUPPORTS_FDATA_SECTIONS - Success
-- Performing Test CXX_SUPPORTS_FDATA_SECTIONS
-- Performing Test CXX_SUPPORTS_FDATA_SECTIONS - Success
-- Performing Test SWIFT_HAVE_WORKING_STD_REGEX_TEST
-- Performing Test SWIFT_HAVE_WORKING_STD_REGEX_TEST - Failed
-- Performing Test CXX_SUPPORTS_DOCUMENTATION_FLAG
-- Performing Test CXX_SUPPORTS_DOCUMENTATION_FLAG - Success
-- Performing Test CXX_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG
-- Performing Test CXX_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG - Success
-- Performing Test CXX_SUPPORTS_UNREACHABLE_CODE_FLAG
-- Performing Test CXX_SUPPORTS_UNREACHABLE_CODE_FLAG - Failed
-- Performing Test CXX_SUPPORTS_OVERLOADED_VIRTUAL
-- Performing Test CXX_SUPPORTS_OVERLOADED_VIRTUAL - Success
-- Performing Test CXX_SUPPORTS_FAPPLICATION_EXTENSION
-- Performing Test CXX_SUPPORTS_FAPPLICATION_EXTENSION - Failed
-- Linux SDK:
--   Path: /
--   Version: don't use
--   Build number: don't use
--   Deployment version: don't use
--   Library subdir: linux
--   Version min name: 
--   Triple name: linux
--   Architectures: x86_64
--   Triple for x86_64 is x86_64-unknown-linux-gnu
-- 
-- Building host Swift tools for LINUX x86_64
--   Build type: Release
--   Assertions: TRUE
--   LTO:        FALSE
-- 
-- Building Swift standard library and SDK overlays for SDKs: LINUX
--   Build type: Release
--   Assertions: TRUE
-- 
-- Building Swift runtime with:
--   Leak Detection Checker Entrypoints: FALSE
-- 
-- Found LibXml2: /usr/lib64/libxml2.so (found version "2.9.1") 
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.27.1") 
-- Found UUID: /usr/include  
-- Swift version: 3.0
-- Swift vendor: 
-- Swift compiler version: 
-- Embedded clang compiler version: 
CMake Warning at stdlib/CMakeLists.txt:5 (message):
  Building the swift runtime using the host compiler, and not the just-built
  clang.


-- Performing Test CXX_SUPPORTS_GLOBAL_CONSTRUCTORS_WARNING
-- Performing Test CXX_SUPPORTS_GLOBAL_CONSTRUCTORS_WARNING - Success
-- Performing Test CXX_SUPPORTS_EXIT_TIME_DESTRUCTORS_WARNING
-- Performing Test CXX_SUPPORTS_EXIT_TIME_DESTRUCTORS_WARNING - Success
-- Performing Test CXX_SUPPORTS_DEFAULT_HIDDEN_VISIBILITY
-- Performing Test CXX_SUPPORTS_DEFAULT_HIDDEN_VISIBILITY - Success
-- Found ICU: /usr/include  
-- Found PythonInterp: /usr/bin/python (found version "2.7.5") 
CMake Warning at docs/CMakeLists.txt:24 (message):
  Unable to find sphinx-build program.  Not building docs


CMake Warning at docs/CMakeLists.txt:130 (message):
  LitRe not found; code examples won't be tested.


-- Configuring done
CMake Warning (dev) at cmake/modules/AddSwift.cmake:1177 (add_dependencies):
  Policy CMP0046 is not set: Error on non-existent dependency in
  add_dependencies.  Run "cmake --help-policy CMP0046" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  The dependency target "/usr/lib64/libicui18n.so-linux" of target
  "swiftStdlibStubs-linux-x86_64" does not exist.
Call Stack (most recent call first):
  stdlib/public/stubs/CMakeLists.txt:22 (add_swift_library)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/modules/AddSwift.cmake:1177 (add_dependencies):
  Policy CMP0046 is not set: Error on non-existent dependency in
  add_dependencies.  Run "cmake --help-policy CMP0046" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  The dependency target "/usr/lib64/libicuuc.so-linux" of target
  "swiftStdlibStubs-linux-x86_64" does not exist.
Call Stack (most recent call first):
  stdlib/public/stubs/CMakeLists.txt:22 (add_swift_library)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    SWIFT_BUILD_EXAMPLES
    SWIFT_EXEC


-- Build files have been written to: /usr/local/src/swift/build/Ninja-ReleaseAssert/swift-linux-x86_64
++ cmake_config_opt swift
++ product=swift
++ [[ Ninja == \X\c\o\d\e ]]
+ /usr/bin/cmake --build /usr/local/src/swift/build/Ninja-ReleaseAssert/swift-linux-x86_64 -- -j4 all swift-test-stdlib-linux-x86_64
[67/577] Building CXX object lib/IDE/CMakeFiles/swiftIDE.dir/Utils.cpp.o
In file included from /usr/local/src/swift/swift/lib/IDE/Utils.cpp:25:
In file included from /usr/local/src/swift/llvm/tools/clang/include/clang/Serialization/ASTReader.h:29:
In file included from /usr/local/src/swift/llvm/tools/clang/include/clang/Sema/ExternalSemaSource.h:18:
In file included from /usr/local/src/swift/llvm/tools/clang/include/clang/Sema/TypoCorrection.h:18:
/usr/local/src/swift/llvm/tools/clang/include/clang/AST/DeclCXX.h:1462:8: warning: '\param' command used in a comment that is not attached to a function declaration [-Wdocumentation]
  /// \param BaseDefinition the definition of the base class
       ^~~~~
/usr/local/src/swift/llvm/tools/clang/include/clang/AST/DeclCXX.h:1464:8: warning: '\returns' command used in a comment that is not attached to a function or method declaration [-Wdocumentation]
  /// \returns true if this base matched the search criteria
      ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/src/swift/llvm/tools/clang/include/clang/AST/DeclCXX.h:1487:8: warning: '\param' command used in a comment that is not attached to a function declaration [-Wdocumentation]
  /// \param Specifier the base-class specifier that describes the inheritance
       ^~~~~
/usr/local/src/swift/llvm/tools/clang/include/clang/AST/DeclCXX.h:1490:8: warning: '\param' command used in a comment that is not attached to a function declaration [-Wdocumentation]
  /// \param Path the current path, from the most-derived class down to the
       ^~~~~
/usr/local/src/swift/llvm/tools/clang/include/clang/AST/DeclCXX.h:1493:8: warning: '\returns' command used in a comment that is not attached to a function or method declaration [-Wdocumentation]
  /// \returns true if this base matched the search criteria, false otherwise.
      ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5 warnings generated.
[85/577] Building CXX object lib/ClangImporter/CMakeFiles/swiftClangImporter.dir/CFTypeInfo.cpp.o
In file included from /usr/local/src/swift/swift/lib/ClangImporter/CFTypeInfo.cpp:18:
In file included from /usr/local/src/swift/swift/lib/ClangImporter/ImporterImpl.h:30:
In file included from /usr/local/src/swift/llvm/tools/clang/include/clang/AST/DeclVisitor.h:17:
/usr/local/src/swift/llvm/tools/clang/include/clang/AST/DeclCXX.h:1462:8: warning: '\param' command used in a comment that is not attached to a function declaration [-Wdocumentation]
  /// \param BaseDefinition the definition of the base class
       ^~~~~
/usr/local/src/swift/llvm/tools/clang/include/clang/AST/DeclCXX.h:1464:8: warning: '\returns' command used in a comment that is not attached to a function or method declaration [-Wdocumentation]
  /// \returns true if this base matched the search criteria
      ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/src/swift/llvm/tools/clang/include/clang/AST/DeclCXX.h:1487:8: warning: '\param' command used in a comment that is not attached to a function declaration [-Wdocumentation]
  /// \param Specifier the base-class specifier that describes the inheritance
       ^~~~~
/usr/local/src/swift/llvm/tools/clang/include/clang/AST/DeclCXX.h:1490:8: warning: '\param' command used in a comment that is not attached to a function declaration [-Wdocumentation]
  /// \param Path the current path, from the most-derived class down to the
       ^~~~~
/usr/local/src/swift/llvm/tools/clang/include/clang/AST/DeclCXX.h:1493:8: warning: '\returns' command used in a comment that is not attached to a function or method declaration [-Wdocumentation]
  /// \returns true if this base matched the search criteria, false otherwise.
      ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5 warnings generated.
[86/577] Building CXX object lib/ClangImporter/CMakeFiles/swiftClangImporter.dir/ClangDiagnosticConsumer.cpp.o
In file included from /usr/local/src/swift/swift/lib/ClangImporter/ClangDiagnosticConsumer.cpp:14:
In file included from /usr/local/src/swift/swift/lib/ClangImporter/ImporterImpl.h:30:
In file included from /usr/local/src/swift/llvm/tools/clang/include/clang/AST/DeclVisitor.h:17:
/usr/local/src/swift/llvm/tools/clang/include/clang/AST/DeclCXX.h:1462:8: warning: '\param' command used in a comment that is not attached to a function declaration [-Wdocumentation]
  /// \param BaseDefinition the definition of the base class
       ^~~~~
/usr/local/src/swift/llvm/tools/clang/include/clang/AST/DeclCXX.h:1464:8: warning: '\returns' command used in a comment that is not attached to a function or method declaration [-Wdocumentation]
  /// \returns true if this base matched the search criteria
      ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/src/swift/llvm/tools/clang/include/clang/AST/DeclCXX.h:1487:8: warning: '\param' command used in a comment that is not attached to a function declaration [-Wdocumentation]
  /// \param Specifier the base-class specifier that describes the inheritance
       ^~~~~
/usr/local/src/swift/llvm/tools/clang/include/clang/AST/DeclCXX.h:1490:8: warning: '\param' command used in a comment that is not attached to a function declaration [-Wdocumentation]
  /// \param Path the current path, from the most-derived class down to the
       ^~~~~
/usr/local/src/swift/llvm/tools/clang/include/clang/AST/DeclCXX.h:1493:8: warning: '\returns' command used in a comment that is not attached to a function or method declaration [-Wdocumentation]
  /// \returns true if this base matched the search criteria, false otherwise.
      ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5 warnings generated.
[87/577] Building CXX object lib/ClangImporter/CMakeFiles/swiftClangImporter.dir/SwiftLookupTable.cpp.o
In file included from /usr/local/src/swift/swift/lib/ClangImporter/SwiftLookupTable.cpp:23:
In file included from /usr/local/src/swift/llvm/tools/clang/include/clang/Serialization/ASTReader.h:29:
In file included from /usr/local/src/swift/llvm/tools/clang/include/clang/Sema/ExternalSemaSource.h:18:
In file included from /usr/local/src/swift/llvm/tools/clang/include/clang/Sema/TypoCorrection.h:18:
/usr/local/src/swift/llvm/tools/clang/include/clang/AST/DeclCXX.h:1462:8: warning: '\param' command used in a comment that is not attached to a function declaration [-Wdocumentation]
  /// \param BaseDefinition the definition of the base class
       ^~~~~
/usr/local/src/swift/llvm/tools/clang/include/clang/AST/DeclCXX.h:1464:8: warning: '\returns' command used in a comment that is not attached to a function or method declaration [-Wdocumentation]
  /// \returns true if this base matched the search criteria
      ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/src/swift/llvm/tools/clang/include/clang/AST/DeclCXX.h:1487:8: warning: '\param' command used in a comment that is not attached to a function declaration [-Wdocumentation]
  /// \param Specifier the base-class specifier that describes the inheritance
       ^~~~~
/usr/local/src/swift/llvm/tools/clang/include/clang/AST/DeclCXX.h:1490:8: warning: '\param' command used in a comment that is not attached to a function declaration [-Wdocumentation]
  /// \param Path the current path, from the most-derived class down to the
       ^~~~~
/usr/local/src/swift/llvm/tools/clang/include/clang/AST/DeclCXX.h:1493:8: warning: '\returns' command used in a comment that is not attached to a function or method declaration [-Wdocumentation]
  /// \returns true if this base matched the search criteria, false otherwise.
      ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5 warnings generated.
[89/577] Building CXX object lib/ClangImporter/CMakeFiles/swiftClangImporter.dir/IAMInference.cpp.o
In file included from /usr/local/src/swift/swift/lib/ClangImporter/IAMInference.cpp:19:
In file included from /usr/local/src/swift/swift/lib/ClangImporter/ImporterImpl.h:30:
In file included from /usr/local/src/swift/llvm/tools/clang/include/clang/AST/DeclVisitor.h:17:
/usr/local/src/swift/llvm/tools/clang/include/clang/AST/DeclCXX.h:1462:8: warning: '\param' command used in a comment that is not attached to a function declaration [-Wdocumentation]
  /// \param BaseDefinition the definition of the base class
       ^~~~~
/usr/local/src/swift/llvm/tools/clang/include/clang/AST/DeclCXX.h:1464:8: warning: '\returns' command used in a comment that is not attached to a function or method declaration [-Wdocumentation]
  /// \returns true if this base matched the search criteria
      ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/src/swift/llvm/tools/clang/include/clang/AST/DeclCXX.h:1487:8: warning: '\param' command used in a comment that is not attached to a function declaration [-Wdocumentation]
  /// \param Specifier the base-class specifier that describes the inheritance
       ^~~~~
/usr/local/src/swift/llvm/tools/clang/include/clang/AST/DeclCXX.h:1490:8: warning: '\param' command used in a comment that is not attached to a function declaration [-Wdocumentation]
  /// \param Path the current path, from the most-derived class down to the
       ^~~~~
/usr/local/src/swift/llvm/tools/clang/include/clang/AST/DeclCXX.h:1493:8: warning: '\returns' command used in a comment that is not attached to a function or method declaration [-Wdocumentation]
  /// \returns true if this base matched the search criteria, false otherwise.
      ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5 warnings generated.
[90/577] Building CXX object lib/ClangImporter/CMakeFiles/swiftClangImporter.dir/ClangImporter.cpp.o
In file included from /usr/local/src/swift/swift/lib/ClangImporter/ClangImporter.cpp:19:
In file included from /usr/local/src/swift/swift/lib/ClangImporter/ImporterImpl.h:30:
In file included from /usr/local/src/swift/llvm/tools/clang/include/clang/AST/DeclVisitor.h:17:
/usr/local/src/swift/llvm/tools/clang/include/clang/AST/DeclCXX.h:1462:8: warning: '\param' command used in a comment that is not attached to a function declaration [-Wdocumentation]
  /// \param BaseDefinition the definition of the base class
       ^~~~~
/usr/local/src/swift/llvm/tools/clang/include/clang/AST/DeclCXX.h:1464:8: warning: '\returns' command used in a comment that is not attached to a function or method declaration [-Wdocumentation]
  /// \returns true if this base matched the search criteria
      ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/src/swift/llvm/tools/clang/include/clang/AST/DeclCXX.h:1487:8: warning: '\param' command used in a comment that is not attached to a function declaration [-Wdocumentation]
  /// \param Specifier the base-class specifier that describes the inheritance
       ^~~~~
/usr/local/src/swift/llvm/tools/clang/include/clang/AST/DeclCXX.h:1490:8: warning: '\param' command used in a comment that is not attached to a function declaration [-Wdocumentation]
  /// \param Path the current path, from the most-derived class down to the
       ^~~~~
/usr/local/src/swift/llvm/tools/clang/include/clang/AST/DeclCXX.h:1493:8: warning: '\returns' command used in a comment that is not attached to a function or method declaration [-Wdocumentation]
  /// \returns true if this base matched the search criteria, false otherwise.
      ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5 warnings generated.
[92/577] Building CXX object lib/ClangImporter/CMakeFiles/swiftClangImporter.dir/ImportMacro.cpp.o
In file included from /usr/local/src/swift/swift/lib/ClangImporter/ImportMacro.cpp:18:
In file included from /usr/local/src/swift/swift/lib/ClangImporter/ImporterImpl.h:30:
In file included from /usr/local/src/swift/llvm/tools/clang/include/clang/AST/DeclVisitor.h:17:
/usr/local/src/swift/llvm/tools/clang/include/clang/AST/DeclCXX.h:1462:8: warning: '\param' command used in a comment that is not attached to a function declaration [-Wdocumentation]
  /// \param BaseDefinition the definition of the base class
       ^~~~~
/usr/local/src/swift/llvm/tools/clang/include/clang/AST/DeclCXX.h:1464:8: warning: '\returns' command used in a comment that is not attached to a function or method declaration [-Wdocumentation]
  /// \returns true if this base matched the search criteria
      ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/src/swift/llvm/tools/clang/include/clang/AST/DeclCXX.h:1487:8: warning: '\param' command used in a comment that is not attached to a function declaration [-Wdocumentation]
  /// \param Specifier the base-class specifier that describes the inheritance
       ^~~~~
/usr/local/src/swift/llvm/tools/clang/include/clang/AST/DeclCXX.h:1490:8: warning: '\param' command used in a comment that is not attached to a function declaration [-Wdocumentation]
  /// \param Path the current path, from the most-derived class down to the
       ^~~~~
/usr/local/src/swift/llvm/tools/clang/include/clang/AST/DeclCXX.h:1493:8: warning: '\returns' command used in a comment that is not attached to a function or method declaration [-Wdocumentation]
  /// \returns true if this base matched the search criteria, false otherwise.
      ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5 warnings generated.
[95/577] Building CXX object lib/ClangImporter/CMakeFiles/swiftClangImporter.dir/ImportDecl.cpp.o
In file included from /usr/local/src/swift/swift/lib/ClangImporter/ImportDecl.cpp:18:
In file included from /usr/local/src/swift/swift/lib/ClangImporter/ImporterImpl.h:30:
In file included from /usr/local/src/swift/llvm/tools/clang/include/clang/AST/DeclVisitor.h:17:
/usr/local/src/swift/llvm/tools/clang/include/clang/AST/DeclCXX.h:1462:8: warning: '\param' command used in a comment that is not attached to a function declaration [-Wdocumentation]
  /// \param BaseDefinition the definition of the base class
       ^~~~~
/usr/local/src/swift/llvm/tools/clang/include/clang/AST/DeclCXX.h:1464:8: warning: '\returns' command used in a comment that is not attached to a function or method declaration [-Wdocumentation]
  /// \returns true if this base matched the search criteria
      ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/src/swift/llvm/tools/clang/include/clang/AST/DeclCXX.h:1487:8: warning: '\param' command used in a comment that is not attached to a function declaration [-Wdocumentation]
  /// \param Specifier the base-class specifier that describes the inheritance
       ^~~~~
/usr/local/src/swift/llvm/tools/clang/include/clang/AST/DeclCXX.h:1490:8: warning: '\param' command used in a comment that is not attached to a function declaration [-Wdocumentation]
  /// \param Path the current path, from the most-derived class down to the
       ^~~~~
/usr/local/src/swift/llvm/tools/clang/include/clang/AST/DeclCXX.h:1493:8: warning: '\returns' command used in a comment that is not attached to a function or method declaration [-Wdocumentation]
  /// \returns true if this base matched the search criteria, false otherwise.
      ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5 warnings generated.
[97/577] Building CXX object lib/ClangImporter/CMakeFiles/swiftClangImporter.dir/ImportType.cpp.o
In file included from /usr/local/src/swift/swift/lib/ClangImporter/ImportType.cpp:17:
In file included from /usr/local/src/swift/swift/lib/ClangImporter/ImporterImpl.h:30:
In file included from /usr/local/src/swift/llvm/tools/clang/include/clang/AST/DeclVisitor.h:17:
/usr/local/src/swift/llvm/tools/clang/include/clang/AST/DeclCXX.h:1462:8: warning: '\param' command used in a comment that is not attached to a function declaration [-Wdocumentation]
  /// \param BaseDefinition the definition of the base class
       ^~~~~
/usr/local/src/swift/llvm/tools/clang/include/clang/AST/DeclCXX.h:1464:8: warning: '\returns' command used in a comment that is not attached to a function or method declaration [-Wdocumentation]
  /// \returns true if this base matched the search criteria
      ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/src/swift/llvm/tools/clang/include/clang/AST/DeclCXX.h:1487:8: warning: '\param' command used in a comment that is not attached to a function declaration [-Wdocumentation]
  /// \param Specifier the base-class specifier that describes the inheritance
       ^~~~~
/usr/local/src/swift/llvm/tools/clang/include/clang/AST/DeclCXX.h:1490:8: warning: '\param' command used in a comment that is not attached to a function declaration [-Wdocumentation]
  /// \param Path the current path, from the most-derived class down to the
       ^~~~~
/usr/local/src/swift/llvm/tools/clang/include/clang/AST/DeclCXX.h:1493:8: warning: '\returns' command used in a comment that is not attached to a function or method declaration [-Wdocumentation]
  /// \returns true if this base matched the search criteria, false otherwise.
      ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5 warnings generated.
[142/577] Building CXX object lib/IRGen/CMakeFiles/swiftIRGen.dir/GenCall.cpp.o
In file included from /usr/local/src/swift/swift/lib/IRGen/GenCall.cpp:23:
In file included from /usr/local/src/swift/llvm/tools/clang/include/clang/AST/RecordLayout.h:18:
/usr/local/src/swift/llvm/tools/clang/include/clang/AST/DeclCXX.h:1462:8: warning: '\param' command used in a comment that is not attached to a function declaration [-Wdocumentation]
  /// \param BaseDefinition the definition of the base class
       ^~~~~
/usr/local/src/swift/llvm/tools/clang/include/clang/AST/DeclCXX.h:1464:8: warning: '\returns' command used in a comment that is not attached to a function or method declaration [-Wdocumentation]
  /// \returns true if this base matched the search criteria
      ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/src/swift/llvm/tools/clang/include/clang/AST/DeclCXX.h:1487:8: warning: '\param' command used in a comment that is not attached to a function declaration [-Wdocumentation]
  /// \param Specifier the base-class specifier that describes the inheritance
       ^~~~~
/usr/local/src/swift/llvm/tools/clang/include/clang/AST/DeclCXX.h:1490:8: warning: '\param' command used in a comment that is not attached to a function declaration [-Wdocumentation]
  /// \param Path the current path, from the most-derived class down to the
       ^~~~~
/usr/local/src/swift/llvm/tools/clang/include/clang/AST/DeclCXX.h:1493:8: warning: '\returns' command used in a comment that is not attached to a function or method declaration [-Wdocumentation]
  /// \returns true if this base matched the search criteria, false otherwise.
      ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5 warnings generated.
[147/577] Building CXX object lib/IRGen/CMakeFiles/swiftIRGen.dir/GenClangDecl.cpp.o
In file included from /usr/local/src/swift/swift/lib/IRGen/GenClangDecl.cpp:16:
In file included from /usr/local/src/swift/llvm/tools/clang/include/clang/AST/RecursiveASTVisitor.h:21:
/usr/local/src/swift/llvm/tools/clang/include/clang/AST/DeclCXX.h:1462:8: warning: '\param' command used in a comment that is not attached to a function declaration [-Wdocumentation]
  /// \param BaseDefinition the definition of the base class
       ^~~~~
/usr/local/src/swift/llvm/tools/clang/include/clang/AST/DeclCXX.h:1464:8: warning: '\returns' command used in a comment that is not attached to a function or method declaration [-Wdocumentation]
  /// \returns true if this base matched the search criteria
      ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/src/swift/llvm/tools/clang/include/clang/AST/DeclCXX.h:1487:8: warning: '\param' command used in a comment that is not attached to a function declaration [-Wdocumentation]
  /// \param Specifier the base-class specifier that describes the inheritance
       ^~~~~
/usr/local/src/swift/llvm/tools/clang/include/clang/AST/DeclCXX.h:1490:8: warning: '\param' command used in a comment that is not attached to a function declaration [-Wdocumentation]
  /// \param Path the current path, from the most-derived class down to the
       ^~~~~
/usr/local/src/swift/llvm/tools/clang/include/clang/AST/DeclCXX.h:1493:8: warning: '\returns' command used in a comment that is not attached to a function or method declaration [-Wdocumentation]
  /// \returns true if this base matched the search criteria, false otherwise.
      ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5 warnings generated.
[160/577] Building CXX object lib/IRGen/CMakeFiles/swiftIRGen.dir/GenTuple.cpp.o
/usr/local/src/swift/swift/lib/IRGen/GenTuple.cpp:40:34: warning: unknown warning group '-Winconsistent-missing-override', ignored [-Wunknown-pragmas]
#pragma clang diagnostic ignored "-Winconsistent-missing-override"
                                 ^
1 warning generated.
[161/577] Building CXX object lib/IRGen/CMakeFiles/swiftIRGen.dir/GenStruct.cpp.o
In file included from /usr/local/src/swift/swift/lib/IRGen/GenStruct.cpp:28:
In file included from /usr/local/src/swift/llvm/tools/clang/include/clang/AST/RecordLayout.h:18:
/usr/local/src/swift/llvm/tools/clang/include/clang/AST/DeclCXX.h:1462:8: warning: '\param' command used in a comment that is not attached to a function declaration [-Wdocumentation]
  /// \param BaseDefinition the definition of the base class
       ^~~~~
/usr/local/src/swift/llvm/tools/clang/include/clang/AST/DeclCXX.h:1464:8: warning: '\returns' command used in a comment that is not attached to a function or method declaration [-Wdocumentation]
  /// \returns true if this base matched the search criteria
      ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/src/swift/llvm/tools/clang/include/clang/AST/DeclCXX.h:1487:8: warning: '\param' command used in a comment that is not attached to a function declaration [-Wdocumentation]
  /// \param Specifier the base-class specifier that describes the inheritance
       ^~~~~
/usr/local/src/swift/llvm/tools/clang/include/clang/AST/DeclCXX.h:1490:8: warning: '\param' command used in a comment that is not attached to a function declaration [-Wdocumentation]
  /// \param Path the current path, from the most-derived class down to the
       ^~~~~
/usr/local/src/swift/llvm/tools/clang/include/clang/AST/DeclCXX.h:1493:8: warning: '\returns' command used in a comment that is not attached to a function or method declaration [-Wdocumentation]
  /// \returns true if this base matched the search criteria, false otherwise.
      ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/src/swift/swift/lib/IRGen/GenStruct.cpp:43:34: warning: unknown warning group '-Winconsistent-missing-override', ignored [-Wunknown-pragmas]
#pragma clang diagnostic ignored "-Winconsistent-missing-override"
                                 ^
6 warnings generated.
[471/577] Building CXX object stdlib/public/runtime/CMakeFiles/swiftRuntime-linux-x86_64.dir/HeapObject.cpp.o
/usr/local/src/swift/swift/stdlib/public/runtime/HeapObject.cpp:177:43: warning: declaration requires a global constructor [-Wglobal-constructors]
static Lazy> Boxes;
                                          ^~~~~
1 warning generated.
[472/577] Building CXX object stdlib/public/runtime/CMakeFiles/swiftRuntime-linux-x86_64.dir/MetadataLookup.cpp.o
/usr/local/src/swift/swift/stdlib/public/runtime/MetadataLookup.cpp:125:32: warning: declaration requires a global constructor [-Wglobal-constructors]
static Lazy TypeMetadataRecords;
                               ^~~~~~~~~~~~~~~~~~~
1 warning generated.
[476/577] Building CXX object stdlib/public/runtime/CMakeFiles/swiftRuntime-linux-x86_64.dir/Metadata.cpp.o
/usr/local/src/swift/swift/stdlib/public/runtime/Metadata.cpp:315:49: warning: declaration requires a global constructor [-Wglobal-constructors]
static Lazy> ObjCClassWrappers;
                                                ^~~~~~~~~~~~~~~~~
/usr/local/src/swift/swift/stdlib/public/runtime/Metadata.cpp:381:48: warning: declaration requires a global constructor [-Wglobal-constructors]
static Lazy> FunctionTypes;
                                               ^~~~~~~~~~~~~
/usr/local/src/swift/swift/stdlib/public/runtime/Metadata.cpp:532:45: warning: declaration requires a global constructor [-Wglobal-constructors]
static Lazy> TupleTypes;
                                            ^~~~~~~~~~
/usr/local/src/swift/swift/stdlib/public/runtime/Metadata.cpp:1804:48: warning: declaration requires a global constructor [-Wglobal-constructors]
static Lazy> MetatypeTypes;
                                               ^~~~~~~~~~~~~
/usr/local/src/swift/swift/stdlib/public/runtime/Metadata.cpp:1871:39: warning: declaration requires a global constructor [-Wglobal-constructors]
static Lazy ExistentialMetatypes;
                                      ^~~~~~~~~~~~~~~~~~~~
/usr/local/src/swift/swift/stdlib/public/runtime/Metadata.cpp:1996:35: warning: declaration requires a global constructor [-Wglobal-constructors]
static Lazy Existentials;
                                  ^~~~~~~~~~~~
/usr/local/src/swift/swift/stdlib/public/runtime/Metadata.cpp:2410:31: warning: declaration requires a global constructor [-Wglobal-constructors]
static Lazy ForeignTypes;
                              ^~~~~~~~~~~~
7 warnings generated.
[477/577] Building CXX object stdlib/public/runtime/CMakeFiles/swiftRuntime-linux-x86_64.dir/ProtocolConformance.cpp.o
/usr/local/src/swift/swift/stdlib/public/runtime/ProtocolConformance.cpp:287:31: warning: declaration requires a global constructor [-Wglobal-constructors]
static Lazy Conformances;
                              ^~~~~~~~~~~~
1 warning generated.
[573/577] Compiling /usr/local/src/swift/build/Ninja-ReleaseAsser...86_64/stdlib/private/StdlibUnittest/linux/x86_64/StdlibUnittest.o
/usr/local/src/swift/swift/stdlib/private/StdlibUnittest/StdlibUnittest.swift.gyb:572:5: warning: default will never be executed
    default:
    ^
[577/577] Generating ../../../lib/swift/linux/libswiftStdlibUnittest.so
--- Building tests for cmark ---
+ /usr/bin/cmake --build /usr/local/src/swift/build/Ninja-ReleaseAssert/cmark-linux-x86_64 -- -j4 api_test
ninja: no work to do.
--- Running tests for cmark ---
--- test ---
+ cd /usr/local/src/swift/build/Ninja-ReleaseAssert/cmark-linux-x86_64
+ /usr/bin/ctest3 --force-new-ctest-process
Test project /usr/local/src/swift/build/Ninja-ReleaseAssert/cmark-linux-x86_64
    Start 1: api_test
1/2 Test #1: api_test .........................   Passed    0.03 sec
    Start 2: skipping_spectests
2/2 Test #2: skipping_spectests ...............   Passed    0.02 sec

100% tests passed, 0 tests failed out of 2

Total Test time (real) =   0.12 sec
-- test finished --
--- Finished tests for cmark ---
--- Building tests for swift ---
+ /usr/bin/cmake --build /usr/local/src/swift/build/Ninja-ReleaseAssert/swift-linux-x86_64 -- -j4 SwiftUnitTests
[35/35] Linking CXX executable unittests/runtime/SwiftRuntimeTests
--- Running tests for swift ---
--- check-swift-linux-x86_64 ---
+ cd /usr/local/src/swift/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/SwiftShims
+ /usr/bin/cmake3 -E make_directory /usr/local/src/swift/build/Ninja-ReleaseAssert/swift-linux-x86_64/./lib/swift
+ /usr/bin/cmake3 -E create_symlink /usr/local/src/swift/build/Ninja-ReleaseAssert/llvm-linux-x86_64/lib/clang/3.9.0 /usr/local/src/swift/build/Ninja-ReleaseAssert/swift-linux-x86_64/./lib/swift/clang
+ /usr/bin/cmake3 -E make_directory /usr/local/src/swift/build/Ninja-ReleaseAssert/swift-linux-x86_64/./lib/swift/install-tmp/install-tmp
+ /usr/bin/cmake3 -E remove /usr/local/src/swift/build/Ninja-ReleaseAssert/swift-linux-x86_64/./lib/swift/install-tmp/install-tmp/clang
+ /usr/bin/cmake3 -E create_symlink ../clang/3.9.0 /usr/local/src/swift/build/Ninja-ReleaseAssert/swift-linux-x86_64/./lib/swift/install-tmp/install-tmp/clang
+ cd /usr/local/src/swift/build/Ninja-ReleaseAssert/swift-linux-x86_64/test
+ /usr/bin/cmake3 -E remove_directory /usr/local/src/swift/build/Ninja-ReleaseAssert/swift-linux-x86_64/./swift-test-results/x86_64-unknown-linux-gnu
+ /usr/bin/cmake3 -E make_directory /usr/local/src/swift/build/Ninja-ReleaseAssert/swift-linux-x86_64/./swift-test-results/x86_64-unknown-linux-gnu
+ /usr/bin/python /usr/local/src/swift/llvm/utils/lit/lit.py -sv --xunit-xml-output=/usr/local/src/swift/build/Ninja-ReleaseAssert/swift-linux-x86_64/./swift-test-results/x86_64-unknown-linux-gnu/lit-tests.xml /usr/local/src/swift/build/Ninja-ReleaseAssert/swift-linux-x86_64/test-linux-x86_64
lit.py: lit.cfg:259: note: using swift: /usr/local/src/swift/build/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift
lit.py: lit.cfg:259: note: using swiftc: /usr/local/src/swift/build/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swiftc
lit.py: lit.cfg:259: note: using sil-opt: /usr/local/src/swift/build/Ninja-ReleaseAssert/swift-linux-x86_64/bin/sil-opt
lit.py: lit.cfg:259: note: using sil-extract: /usr/local/src/swift/build/Ninja-ReleaseAssert/swift-linux-x86_64/bin/sil-extract
lit.py: lit.cfg:259: note: using lldb-moduleimport-test: /usr/local/src/swift/build/Ninja-ReleaseAssert/swift-linux-x86_64/bin/lldb-moduleimport-test
lit.py: lit.cfg:259: note: using swift-ide-test: /usr/local/src/swift/build/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift-ide-test
lit.py: lit.cfg:259: note: using swift-reflection-dump: /usr/local/src/swift/build/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift-reflection-dump
lit.py: lit.cfg:259: note: using swift-remoteast-test: /usr/local/src/swift/build/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift-remoteast-test
lit.py: lit.cfg:259: note: using clang: /usr/local/src/swift/build/Ninja-ReleaseAssert/llvm-linux-x86_64/bin/clang
lit.py: lit.cfg:259: note: using llvm-link: /usr/local/src/swift/build/Ninja-ReleaseAssert/llvm-linux-x86_64/bin/llvm-link
lit.py: lit.cfg:259: note: using swift-llvm-opt: /usr/local/src/swift/build/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift-llvm-opt
lit.py: lit.cfg:259: note: using llvm-profdata: /usr/local/src/swift/build/Ninja-ReleaseAssert/llvm-linux-x86_64/bin/llvm-profdata
lit.py: lit.cfg:259: note: using llvm-cov: /usr/local/src/swift/build/Ninja-ReleaseAssert/llvm-linux-x86_64/bin/llvm-cov
lit.py: lit.cfg:304: note: Using resource dir: /usr/local/src/swift/build/Ninja-ReleaseAssert/swift-linux-x86_64/lib/swift
lit.py: lit.cfg:330: note: Using Clang module cache: /tmp/swift-testsuite-clang-module-cacheSd5Y5E
lit.py: lit.cfg:334: note: Using code completion cache: /tmp/swift-testsuite-completion-cacheh8FdDA
lit.py: lit.cfg:694: note: Testing Linux x86_64-unknown-linux-gnu
lit.py: lit.cfg:259: note: using swift-autolink-extract: /usr/local/src/swift/build/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift-autolink-extract
lit.py: lit.cfg:881: note: Using platform module dir: /usr/local/src/swift/build/Ninja-ReleaseAssert/swift-linux-x86_64/lib/swift/%target-sdk-name/x86_64
Testing Time: 229.98s
  Expected Passes    : 1932
  Expected Failures  : 70
  Unsupported Tests  : 678
-- check-swift-linux-x86_64 finished --
--- Finished tests for swift ---
しばらく待つ事でビルドは終わる。

作成したswiftコマンドを実行する。
# /usr/local/src/swift/build/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift -v
Swift version 3.0-dev (LLVM 8414dd70e2, Clang 188b5bf5e2, Swift 6a0fb2b188)
Target: x86_64-unknown-linux-gnu
/usr/local/src/swift/build/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift -frontend -repl -target x86_64-unknown-linux-gnu -disable-objc-interop -color-diagnostics -module-name REPL
LLVM ERROR: Compiler-internal integrated REPL unimplemented for this platform; use the LLDB-enhanced REPL instead.
バージョン表示がされ、一応は起動する事が確認できる。
この方法でサンプルなどは動作する事を確認した。
その他の動作は確認していない。

参考情報
http://www.swiftprogrammer.info/swift_centos_1.html

1 件のコメント:

Humans Developer さんのコメント...

https://github.com/wgnsa/swift