Skip to content

Commit 5b57784

Browse files
committedFeb 9, 2023
Support a threaded build for igraph 0.10.4.
1 parent 22f1e70 commit 5b57784

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed
 

‎CMakeLists.txt

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ project(igraph-wasm-build)
44

55
set(IGRAPH_VERSION "0.10.2" CACHE STRING "igraph version to build")
66

7+
set(HASH_0.10.4 aa5700b58c5f1e1de1f4637ab14df15c6b20e25e51d0f5a260921818e8f02afc)
78
set(HASH_0.10.2 2c2b9f18fc2f84b327f1146466942eb3e3d2ff09b6738504efb9e5edf2728c83)
89
set(HASH_0.9.4 a3285cccf4f043c9ced2bc8d8d2609ff8398cb92ed49fdf86264ed91929137dd)
910

@@ -33,6 +34,8 @@ FetchContent_Declare(
3334
)
3435
FetchContent_Populate(igraph)
3536

37+
add_compile_options("-pthread")
38+
3639
# Some of the older versions of igraph trip warning in newer version of clang,
3740
# so we just forcibly disable them. We can't really do much about it anyway.
3841
set(IGRAPH_WARNINGS_AS_ERRORS OFF CACHE BOOL "" FORCE)

‎build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
VERSIONS=(0.9.4 0.10.2)
3+
VERSIONS=0.10.4
44

55
for v in ${VERSIONS[@]}
66
do

0 commit comments

Comments
 (0)
Please sign in to comment.