You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+29-3Lines changed: 29 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -211,6 +211,25 @@ $ mkdir output
211
211
$ bash make.sh
212
212
```
213
213
214
+
There is also some detailed options in make.sh:
215
+
216
+
```bash
217
+
$bash make.sh -h
218
+
Usage: make.sh [-o <no-m32|no-valgrind>] [-h]
219
+
220
+
Example:
221
+
# default build
222
+
bash make.sh
223
+
# build without the i386 binary output
224
+
bash make.sh -o no-m32
225
+
# build without the valgrind supported binary output
226
+
bash make.sh -o no-valgrind
227
+
# build without the valgrind supported and i386 binary output
228
+
bash make.sh -o no-valgrind -o no-m32
229
+
```
230
+
231
+
In short, using `-o no-valgrind ` if you have no valgrind headers installed, `-o no-m32` if you have no 32-bit gcc development tools installed on a AMD64 host.
232
+
214
233
## Test
215
234
216
235
```bash
@@ -379,7 +398,7 @@ Destroy the `co`. The argument `co` must not be NULL. The private save stack wou
379
398
```c
380
399
#define ACO_VERSION_MAJOR 1
381
400
#define ACO_VERSION_MINOR 2
382
-
#define ACO_VERSION_PATCH 0
401
+
#define ACO_VERSION_PATCH 2
383
402
```
384
403
385
404
This 3 macros are defined in the header `aco.h` and the value of them follows the spec: [Semantic Versioning 2.0.0](https://semver.org/spec/v2.0.0.html).
@@ -896,8 +915,6 @@ void co_fp1() {
896
915
897
916
New ideas are welcome!
898
917
899
-
* Support header files including by C++.
900
-
901
918
* Add a macro `aco_new` which is the combination of something like `p = malloc(sz); assertalloc_ptr(p)`.
902
919
903
920
* Add a new API `aco_reset` to support the reusability of the coroutine objects.
@@ -907,6 +924,15 @@ New ideas are welcome!
907
924
# CHANGES
908
925
909
926
```
927
+
v1.2.2 Mon Jul 9 2018
928
+
Added a new option `-o <no-m32|no-valgrind>` to make.sh;
929
+
Correction about the value of macro ACO_VERSION_PATCH (issue #1
930
+
kindly reported by Markus Elfring @elfring);
931
+
Adjusted some noncompliant naming of identifiers (double underscore
932
+
`__`) (issue #1, kindly proposed by Markus Elfring @elfring);
933
+
Supported the header file including by C++ (issue #4, kindly
934
+
proposed by Markus Elfring @elfring).
935
+
910
936
v1.2.1 Sat Jul 7 2018
911
937
Fixed some noncompliant include guards in two C header files (
912
938
issue #1 kindly reported by Markus Elfring @elfring);
0 commit comments