It's impossible to install libuv into /usr due to the stringent system protection policies imposed by OS X. swift build fails with errors such as:
Cloning https://github.com/CaramelForSwift/CUv.git
Using version 1.0.0 of package CUv
Compiling Swift Module 'Caramel' (22 sources)
/Users/yifei/dev/Caramel/Sources/EventLoop.swift:20:44: error: use of undeclared type 'uv_loop_t'
internal var uvLoop: UnsafeMutablePointer<uv_loop_t> = {
^~~~~~~~~
It's impossible to install libuv into
/usr
due to the stringent system protection policies imposed by OS X.swift build
fails with errors such as: