Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
minmingzhu committed Oct 23, 2024
1 parent 58b206e commit cc7f1e1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions mllib-dal/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ fi

if [[ -n $DAALROOT ]]; then
if [[ -e $DAALROOT ]]; then
export ONEDAL_VERSION=$(echo "$DAALROOT" | awk -F '/' '{print $(NF)}')
export ONEDAL_VERSION=$(readlink -f "$DAALROOT" | awk -F '/' '{print $(NF)}')
fi
elif [[ -n $DALROOT ]]; then
if [[ -e $DALROOT ]]; then
export ONEDAL_VERSION=$(echo "$DALROOT" | awk -F '/' '{print $(NF)}')
export ONEDAL_VERSION=$(readlink -f "$DALROOT" | awk -F '/' '{print $(NF)}')
fi
else
echo DAALROOT not defined!
Expand Down
4 changes: 2 additions & 2 deletions mllib-dal/src/main/native/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ fi
if [[ -z $ONEDAL_VERSION ]]; then
if [[ -n $DAALROOT ]]; then
if [[ -e $DAALROOT ]]; then
export ONEDAL_VERSION=$(echo "$DAALROOT" | awk -F '/' '{print $(NF)}')
export ONEDAL_VERSION=$(readlink -f "$DAALROOT" | awk -F '/' '{print $(NF)}')
fi
elif [[ -n $DALROOT ]]; then
if [[ -e $DALROOT ]]; then
export ONEDAL_VERSION=$(echo "$DALROOT" | awk -F '/' '{print $(NF)}')
export ONEDAL_VERSION=$(readlink -f "$DALROOT" | awk -F '/' '{print $(NF)}')
fi
else
echo DAALROOT not defined!
Expand Down

0 comments on commit cc7f1e1

Please sign in to comment.