BSD界隈四方山話
第32回 SwiftをFreeBSDでビルドしてみよう
Swift,オープンソースで登場
先日,
ソースコードは
SwiftはまだFreeBSDのパッケージにはなっていませんが,
SwiftをFreeBSDでビルドする
この取り組みははじまったばかりなので,
「landonf/
まず最初にビルドに必要になるパッケージをインストールするのですが,
Swiftをビルドするためのパッケージをインストール
pkg install -y bash git cmake ninja clang36 libc++ icu libxml2 sqlite3 swig python27 ncurses pkgconf e2fsprogs-libuuid
次に,
Swift関連のソースコードを取得
# mkdir -p /home/swift # cd /home/swift # git clone https://github.com/apple/swift.git swift # git clone https://github.com/apple/swift-llvm.git llvm # git clone https://github.com/apple/swift-clang.git clang # git clone https://github.com/apple/swift-lldb.git lldb # git clone https://github.com/apple/swift-cmark.git cmark # git clone https://github.com/apple/swift-llbuild.git llbuild # git clone https://github.com/apple/swift-package-manager.git swiftpm # git clone https://github.com/apple/swift-corelibs-xctest.git # git clone https://github.com/apple/swift-corelibs-foundation.git
Swiftのビルドにはswift/ Swiftのビルドを開始 メモリまたはスワップ領域を十分に用意しておかないと, 手元ではこの状態で Swiftの移植はそれほど難しいようには見えませんので, また, 今やっていることがある, 後藤からは発表の冒頭, The Design and Implementation of the FreeBSD Operating System (2nd Edition)の読書会です。読書会12回目の今回はハードカバーでP.
# pwd
/home/swift
# ls
clang swift
cmark swift-corelibs-foundation
llbuild swift-corelibs-xctest
lldb swiftpm
llvm
# export HOST_CC=clang36
# export HOST_CXX=clang++36
# ./swift/utils/build-script --clean -R
Swiftプログラミング
FreeBSD勉強会 告知
第47回 12月22日(火) 19:00~ ライトニングトーク×FreeBSD忘年会’
第48回 1月28日(木) 19:00~ The Design and Implementation of the FreeBSD Operating System (2nd Edition) 読書会 第12回目 P.
バックナンバー
BSD界隈四方山話
- 第142回 FreeBSD Meltdown対策機能による性能影響ベンチマーク
- 第141回 FreeBSD 11.2は6月リリース
- 第140回 AsiaBSDCon 2018
- 第139回 OpenBSD,Meltdownバイナリパッチ提供開始
- 第138回 OpenBSD,Meltdown対策機能をマージ
- 第137回 FreeBSDのMeltdown/Spectre対策,11系にマージ
- 第136回 FreeBSDのMeltdown/Spectre対策
- 第135回 NetBSDにおけるMeltdown/Spectre対策状況
- 第134回 Intelマイクロコードアップデート適用の一時中止を
- 第133回 OpenBSD on iTWire