Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.

Commit

Permalink
Merge pull request #69 from joeksam/documentation_fix_adv_compiling
Browse files Browse the repository at this point in the history
Fixing documentation issue related to path on windows
  • Loading branch information
lisaong authored Aug 4, 2017
2 parents ae73c98 + d99c6b7 commit 58488c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tutorials/vision/gettingStarted/compilingAdvanced.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ set PATH=%PATH%;%ELL_ROOT%\external\swigwintools.3.0.12\tools\swigwin-3.0.12
```
Then run:
```
swig -python -modern -c++ -Fmicrosoft -py3 -outdir . -c++ -I%ELL_ROOT%/interfaces/common/include -I%ELL_ROOT%/interfaces/common -I%ELL_ROOT%/libraries/emitters/include -o _darknetReferencePYTHON_wrap.cxx darknetReference.i
swig -python -modern -c++ -Fmicrosoft -py3 -outdir . -c++ -I%ELL_ROOT%\interfaces\common\include -I%ELL_ROOT%\interfaces\common -I%ELL_ROOT%\libraries\emitters\include -o _darknetReferencePYTHON_wrap.cxx darknetReference.i
```
This should be quick. Next we run `llc` to compile the IR language generated by compile step above
into a .obj linkable module. This means we need to be able to find llc:
Expand All @@ -42,7 +42,7 @@ set PATH=%PATH%;%ELL_ROOT%\external\LLVMNativeWindowsLibs.x64.3.9.1\build\native
```
Then run this:
```
llc -filetype=obj _darknetReference.ll -march x86-64
llc -filetype=obj darknetReference.ll -march x86-64
```
*Note:* the machine architecture we chose there means you need to be running it on 64 bit Windows.
`llc` supports many other targets, including what we need to run on Raspberry Pi.
Expand Down

0 comments on commit 58488c5

Please sign in to comment.