зеркало из https://github.com/github/ruby.git
Make directory for shared-GC libraries at build
This commit is contained in:
Родитель
9d60480094
Коммит
5139a574aa
|
@ -35,7 +35,6 @@ jobs:
|
||||||
configure: '--enable-shared --enable-load-relative'
|
configure: '--enable-shared --enable-load-relative'
|
||||||
- test_task: check
|
- test_task: check
|
||||||
shared_gc: true
|
shared_gc: true
|
||||||
shared_gc_dir: '/home/runner/ruby_gc'
|
|
||||||
configure: '--with-shared-gc=/home/runner/ruby_gc'
|
configure: '--with-shared-gc=/home/runner/ruby_gc'
|
||||||
- test_task: test-bundler-parallel
|
- test_task: test-bundler-parallel
|
||||||
timeout: 50
|
timeout: 50
|
||||||
|
@ -99,9 +98,8 @@ jobs:
|
||||||
if: ${{ matrix.test_task == 'test-bundled-gems' }}
|
if: ${{ matrix.test_task == 'test-bundled-gems' }}
|
||||||
|
|
||||||
- name: Build shared GC
|
- name: Build shared GC
|
||||||
run: >
|
run: |
|
||||||
echo "RUBY_GC_LIBRARY=librubygc.default.so" >> $GITHUB_ENV &&
|
echo "RUBY_GC_LIBRARY=librubygc.default.so" >> $GITHUB_ENV
|
||||||
mkdir ${{ matrix.shared_gc_dir }} &&
|
|
||||||
make shared-gc SHARED_GC=default
|
make shared-gc SHARED_GC=default
|
||||||
if: ${{ matrix.shared_gc }}
|
if: ${{ matrix.shared_gc }}
|
||||||
|
|
||||||
|
|
|
@ -1914,8 +1914,9 @@ shared-gc: probes.h
|
||||||
exit 1; \
|
exit 1; \
|
||||||
else \
|
else \
|
||||||
echo generating $(shared_gc_dir)librubygc.$(SHARED_GC).$(SOEXT); \
|
echo generating $(shared_gc_dir)librubygc.$(SHARED_GC).$(SOEXT); \
|
||||||
$(LDSHARED) -I$(srcdir)/include -I$(srcdir) -I$(arch_hdrdir) $(XDLDFLAGS) $(cflags) -DBUILDING_SHARED_GC -fPIC -o $(shared_gc_dir)librubygc.$(SHARED_GC).$(SOEXT) $(srcdir)/gc/$(SHARED_GC).c; \
|
|
||||||
fi
|
fi
|
||||||
|
$(Q) $(MAKEDIRS) $(shared_gc_dir)
|
||||||
|
$(Q) $(LDSHARED) -I$(srcdir)/include -I$(srcdir) -I$(arch_hdrdir) $(XDLDFLAGS) $(cflags) -DBUILDING_SHARED_GC -fPIC -o $(shared_gc_dir)librubygc.$(SHARED_GC).$(SOEXT) $(srcdir)/gc/$(SHARED_GC).c
|
||||||
|
|
||||||
help: PHONY
|
help: PHONY
|
||||||
$(MESSAGE_BEGIN) \
|
$(MESSAGE_BEGIN) \
|
||||||
|
|
Загрузка…
Ссылка в новой задаче