Skip to content

Commit

Permalink
Merge pull request #8856 from Al3xR01/topic/build_in_tree_v1.14.x
Browse files Browse the repository at this point in the history
AZP/RELEASE: Build in-tree -  v1.14.x
  • Loading branch information
yosefe authored Feb 9, 2023
2 parents efcadd7 + f802b90 commit 5deaf72
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions buildlib/az-distro-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,9 @@ jobs:
- bash: |
set -eEx
./autogen.sh
mkdir pkg-build
mkdir -p pkg-build
cd pkg-build
../contrib/configure-release --with-cuda --with-java=no
displayName: Configure
- bash: |
set -eEx
cd pkg-build
../contrib/buildrpm.sh -s -t -b --noclean
cd rpm-dist/`uname -m`
tar -cjf "../../../${AZ_ARTIFACT_NAME}" *.rpm
Expand All @@ -67,9 +62,13 @@ jobs:
- bash: |
set -eEx
cd pkg-build
echo 10 > debian/compat # https://www.debian.org/doc/manuals/maint-guide/dother.en.html#compat
sed -i 's|./contrib|../contrib|' debian/rules # Hack
./autogen.sh
./contrib/configure-release --with-cuda --with-java=no
make dist
tarball=$(echo ucx*.tar.gz)
tar -xzvf ${tarball} # extract the sources in a subdirectory
cd $(tar tf ${tarball} | head -1) # go to extracted tarball directory
echo 10 > debian/compat # https://www.debian.org/doc/manuals/maint-guide/dother.en.htmdpl#compat
dpkg-buildpackage -us -uc
find .. -name '*.deb'
find .. -name '*.deb' -exec cp {} "../${AZ_ARTIFACT_NAME}" \;
Expand Down

0 comments on commit 5deaf72

Please sign in to comment.