mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
fix(ruby3.1)
make -j X breaks the linux build for some reason closes #6259 closes #5959
This commit is contained in:
parent
c9f6adaff7
commit
5a519b0da5
|
@ -37,7 +37,14 @@ build:
|
||||||
if: linux
|
if: linux
|
||||||
working-directory: include/ruby/internal/attr
|
working-directory: include/ruby/internal/attr
|
||||||
|
|
||||||
- make --jobs {{hw.concurrency}} install
|
# ^3.1.4 can't find rubygems without help on linux
|
||||||
|
- run: |
|
||||||
|
if test "{{hw.platform}}" = "linux"; then
|
||||||
|
sed -i "s_^RUBYLIB.*=.*\$_RUBYLIB = ${RUBYLIB}_" uncommon.mk
|
||||||
|
fi
|
||||||
|
if: '>=3.1.4<3.2'
|
||||||
|
|
||||||
|
- make install
|
||||||
|
|
||||||
# we provide these as `rubygems.org`
|
# we provide these as `rubygems.org`
|
||||||
- run: rm -f bundle bundler gem
|
- run: rm -f bundle bundler gem
|
||||||
|
@ -77,7 +84,7 @@ build:
|
||||||
working-directory: ${{prefix}}/lib
|
working-directory: ${{prefix}}/lib
|
||||||
if: '>=2.6'
|
if: '>=2.6'
|
||||||
|
|
||||||
- run: sed -i.bak
|
- run: sed -i
|
||||||
-e 's|$(DESTDIR){{prefix}}|$(topdir)|g'
|
-e 's|$(DESTDIR){{prefix}}|$(topdir)|g'
|
||||||
-e 's|CONFIG\["topdir"\] = .*|CONFIG\["topdir"\] = TOPDIR|g'
|
-e 's|CONFIG\["topdir"\] = .*|CONFIG\["topdir"\] = TOPDIR|g'
|
||||||
-e 's|CONFIG\["INSTALL"\] =.*|CONFIG\["INSTALL"\] = "/usr/bin/install"|g'
|
-e 's|CONFIG\["INSTALL"\] =.*|CONFIG\["INSTALL"\] = "/usr/bin/install"|g'
|
||||||
|
@ -98,6 +105,7 @@ build:
|
||||||
- --with-vendorarchdir=no # ^^
|
- --with-vendorarchdir=no # ^^
|
||||||
- --with-sitearchdir=no # ^^
|
- --with-sitearchdir=no # ^^
|
||||||
- --enable-yjit # https://github.com/pkgxdev/pantry/issues/3538
|
- --enable-yjit # https://github.com/pkgxdev/pantry/issues/3538
|
||||||
|
- --disable-install-doc
|
||||||
|
|
||||||
test:
|
test:
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
Loading…
Reference in a new issue