Skip to content

Commit 5f1c11c

Browse files
committed
Update README.md
1 parent 78f4485 commit 5f1c11c

File tree

1 file changed

+18
-8
lines changed

1 file changed

+18
-8
lines changed

README.md

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,34 @@
11
# ThreadScope
2+
23
[![Hackage](https://img.shields.io/hackage/v/threadscope.svg)](https://hackage.haskell.org/package/threadscope)
34
[![Hackage-Deps](https://img.shields.io/hackage-deps/v/threadscope.svg)](http://packdeps.haskellers.com/feed?needle=threadscope)
45
[![Build Status](https://travis-ci.org/haskell/ThreadScope.svg?branch=master)](https://travis-ci.org/haskell/ThreadScope)
56
[![Build status](https://ci.appveyor.com/api/projects/status/tiwkb7k6p38dde03/branch/master?svg=true)](https://ci.appveyor.com/project/maoe/threadscope-44t6e/branch/master)
67

78
## Using pre-built binaries
89

10+
NOTE: Currently Windows builds are broken. See [#98](https://github.com/haskell/ThreadScope/issues/98) for the current status.
11+
912
Currently [pre-built binaries](https://github.com/haskell/ThreadScope/releases) for the following platforms are provided:
1013

1114
* Ubuntu Trusty (64-bit)
12-
* OS X
15+
* macOS (XCode 11)
1316
* Windows (x64)
1417

1518
GTK+2 needs to be installed for those binaries to work.
1619

17-
On OS X, `gtk-mac-integration` also needs to be installed.
18-
```
20+
On OS X, [`gtk-mac-integration`](https://github.com/jralls/gtk-mac-integration) also needs to be installed:
21+
22+
```sh
1923
brew install gtk+ gtk-mac-integration
2024
```
2125

2226
On Windows, the [MSYS2](http://www.msys2.org) is the recommended way to install GTK+2. In MSYS2 MINGW64 shell:
23-
```
27+
28+
```sh
2429
pacman -S $MINGW_PACKAGE_PREFIX-gtk2
2530
```
31+
2632
then you can run the threadscope binary from the shell.
2733

2834
## Building from source
@@ -38,30 +44,34 @@ sudo apt install libgtk2.0-dev
3844
```
3945

4046
Then you can build threadscope using cabal:
47+
4148
```sh
42-
cabal new-build
49+
cabal v2-build
4350
```
4451

4552
Or using stack:
53+
4654
```sh
4755
stack setup
4856
stack install
4957
```
5058

5159
### OS X
5260

53-
GTK+ and gtk-mac-integration are required.
61+
GTK+ and gtk-mac-integration are required:
5462

5563
```sh
5664
brew install gtk+ gtk-mac-integration
5765
```
5866

5967
Then you can build threadscope using cabal:
68+
6069
```sh
61-
cabal new-build --constraint="gtk +have-quartz-gtk"
70+
cabal v2-build --constraint="gtk +have-quartz-gtk"
6271
```
6372

6473
Or using stack:
74+
6575
```sh
6676
stack setup
6777
stack install --flag gtk:have-quartz-gtk
@@ -81,7 +91,7 @@ pacman -Sy mingw-w64-x86_64-gtk2
8191
then you can build threadscope using cabal:
8292

8393
```sh
84-
cabal new-build
94+
cabal v2-build
8595
```
8696

8797
Or you can use stack instead.

0 commit comments

Comments
 (0)