Skip to content

Commit

Permalink
[ML-400] Solve the problem of obtaining DAL version (#401)
Browse files Browse the repository at this point in the history
* update spark to 3.3.3

Signed-off-by: minmingzhu <[email protected]>

* update

* Update dev_cron.yml

* Update dev_cron.yml

---------

Signed-off-by: minmingzhu <[email protected]>
  • Loading branch information
minmingzhu authored Oct 31, 2024
1 parent a1a62a6 commit 6b452d3
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 6b452d3

Please sign in to comment.