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

gap-system / gap / 12284 / 2
4%
master: 4%

Build:
DEFAULT BRANCH: master
Ran 07 Oct 2020 09:23PM UTC
Files 666
Run time 1min
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

07 Oct 2020 08:10PM UTC coverage: 35.4%. Remained the same
CFLAGS="--coverage -O2 -g" CXXFLAGS="--coverage -O2 -g" LDFLAGS="--coverage" CONFIGFLAGS="--enable-debug" COVERALLS_PARALLEL=true TEST_SUITES="docomp teststandard" ABI=32 CONFIGFLAGS=""

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`.

275758 of 778985 relevant lines covered (35.4%)

1999572.36 hits per line

Source Files on job 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="")
  • Tree
  • List 0
  • Changed 70
  • Source Changed 0
  • Coverage Changed 70
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 4083
  • Travis Job 12284.2
  • 022d69ba on github
  • Prev Job for CFLAGS="--coverage -O2 -g" CXXFLAGS="--coverage -O2 -g" LDFLAGS="--coverage" CONFIGFLAGS="--enable-debug" COVERALLS_PARALLEL=true TEST_SUITES="docomp teststandard" ABI=32 CONFIGFLAGS="" on master (#12283.2)
  • Next Job for CFLAGS="--coverage -O2 -g" CXXFLAGS="--coverage -O2 -g" LDFLAGS="--coverage" CONFIGFLAGS="--enable-debug" COVERALLS_PARALLEL=true TEST_SUITES="docomp teststandard" ABI=32 CONFIGFLAGS="" on master (#12286.2)
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