Skip to content

Commit b4d4f32

Browse files
author
Diptorup Deb
committed
Update the build_for_develop script.
1 parent 9f6ba54 commit b4d4f32

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

scripts/build_for_develop.sh

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,6 @@
11
#!/bin/bash
22
set +xe
33

4-
# Check if level-zero headers are installed. Currently, works only for Ubuntu.
5-
# Check https://dgpu-docs.intel.com/technologies/level-zero.html for details
6-
# about what development package should be checked for different distros.
7-
if [ -f /etc/os-release ]; then
8-
. /etc/os-release
9-
if [[ "$NAME" == "Ubuntu" ]]; then
10-
dpkg -s level-zero-dev
11-
if [[ $? == 0 ]]; then
12-
export HAS_LO_HEADERS=ON
13-
fi
14-
fi
15-
fi
16-
export CODE_COVERAGE=ON
174
python setup.py clean --all
18-
python setup.py develop
5+
python setup.py develop --coverage=True
196
pytest -q -ra --disable-warnings --cov dpctl --cov-report term-missing --pyargs dpctl -vv --cov-config=.coveragerc

0 commit comments

Comments
 (0)