diff --git a/CI/ubuntu/install_deps b/CI/ubuntu/install_deps index fc7bf9bf..d6698bb4 100755 --- a/CI/ubuntu/install_deps +++ b/CI/ubuntu/install_deps @@ -60,10 +60,10 @@ install_deps() { python3-sphinx ) - glog_packages=( - python3-pip - python3-stdeb - ) + # glog_packages=( + # python3-pip + # python3-stdeb + # ) echo "## Installing libm2k dependencies" install_packages "${libm2k_packages[@]}" @@ -71,8 +71,8 @@ install_deps() { 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() { @@ -85,6 +85,7 @@ build_glog() { -DCMAKE_PREFIX_PATH=/usr make sudo make install + sudo "$PIP" install --upgrade pip stdeb argparse cd "${WORKDIR}" } diff --git a/azure-pipelines.yml b/azure-pipelines.yml index f3adfc65..bb45b167 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -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) @@ -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"