File: coarray.patch

package info (click to toggle)
fortran-assert 3.1.0-6
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 212 kB
  • sloc: f90: 305; ansic: 41; makefile: 9; sh: 4
file content (21 lines) | stat: -rw-r--r-- 579 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Description: Set macro needed for gfortran compilation
Author: Alastair McKinstry  <mckinstry@debian.org>
Last-Updated: 2026-03-18
Forwarded: not-needed

This disables coarray support, which is not available everywhere;
revisit later.
It also sets ASSERT_PARALLEL_CALLBACKS which is needed for Caffeine. Otherwise asserts
not defined that break Caffeine build. Dummies needed ?

--- a/fpm.toml
+++ b/fpm.toml
@@ -2,3 +2,7 @@
 
 [install]
 library = true
+
+[preprocess]
+[preprocess.cpp]
+macros=['ASSERT_MULTI_IMAGE=1','ASSERT_PARALLEL_CALLBACKS=1']
\ No newline at end of file