Skip to content

Commit 3c2e1d0

Browse files
committed
Minor update to the snippets linkage
1 parent ce971bc commit 3c2e1d0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lectures/parallelism.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ Let's actually measure the difference! If we run the exact same color inversion
9999
100100
<!--
101101
`CPP_COPY_SNIPPET` parallelism_algorithms/main.cpp
102-
`CPP_RUN_CMD` CWD:parallelism_algorithms bash -c 'g++-15 -std=c++17 -I/opt/homebrew/include -L/opt/homebrew/lib -ltbb main.cpp 2>/dev/null || c++ -std=c++17 -ltbb main.cpp'
102+
`CPP_RUN_CMD` CWD:parallelism_algorithms bash -c 'g++-15 -std=c++17 -I/opt/homebrew/include -L/opt/homebrew/lib main.cpp -ltbb 2>/dev/null || c++ -std=c++17 main.cpp -ltbb'
103103
-->
104104
```cpp
105105
#include <algorithm>
@@ -173,7 +173,7 @@ Let's rewrite our color inversion example using `tbb::parallel_for`. This explic
173173

174174
<!--
175175
`CPP_COPY_SNIPPET` parallelism_raw_tbb/main.cpp
176-
`CPP_RUN_CMD` CWD:parallelism_raw_tbb bash -c 'g++-15 -std=c++17 -I/opt/homebrew/include -L/opt/homebrew/lib -ltbb main.cpp 2>/dev/null || c++ -std=c++17 -ltbb main.cpp'
176+
`CPP_RUN_CMD` CWD:parallelism_raw_tbb bash -c 'g++-15 -std=c++17 -I/opt/homebrew/include -L/opt/homebrew/lib main.cpp -ltbb 2>/dev/null || c++ -std=c++17 main.cpp -ltbb'
177177
-->
178178
```cpp
179179
#include <chrono>

0 commit comments

Comments
 (0)