Difference: FRCVLabMLSA_installation (1 vs. 7)

Revision 72017-07-21 - AnneMarieBogar

Line: 1 to 1
 
META TOPICPARENT name="FRCVLabMLSA"
<meta name="robots" content="noindex" />

MLSA_logo.png Installation

Pre-Requirements

Changed:
<
<
- Clang 3.8
>
>
- Clang 3.8
  On Ubuntu terminal, type the following commands to install Clang 3.8:

  • sudo apt-get install clang-3.8
Changed:
<
<
- Python 2.7
>
>
- Python 2.7
  On Ubuntu terminal, type the following command to install Python 2.7:

Revision 62017-07-18 - AnneMarieBogar

Line: 1 to 1
 
META TOPICPARENT name="FRCVLabMLSA"
<meta name="robots" content="noindex" />
Line: 18 to 18
 
  • sudo apt-get install python

- SpiderMonkey 24

Added:
>
>
  • sudo apt-get install libmozjs-24-bin
 - GraphViz 2.38
Added:
>
>
  • sudo apt-get install graphviz
 - Evince 3.18 or another PDF viewer

- Bash 4.3

Revision 52017-07-18 - AnneMarieBogar

Line: 1 to 1
 
META TOPICPARENT name="FRCVLabMLSA"
<meta name="robots" content="noindex" />
Line: 9 to 9
  On Ubuntu terminal, type the following commands to install Clang 3.8:
Changed:
<
<
  1. sudo add-apt-repository 'deb http://llvm.org/apt/trusty/ llvm-toolchain-trusty-3.8 main'
  2. sudo apt-get update
  3. sudo apt-get install clang-3.8
>
>
  • sudo apt-get install clang-3.8
  - Python 2.7
Line: 30 to 28
 Finally clone the MLSA repository, which will generate the mlsa folder:

  1. Download software from https://git.io/MLSA
Added:
>
>
 
  1. 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:
Line: 45 to 44
 
  1. $python testcode.py 2 -> tests the Python function call generator
  2. $python testcode.py 3 -> tests the multilingual Python and C functional call pipeline
  3. $python testcode.py 4 -> tests the JavaScript function call generator
Changed:
<
<
  1. #python testcode.py 5 -> tests the multilingual Python, C, and JavaScript pipeline
>
>
  1. $python testcode.py 5 -> tests the multilingual Python, C, and JavaScript pipeline
 

Permissions

Revision 42017-07-12 - AnneMarieBogar

Line: 1 to 1
 
META TOPICPARENT name="FRCVLabMLSA"
<meta name="robots" content="noindex" />
Changed:
<
<

Installation

>
>

MLSA_logo.png Installation

 

Pre-Requirements

- Clang 3.8

Line: 53 to 53
 

-- (c) Fordham University Robotics and Computer Vision

Added:
>
>
META FILEATTACHMENT attachment="MLSA_logo.png" attr="" comment="" date="1499887599" name="MLSA_logo.png" path="MLSA_logo.png" size="39428" user="AnneMarieBogar" version="1"

Revision 32017-07-12 - AnneMarieBogar

Line: 1 to 1
 
META TOPICPARENT name="FRCVLabMLSA"
<meta name="robots" content="noindex" />

Installation

Added:
>
>

Pre-Requirements

  - Clang 3.8
Line: 14 to 15
  - Python 2.7
Changed:
<
<
On Ubuntu terminal, type the following command to install Python 2.7
>
>
On Ubuntu terminal, type the following command to install Python 2.7:
 
Changed:
<
<
sudo apt-get install python

- SpiderMonkey 24

- Ninja 1.7.2

>
>
  • sudo apt-get install python

- SpiderMonkey 24

 
Changed:
<
<
- Dot 2.38
>
>
- GraphViz 2.38
 
Changed:
<
<
- Evince 3.18
>
>
- Evince 3.18 or another PDF viewer
  - Bash 4.3
Added:
>
>

MLSA

 
Changed:
<
<
Finally clone the MLSA repository, which will generate the mlsa folder.
>
>
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

Revision 22017-07-11 - AnneMarieBogar

Line: 1 to 1
 
META TOPICPARENT name="FRCVLabMLSA"
<meta name="robots" content="noindex" />
Line: 8 to 8
  On Ubuntu terminal, type the following commands to install Clang 3.8:

Changed:
<
<
  1. sudo add-apt-repository 'deb http://llvm.org/apt/trusty/ llvm-toolchain-trusty-3.8 main'
  2. sudo apt-get update
  3. sudo apt-get install clang-3.8
>
>
  1. sudo add-apt-repository 'deb http://llvm.org/apt/trusty/ llvm-toolchain-trusty-3.8 main'
  2. sudo apt-get update
  3. 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

Added:
>
>

- SpiderMonkey 24

- Ninja 1.7.2

  - Dot 2.38

Revision 12016-07-26 - DamianLyons

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="FRCVLabMLSA"
<meta name="robots" content="noindex" />

Installation

- Clang 3.8

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

  1. sudo add-apt-repository 'deb http://llvm.org/apt/trusty/ llvm-toolchain-trusty-3.8 main'
  2. sudo apt-get update
  3. 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

- Dot 2.38

- Evince 3.18

- Bash 4.3

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

Permissions

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

-- (c) Fordham University Robotics and Computer Vision

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback