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+
912Currently [ 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
1518GTK+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
1923brew install gtk+ gtk-mac-integration
2024```
2125
2226On Windows, the [ MSYS2] ( http://www.msys2.org ) is the recommended way to install GTK+2. In MSYS2 MINGW64 shell:
23- ```
27+
28+ ``` sh
2429pacman -S $MINGW_PACKAGE_PREFIX -gtk2
2530```
31+
2632then 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
4046Then you can build threadscope using cabal:
47+
4148``` sh
42- cabal new -build
49+ cabal v2 -build
4350```
4451
4552Or using stack:
53+
4654``` sh
4755stack setup
4856stack 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
5664brew install gtk+ gtk-mac-integration
5765```
5866
5967Then 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
6473Or using stack:
74+
6575``` sh
6676stack setup
6777stack install --flag gtk:have-quartz-gtk
@@ -81,7 +91,7 @@ pacman -Sy mingw-w64-x86_64-gtk2
8191then you can build threadscope using cabal:
8292
8393``` sh
84- cabal new -build
94+ cabal v2 -build
8595```
8696
8797Or you can use stack instead.
0 commit comments