Skip to content

Commit

Permalink
FIX pip packages
Browse files Browse the repository at this point in the history
Signed-off-by: Adrian Stanea <[email protected]>
  • Loading branch information
Adrian-Stanea committed Oct 17, 2024
1 parent e29e43e commit 2b35897
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
13 changes: 7 additions & 6 deletions CI/ubuntu/install_deps
Original file line number Diff line number Diff line change
Expand Up @@ -60,19 +60,19 @@ install_deps() {
python3-sphinx
)

glog_packages=(
python3-pip
python3-stdeb
)
# glog_packages=(
# python3-pip
# python3-stdeb
# )

echo "## Installing libm2k dependencies"
install_packages "${libm2k_packages[@]}"

echo "## Installing libiio dependencies"
install_packages "${libiio_packages[@]}"

echo "## Installing glog dependencies"
install_packages "${glog_packages[@]}"
# echo "## Installing glog dependencies"
# install_packages "${glog_packages[@]}"
}

build_glog() {
Expand All @@ -85,6 +85,7 @@ build_glog() {
-DCMAKE_PREFIX_PATH=/usr
make
sudo make install
sudo "$PIP" install --upgrade pip stdeb argparse
cd "${WORKDIR}"
}

Expand Down
4 changes: 2 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
variables:
libiioPipelineId: 9
PYTHON: python3.11
PIP: pip
PIP: pip3
AnalogDevices_OpenSource_GUID: '02a28b00-b3c8-4fdf-af9c-c2460499147f'
IS_PULL_REQUEST: ${{ eq('$(Build.Reason)', 'PullRequest') }}
BRANCH_NAME: $(Build.SourceBranchName)
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
persistCredentials: true
- task: UsePythonVersion@0
inputs:
versionSpec: '3.11'
versionSpec: ${{ replace(variables['PYTHON'], 'python', '') }}
addToPath: true
- script: ./CI/ubuntu/install_deps
displayName: "Install Dependencies"
Expand Down

0 comments on commit 2b35897

Please sign in to comment.