File: numpyBootstrap.csh

package info (click to toggle)
vdt 0.4.4-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 620 kB
  • sloc: cpp: 2,382; ansic: 1,589; python: 1,126; csh: 16; makefile: 8
file content (20 lines) | stat: -rwxr-xr-x 608 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/csh
set CD=$PWD
echo $CD
pushd $TMPDIR
# source /cvmfs/sft.cern.ch/lcg/views/LCG_88/x86_64-slc6-gcc62-opt/setup.csh
# source /cvmfs/sft.cern.ch/lcg/views/LCG_88/x86_64-centos7-gcc62-opt/setup.csh
git clone https://github.com/dpiparo/vdt.git
cd vdt/src/
python numpy_wrapper_generator.py
c++ -Ofast -shared -fPIC -Wall -o libvdtFatLibWrapper.so vdtFatLibWrapper.cc -I../include/
python setup.py build_ext --inplace
python ../progs/testExp.py
cp -r vdtnpfun_directory $CD/.
cp  libvdtFatLibWrapper.so $CD/.
cp vdt.py  $CD/.
cp ../progs/testExp.py $CD/.
cp ../progs/*.ipynb $CD/.
popd
python testExp.py