File tree Expand file tree Collapse file tree 4 files changed +29
-4
lines changed Expand file tree Collapse file tree 4 files changed +29
-4
lines changed Original file line number Diff line number Diff line change 1
1
# Revision history for threadscope
2
2
3
+ ## 2018-06-08 - v0.2.11
4
+
5
+ * Relax upper version bounds for template-haskell and temporary
6
+ * Fix build failure with gtk-0.14.9
7
+ * Modernise AppVeyor CI script
8
+
3
9
## 2018-02-16 - v0.2.10
4
10
5
11
* Add instructions to install gtk2 in the README
Original file line number Diff line number Diff line change @@ -27,6 +27,8 @@ then you can run the threadscope binary from the shell.
27
27
28
28
## Building from source
29
29
30
+ Use ` git clone ` or ` cabal unpack threadscope ` to get the source and move into the threadscope directory.
31
+
30
32
### Linux
31
33
32
34
GTK+2 is required to be installed. On Ubuntu-like systems:
@@ -67,9 +69,24 @@ stack install --flag gtk:have-quartz-gtk
67
69
68
70
### Windows
69
71
70
- stack is the recommended tool to build threadscope on Windows.
72
+ [ Chocolatey] ( https://chocolatey.org/ ) can be used to install GHC and [ MSYS2] ( https://www.msys2.org/ ) is the recommended way to install GTK+.
73
+
74
+ ``` sh
75
+ choco install ghc
76
+ refreshenv
77
+ set PATH=C:\\ msys64\\ mingw64\\ bin; C:\\ msys64\\ usr\\ bin; %PATH%
78
+ pacman -Sy mingw-w64-x86_64-gtk2
79
+ ```
71
80
72
- CAVEAT: Currently gtk2 needs to be installed twice: one for stack's MSYS2 environment and another for local MSYS2 environment.
81
+ then you can build threadscope using cabal:
82
+
83
+ ``` sh
84
+ cabal new-build
85
+ ```
86
+
87
+ Or you can use stack instead.
88
+
89
+ CAVEAT: gtk2 needs to be installed twice: one for stack's MSYS2 environment and another for local MSYS2 environment.
73
90
74
91
In command prompt:
75
92
``` sh
@@ -88,3 +105,5 @@ echo 'export PATH=$APPDATA/local/bin:$PATH' >> .profile
88
105
source .profile
89
106
threadscope
90
107
```
108
+
109
+ Building using stack is not tested in CI. If you find any issues with building with stack, please update the instructions and send a PR.
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ resolver: lts-11.8
2
2
packages :
3
3
- .
4
4
extra-deps :
5
- - Cabal-2.0.1.1
5
+ - Cabal-1.24.2.0
6
6
- Win32-2.3.1.1
7
7
- gio-0.13.5.0
8
8
- gtk-0.14.9
Original file line number Diff line number Diff line change 1
1
Name : threadscope
2
- Version : 0.2.10
2
+ Version : 0.2.11
3
3
Category : Development, Profiling, Trace
4
4
Synopsis : A graphical tool for profiling parallel Haskell programs.
5
5
Description : ThreadScope is a graphical viewer for thread profile
You can’t perform that action at this time.
0 commit comments