在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):rrnewton/haskell-lockfree开源软件地址(OpenSource Url):https://github.com/rrnewton/haskell-lockfree开源编程语言(OpenSource Language):Haskell 94.5%开源软件介绍(OpenSource Introduction):Build Status and unit tests
Contents of this RepositoryThis is a multi-package repository. The following directories each correspond to exactly one cabal package:
Please see the .cabal files for more detailed descriptions of each package. How to Test and InstallFirst, to use compare-and-swap based data structures, you should be using GHC 7.4.1 or later. Some of these libaries will be forced to "fake it" on earlier versions of GHC. You can install all of the packages in your user's .cabal directory with the following command:
You may also want to build the tests at the same time:
There are currently [2012.02.29] some problems with cabal failing to
automatically install dependencies for tests (as opposed to
libraries). You may have to manually install some packages via cabal
(e.g. If you take a look at that
Next, you can run the tests like this:
That test should complete successfully with a zero exit code. Note that if you have trouble building test-suites through cabal, you can build them manually with GHC using a command like the following:
Building with Profiling for debugging:
You might have to reinstall some of the dependencies with profiling enabled:
Reinstalling with profiling can be REALLY annoying once the libraries are already installed. For example, if you forget a dependency above it will complete most of the compile, giving you the "profiling version not available" error only later on, resulting in a quadratic compilation process as you reinstall, add one more dep, reinstall, repeat. KNOWN PROBLEMS
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论