-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.sh
executable file
·42 lines (41 loc) · 1.4 KB
/
setup.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# DOWNLOAD AND SET ALL THE GIT REPOSITORIES WITH THE SOURCE CODE OF ENGINES
git submodule update --init --recursive
git submodule update --recursive
# Set up Cadmium v1 repository
cd simulators/cadmium || exit
git checkout b6636f791d3fbff41b6b72e1d9e34ce18152065d
# Set up Cadmium v2 repository
cd ../cadmium_v2 || exit
git checkout devel # TODO set to a specific commit when available
# Set up PythonPDEVS repository
cd ../pythonpdevs || exit
git checkout 50164a92c6
# Set up xDEVS C repository
cd ../xdevs.c || exit
git checkout 9c2a54ddd671a790528f6ba4d5a71c2732a431dd
# Set up xDEVS C++ repository
cd ../xdevs.cpp || exit
git checkout 4a5b9cf7b6498e88e760dfba177a761240999955
# TODO xDEVS C#
# TODO xDEVS Go
# Set up xDEVS Java repository
cd ../xdevs.java || exit
git checkout 94b7d15ab3e79220e8145f9576e69948db4b4fb6
# Set up xDEVS Python repository
cd ../xdevs.py || exit
git checkout b53a6f170350af8296af43d1b2334e173e95990c
# Set up xDEVS Rust repository
cd ../xdevs.rs || exit
git checkout 7d4179e61e44f53bb67e2a32abdb3a1ca41752af
# Set up xDEVS Rust (new) repository
cd ../xdevs.rs-new || exit
git checkout 64670afaeabfbf2bf1d34edd64cbc06bdfaad51d
# Go back to root directory
cd ../..
# COMPILE THE DEVSTONE PROJECT FOR ALL THE PYTHON ENGINES
# Install PythonPDEVS
cd simulators/pythonpdevs/src || exit
python3 setup.py install --user # TODO this fails
# Install xDEVS Python
cd ../xdevs.py || exit
python3 setup.py install