Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想“共享”会cabal install更快,对吧?shared 的默认值为 False。我们应该使用 True 还是 False 来共享?
cabal install
谢谢!
这意味着“还构建与cabal install“一起安装的动态链接(也称为共享)版本的库。
$ cabal help install | grep shared --enable-shared Enable Shared library --disable-shared Disable Shared library
默认情况下,仅构建静态链接的版本。所以它不会变得cabal install libfoo更快 - 相反,构建libfoo将需要更多时间。
cabal install libfoo
libfoo