Skip to content
This repository was archived by the owner on Sep 10, 2022. It is now read-only.

Commit 53ba2c2

Browse files
committed
Update build instructions for Linux and add -pthread to ldflags.
1 parent f4cc824 commit 53ba2c2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Python 2.x is required on all platforms for GYP, which generates the build files
2626

2727
* Windows: GYP is currently configured to generate project files for Visual Studio 2012 (Express works). 2010 might work too if you edit generate-project-files.bat to change the version. The Windows 8 SDK is required due to the use of DXGI 1.2. It can be installed on Windows 7 and Windows Vista.
2828
* Mac: XCode 4 is required.
29-
* Linux: Clang is required. The benchmark does not compile with GCC. The only other requirement should be X11 development headers and libraries, in the xorg-dev package on Debian/Ubuntu.
29+
* Linux: Clang is required. The benchmark does not compile with GCC. Other build dependencies are OpenGL and X11 development headers (Debian packages xorg-dev and libgl1-mesa-dev).
3030

3131
## Build steps
3232

latency-benchmark.gyp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@
108108
},
109109
'conditions': [
110110
['OS=="linux"', {
111+
'ldflags': [ '-pthread' ],
111112
'link_settings': {
112113
'libraries' : [
113114
'-ldl',

0 commit comments

Comments
 (0)