File tree Expand file tree Collapse file tree 2 files changed +2
-18
lines changed Expand file tree Collapse file tree 2 files changed +2
-18
lines changed Original file line number Diff line number Diff line change 4646 - name : Prepare
4747 run : |
4848 ci/scripts/prepare-${{ matrix.os }}.sh ${{ matrix.postgresql-version }}
49- - name : Install Apache Arrow Flight SQL adapter
50- run : |
51- setup_args=(
52- "--prefix=/tmp/local"
53- "-Dbenchmark=true"
54- "-Dpostgresql_dir=$(pg_config --bindir)/.."
55- )
56- if [ ${{ matrix.os }} = "macos" ]; then
57- setup_args+=("--pkg-config-path=$(brew --prefix libpq)/lib/pkgconfig")
58- fi
59- meson setup "${setup_args[@]}" build
60- meson compile -C build
61- if [ ${{ matrix.os }} = "ubuntu" ]; then
62- sudo meson install -C build
63- else
64- meson install -C build
65- fi
6649 - uses : ruby/setup-ruby@v1
6750 with :
6851 ruby-version : ruby
Original file line number Diff line number Diff line change @@ -203,7 +203,7 @@ test_source_distribution() {
203203 fi
204204
205205 meson setup \
206- --prefix=" ${PWD } /install" \
206+ --prefix=" ${ARROW_TMPDIR } /install" \
207207 -Dpostgresql_dir=" $( pg_config --bindir) /.." \
208208 ${ARROW_FLIGHT_SQL_POSTGRESQL_MESON_SETUP_ARGS:- } \
209209 build
@@ -227,6 +227,7 @@ test_source_distribution() {
227227 Linux-/usr/* )
228228 if type sudo > /dev/null 2>&1 ; then
229229 sudo meson install -C build
230+ sudo chown -R " ${USER} :" " ${ARROW_TMPDIR} /install"
230231 else
231232 meson install -C build
232233 fi
You can’t perform that action at this time.
0 commit comments