• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

gap-system / gap / 12284
4%

Build:
DEFAULT BRANCH: master
Ran 07 Oct 2020 09:23PM UTC
Jobs 13
Files 735
Run time 53min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
12284

push

travis-ci-com

fingolfin
julia: avoid access into Julia structs in Julia >= 1.6

We currently access members of various structs provided by Julia (of
type jl_task_t resp. jl_tls_t). This introduces an unwanted binary
dependency on the precise Julia version GAP was compiled against; i.e.
because of these, a binary compiled against Julia 1.3 cannot be used
with Julia 1.5

To avoid this, the Julia folks merged some new APIs:
- `jl_active_task_stack` allows us to avoid access to `task->copy_stack`
- `jl_get_safe_restore` and `jl_set_safe_restore` allow us to avoid
  direct access to `tls->safe_restore`

In order to simultaneously support older and newer Julia versions, we
use two tricks:
- we don't link during compile time against the new APIs; instead we use
  `dlsym` to query at runtime if they are available, and only then call
  them (this introduces as small overhead at the call sites, but this is
  negligible)
- for `task->copy_stack` this is enough as its offset has been unchanged
  between Julia 1.3 and Julia 1.6
- for `tls->safe_restore`, the offset *did* change once between Julia 1.4
  and 1.5. Luckily, the change is the same on all 64 bit platforms: the
  offset shifted by 8. To adjust for that, we compare the Julia version
  used to compile GAP against that which runs GAP to compute a suitable
  offset for adjusting access to `tls->safe_restore`.

21 of 44 new or added lines in 1 file covered. (47.73%)

1 existing line in 1 file now uncovered.

752338 of 802682 relevant lines covered (93.73%)

19044899.7 hits per line

Jobs
ID Job ID Ran Files Coverage
1 12284.1 (CFLAGS="--coverage -O2 -g" CXXFLAGS="--coverage -O2 -g" LDFLAGS="--coverage" CONFIGFLAGS="--enable-debug" COVERALLS_PARALLEL=true TEST_SUITES="docomp teststandard") 07 Oct 2020 09:26PM UTC 0
35.46
Travis Job 12284.1
2 12284.2 (CFLAGS="--coverage -O2 -g" CXXFLAGS="--coverage -O2 -g" LDFLAGS="--coverage" CONFIGFLAGS="--enable-debug" COVERALLS_PARALLEL=true TEST_SUITES="docomp teststandard" ABI=32 CONFIGFLAGS="") 07 Oct 2020 09:23PM UTC 0
35.4
Travis Job 12284.2
3 12284.3 (CFLAGS="--coverage -O2 -g" CXXFLAGS="--coverage -O2 -g" LDFLAGS="--coverage" CONFIGFLAGS="--enable-debug" COVERALLS_PARALLEL=true TEST_SUITES="docomp teststandard" ABI=64 HPCGAP=yes) 07 Oct 2020 09:33PM UTC 0
38.97
Travis Job 12284.3
4 12284.4 (CFLAGS="--coverage -O2 -g" CXXFLAGS="--coverage -O2 -g" LDFLAGS="--coverage" CONFIGFLAGS="--enable-debug" COVERALLS_PARALLEL=true TEST_SUITES="testpackages testinstall-loadall" ABI=64) 07 Oct 2020 09:38PM UTC 0
69.87
Travis Job 12284.4
6 12284.6 (CFLAGS="--coverage -O2 -g" CXXFLAGS="--coverage -O2 -g" LDFLAGS="--coverage" CONFIGFLAGS="--enable-debug" COVERALLS_PARALLEL=true TEST_SUITES="docomp testinstall testspecial test-compile testlibgap testkernel") 07 Oct 2020 09:51PM UTC 0
70.77
Travis Job 12284.6
7 12284.7 (CFLAGS="--coverage -O2 -g" CXXFLAGS="--coverage -O2 -g" LDFLAGS="--coverage" CONFIGFLAGS="--enable-debug" COVERALLS_PARALLEL=true TEST_SUITES=makemanuals) 07 Oct 2020 09:37PM UTC 0
39.38
Travis Job 12284.7
8 12284.8 (CFLAGS="--coverage -O2 -g" CXXFLAGS="--coverage -O2 -g" LDFLAGS="--coverage" CONFIGFLAGS="--enable-debug" COVERALLS_PARALLEL=true TEST_SUITES=testmanuals) 07 Oct 2020 09:47PM UTC 0
88.72
Travis Job 12284.8
9 12284.9 (CFLAGS="--coverage -O2 -g" CXXFLAGS="--coverage -O2 -g" LDFLAGS="--coverage" CONFIGFLAGS="--enable-debug" COVERALLS_PARALLEL=true TEST_SUITES=testbugfix CONFIGFLAGS="--enable-memory-checking") 07 Oct 2020 09:47PM UTC 0
59.77
Travis Job 12284.9
12 12284.12 (CFLAGS="--coverage -O2 -g" CXXFLAGS="--coverage -O2 -g" LDFLAGS="--coverage" CONFIGFLAGS="--enable-debug" COVERALLS_PARALLEL=true TEST_SUITES="testspecial test-compile testlibgap testkernel") 07 Oct 2020 09:54PM UTC 0
49.21
Travis Job 12284.12
13 12284.13 (CFLAGS="--coverage -O2 -g" CXXFLAGS="--coverage -O2 -g" LDFLAGS="--coverage" CONFIGFLAGS="--enable-debug" COVERALLS_PARALLEL=true TEST_SUITES="testinstall" JULIA=yes CONFIGFLAGS="--enable-debug --disable-Werror") 07 Oct 2020 09:55PM UTC 0
69.84
Travis Job 12284.13
14 12284.14 (CFLAGS="--coverage -O2 -g" CXXFLAGS="--coverage -O2 -g" LDFLAGS="--coverage" CONFIGFLAGS="--enable-debug" COVERALLS_PARALLEL=true TEST_SUITES="docomp testinstall") 07 Oct 2020 10:13PM UTC 0
70.08
Travis Job 12284.14
15 12284.15 (CFLAGS="--coverage -O2 -g" CXXFLAGS="--coverage -O2 -g" LDFLAGS="--coverage" CONFIGFLAGS="--enable-debug" COVERALLS_PARALLEL=true TEST_SUITES="docomp testinstall") 07 Oct 2020 10:10PM UTC 0
70.08
Travis Job 12284.15
16 12284.16 (CFLAGS="--coverage -O2 -g" CXXFLAGS="--coverage -O2 -g" LDFLAGS="--coverage" CONFIGFLAGS="--enable-debug" COVERALLS_PARALLEL=true TEST_SUITES="docomp testinstall") 07 Oct 2020 10:08PM UTC 0
70.08
Travis Job 12284.16
Source Files on build 12284
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #12284
  • 022d69ba on github
  • Prev Build on master (#12283)
  • Next Build on master (#12286)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc