Skip to content

Commit

Permalink
Document DYLD_LIBRARY_PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
hhugo committed Mar 30, 2017
1 parent 7251162 commit d957352
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ ALL = $(MNIST_ALL) \
jbuilder build $@

src/graph/ops_generated: _build/default/src/gen_ops/gen.exe
LD_LIBRARY_PATH=./lib:$(LD_LIBRARY_PATH) _build/default/src/gen_ops/gen.exe
DYLD_LIBRARY_PATH=./lib:$(DYLD_LIBRARY_PATH) LD_LIBRARY_PATH=./lib:$(LD_LIBRARY_PATH) _build/default/src/gen_ops/gen.exe

clean:
rm -Rf _build/ *.exe

.FORCE:

runtests: tests/operator_tests.exe tests/gradient_tests.exe
LD_LIBRARY_PATH=./lib:$(LD_LIBRARY_PATH) _build/default/tests/operator_tests.exe
LD_LIBRARY_PATH=./lib:$(LD_LIBRARY_PATH) _build/default/tests/gradient_tests.exe
DYLD_LIBRARY_PATH=./lib:$(DYLD_LIBRARY_PATH) LD_LIBRARY_PATH=./lib:$(LD_LIBRARY_PATH) _build/default/tests/operator_tests.exe
DYLD_LIBRARY_PATH=./lib:$(DYLD_LIBRARY_PATH) LD_LIBRARY_PATH=./lib:$(LD_LIBRARY_PATH) _build/default/tests/gradient_tests.exe

all: $(ALL)
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ You should adjust your LD_LIBRARY_PATH environment variable in the same way LIBR
```bash
LD_LIBRARY_PATH=/path/to/lib:$LD_LIBRARY_PATH ./forty_two.native
```
Note that on OS X, you should adjust your DYLD_LIBRARY_PATH environment variable
## Examples
Expand Down

0 comments on commit d957352

Please sign in to comment.