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

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

Build:
DEFAULT BRANCH: master
Ran 07 Oct 2020 09:55PM UTC
Files 653
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: 69.843%. First build
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"

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

214404 of 306980 relevant lines covered (69.84%)

1574456.76 hits per line

Source Files on job 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")
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 4083
  • Travis Job 12284.13
  • 022d69ba on github
  • Next Job for 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" on master (#12286.13)
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