From c464d213231ea371c4e9bddaa6455cf8a426a0fe Mon Sep 17 00:00:00 2001 From: "Shuowang (Wayne) Zhang" Date: Mon, 4 Jan 2021 20:31:59 -0500 Subject: [PATCH] doc: add instructions for building on z/OS PR-URL: https://github.com/libuv/libuv/pull/3060 Reviewed-By: Richard Lau --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index f6c73709..f643a270 100644 --- a/README.md +++ b/README.md @@ -308,6 +308,13 @@ describes the package in more detail. ### z/OS Notes +z/OS compilation requires [ZOSLIB](https://github.com/ibmruntimes/zoslib) to be installed. When building with [CMake][], use the flag `-DZOSLIB_DIR` to specify the path to [ZOSLIB](https://github.com/ibmruntimes/zoslib): + +```bash +$ (cd build && cmake .. -DBUILD_TESTING=ON -DZOSLIB_DIR=/path/to/zoslib) +$ cmake --build build +``` + z/OS creates System V semaphores and message queues. These persist on the system after the process terminates unless the event loop is closed.