Commit d6142016c4c795a48738021632dcbbb5a71c638d
1 parent
a3fb61ca
Exists in
master
and in
98 other branches
Update README file
Showing
2 changed files
with
22 additions
and
29 deletions
Show diff stats
README deleted
... | ... | @@ -1,29 +0,0 @@ |
1 | - | |
2 | -MY_GXX_HOME="/shared/tools/gcc/4.7.2/rtf" | |
3 | -export PATH="${MY_GXX_HOME}/bin:${PATH}" | |
4 | -export LD_LIBRARY_PATH="${MY_GXX_HOME}/lib64:${MY_GXX_HOME}/lib:${LD_LIBRARY_PATH}" | |
5 | - | |
6 | -cmake -E make_directory build | |
7 | - | |
8 | -export OLD_PATH=$PATH | |
9 | -# Test mode Release | |
10 | -export PATH=/home/f.casimir/workspace/AMDA_Kernel/build/Release/bin:$OLD_PATH | |
11 | -export BUILD_TYPE=Release | |
12 | -nohup java -jar COTS/FitNesse/fitnesse.jar -d test -e 0 -p 8081 & | |
13 | -make clean; cmake -E make_directory build; cmake -E chdir build cmake -DCMAKE_BUILD_TYPE=Release ..; make -C build | |
14 | - | |
15 | -# Test mode Debug | |
16 | -export PATH=/home/f.casimir/workspace/AMDA_Kernel/build/Debug/bin:$OLD_PATH | |
17 | - export BUILD_TYPE=Debug | |
18 | -nohup java -jar COTS/FitNesse/fitnesse.jar -d test -e 0 -p 8082 & | |
19 | -make clean; cmake -E make_directory build; cmake -E chdir build cmake -DCMAKE_BUILD_TYPE=Debug ..; make -C build | |
20 | - | |
21 | - | |
22 | - | |
23 | -For remind | |
24 | -cmake -E make_directory build | |
25 | -cmake -E chdir build cmake -DCMAKE_BUILD_TYPE=Debug .. | |
26 | -cmake --build build | |
27 | -cmake --build build --target test | |
28 | -cmake --help-module-list | |
29 | - | |
30 | 0 | \ No newline at end of file |
... | ... | @@ -0,0 +1,22 @@ |
1 | +# AMDA Kernel module # | |
2 | + | |
3 | +## Compilation ## | |
4 | + | |
5 | +**The first compilation** must be done with the script `script/deploy.sh` and with these required arguments: | |
6 | + | |
7 | +- `-b`: build type (Debug or Release) | |
8 | +- `-g` : gcc install directory | |
9 | +- `-o` : AMDA COTS install directory | |
10 | +- `-d` : DDServer host name (will be write in DD.res file) | |
11 | +- `-p` : DDServer port (will be write in DD.res file) | |
12 | + | |
13 | +For exemple: | |
14 | + | |
15 | + script/deploy.sh -b "Debug" -g "/opt/tools" -o "/opt/local" -d "amdadev.fr" -p "5000" | |
16 | + | |
17 | +During this first compilation, scripts `script/deploy-debug.sh` and `script/deploy-release.sh` will be generated and they can be used later to compile the application with the same arguments. | |
18 | + | |
19 | +For example, to compile the application in release mode, you have just to run this command line: | |
20 | + | |
21 | + script/deploy-release.sh | |
22 | + | ... | ... |