Skip to content

Commit

Permalink
Cleanup: remove ppc64le conditionals
Browse files Browse the repository at this point in the history
- also removes `src/config/config.*` which were used in the case of `ppc64le`
  • Loading branch information
aramprice committed Dec 9, 2024
1 parent 18d3115 commit f930719
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 3,268 deletions.
4 changes: 0 additions & 4 deletions packages/director/packaging
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@ gem 'mysql2'
gem 'pg'
EOF

if [ "`uname -m`" == "ppc64le" ]; then
bundle config build.nokogiri '--use-system-libraries'
fi

bundle config build.mysql2 \
--with-mysql-config=$mysqlclient_dir/bin/mariadb_config-wrapper.sh

Expand Down
4 changes: 0 additions & 4 deletions packages/health_monitor/packaging
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@ pushd bosh-monitor/ > /dev/null
mv *.gem ../vendor/cache
popd > /dev/null

if [ "`uname -m`" == "ppc64le" ]; then
bundle config build.nokogiri '--use-system-libraries'
fi

bosh_bundle_local

cp Gemfile ${BOSH_INSTALL_TARGET}
Expand Down
4 changes: 0 additions & 4 deletions packages/libpq/packaging
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ set -e
tar xzf postgres/postgresql-*.tar.gz
cd postgresql-*

if [ "`uname -m`" == "ppc64le" ]; then
cp ${BOSH_COMPILE_TARGET}/config/config.{guess,sub} ./config
fi

./configure --with-openssl --prefix=$BOSH_INSTALL_TARGET
cp -R src/include $BOSH_INSTALL_TARGET
cd src/interfaces/libpq
Expand Down
2 changes: 0 additions & 2 deletions packages/libpq/spec
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,3 @@
name: libpq
files:
- postgres/postgresql-10.*.tar.gz
- config/config.guess
- config/config.sub
4 changes: 0 additions & 4 deletions packages/nats/packaging
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@ pushd bosh-nats-sync/ > /dev/null
mv *.gem ../vendor/cache
popd > /dev/null

if [ "`uname -m`" == "ppc64le" ]; then
bundle config build.nokogiri '--use-system-libraries'
fi

bosh_bundle_local

cp Gemfile ${BOSH_INSTALL_TARGET}
Expand Down
Loading

0 comments on commit f930719

Please sign in to comment.