Skip to content

Update README with dependency instructions #92

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,17 @@ optimizations on neural network graphs.
### System Requirements

The project builds and runs on macOS and Linux. The software depends on a modern
C++ compiler that supports C++11, on CMake, protocol buffer, and libpng.
C++ compiler that supports C++11, on CMake, OpenCL, protocol buffer, and libpng.

This comment was marked as off-topic.


### Building the Compiler

Next, create a build directory and run cmake on the source directory:
Next, create a build directory next to the `Glow` directory, and run cmake on the source directory:

```
mkdir build
cd build
cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug -DENABLE_TESTING=YES ../glow
export OPENCL_DIR=/usr/lib64 # replace with location of `libOpenCL.so*`

This comment was marked as off-topic.

This comment was marked as off-topic.

cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug -DENABLE_TESTING=YES -DOpenCL_INCLUDE_DIR=$OPENCL_DIR ../Glow
```

It is possible to configure and build the compiler with any CMake generator,
Expand Down