Codebase list python-pyeclib / 08bfdb2
Install isa-l from source when testing liberasure-master Change-Id: I93506b63f2a4f86358d5ffbca8b7360e797729d1 Tim Burke 6 years ago
3 changed file(s) with 16 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
66 autoconf
77 automake
88 libtool
9 yasm
910 liberasurecode-dev [platform:dpkg]
1011 liberasurecode-devel [platform:rpm]
1112 python-dev [platform:dpkg]
22 echo "Expected VIRTUAL_ENV to be set!"
33 exit 1
44 fi
5
6 if [ -n "$ISAL_DIR" ]; then
7 if [ ! -d "$ISAL_DIR" ]; then
8 git clone git://github.com/01org/isa-l.git "$ISAL_DIR"
9 fi
10 pushd "$ISAL_DIR"
11 ./autogen.sh
12 ./configure --prefix "$VIRTUAL_ENV"
13 make
14 make install
15 popd
16 fi
17
518 if [ -z "$LIBERASURECODE_DIR" ]; then
619 echo "Expected LIBERASURECODE_DIR to be set!"
720 exit 1
1932 make
2033 make install
2134 popd
35
2236 pip install "$@"
88
99 [testenv:liberasurecode-git]
1010 setenv = LIBERASURECODE_DIR={envdir}/liberasurecode
11 ISAL_DIR={envdir}/isa-l
1112 passenv = LIBERASURECODE_REF
1213 install_command =
1314 {toxinidir}/tools/pip-install-with-liberasurecode.sh {opts} {packages}