Tags:
create new tag
view all tags
<meta name="robots" content="noindex" />

MLSA_logo.png Installation

Pre-Requirements

- Clang 3.8

On Ubuntu terminal, type the following commands to install Clang 3.8:

  • sudo apt-get install clang-3.8

- Python 2.7

On Ubuntu terminal, type the following command to install Python 2.7:

  • sudo apt-get install python

- SpiderMonkey 24

  • sudo apt-get install libmozjs-24-bin
- GraphViz 2.38

  • sudo apt-get install graphviz
- Evince 3.18 or another PDF viewer

- Bash 4.3

MLSA

Finally clone the MLSA repository, which will generate the mlsa folder:

  1. Download software from https://git.io/MLSA
  2. Run mlsapath.bash in the mlsa folder (adds mlcg.py to PATH) with command: $source mlsapath.bash
When MLSA is cloned, it will produce a folder with the following subfolders:

  • Bin - contains python code implementing MLSA filter programs and MLSA pipeline
  • Doc - contains MLSA documentation
  • Test - contains the program testcode.py and test folders test0 through test5 that can be used to determine a correct installation
  • ExampleCodeBase - contains C/C++, Python, and JavaScript subfolders with various programs downloaded from the web to evaluate MLSA
A good way to test if your MLSA installation is operating correctly is by cd-ing to the test folder and invoking the testcode.py program as follows. All calls to testcode.py will automatically diff the results generated with the correct results and report the differences in a text file called testN_stats.txt where N is the argument given to the testcode.py program:

  1. $python testcode.py -1 -> deletes all code generated from testcode.py; run after every test
  2. $python testcode.py 0 -> tests the C function call generator
  3. $python testcode.py 1 -> tests the C control flow, assignment collector, and RDA pipeline
  4. $python testcode.py 2 -> tests the Python function call generator
  5. $python testcode.py 3 -> tests the multilingual Python and C functional call pipeline
  6. $python testcode.py 4 -> tests the JavaScript function call generator
  7. $python testcode.py 5 -> tests the multilingual Python, C, and JavaScript pipeline

Permissions

  • Persons/group who can view/change the page:
  • Set ALLOWTOPICCHANGE = FRCVRoboticsGroup

-- (c) Fordham University Robotics and Computer Vision

Topic attachments
I Attachment History Action Size Date Who Comment
PNGpng MLSA_logo.png r1 manage 38.5 K 2017-07-12 - 19:26 AnneMarieBogar  
Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r7 - 2017-07-21 - AnneMarieBogar
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback