File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,7 @@ First, create the root directory and `cd` into it.
53
53
``` bash
54
54
mkdir root
55
55
cd root
56
+ ```
56
57
57
58
Now clone the source:
58
59
``` bash
@@ -233,6 +234,7 @@ cmake \
233
234
-DCMAKE_CUDA_COMPILER=nvcc \
234
235
-DCMAKE_CUDA_HOST_COMPILER=clang++ \
235
236
../runtime/
237
+
236
238
make -j FortranRuntime
237
239
```
238
240
@@ -275,7 +277,7 @@ Normal `make -j check-flang` will work with such CMake configuration.
275
277
##### OpenMP target offload build
276
278
Only Clang compiler is currently supported.
277
279
278
- ```
280
+ ``` bash
279
281
cd llvm-project/flang
280
282
rm -rf build_flang_runtime
281
283
mkdir build_flang_runtime
@@ -287,6 +289,7 @@ cmake \
287
289
-DCMAKE_CXX_COMPILER=clang++ \
288
290
-DFLANG_OMP_DEVICE_ARCHITECTURES=" all" \
289
291
../runtime/
292
+
290
293
make -j FortranRuntime
291
294
```
292
295
@@ -338,6 +341,7 @@ and the GCC library and tools that were used to build clang++.
338
341
339
342
CXX should include the full path to clang++
340
343
or clang++ should be found on your PATH.
344
+
341
345
``` bash
342
346
export CXX=clang++
343
347
```
You can’t perform that action at this time.
0 commit comments