Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only load bare deps if env var GAP_BARE_DEPS is set #912

Merged
merged 1 commit into from
Jul 28, 2023
Merged

Conversation

fingolfin
Copy link
Member

@fingolfin fingolfin commented Jul 6, 2023

This may or may not become default in a future (breaking) release. But for now it is simply useful for debugging the GAP_pkg_* work at https://github.com/oscar-system/GAP_pkg

@codecov
Copy link

codecov bot commented Jul 6, 2023

Codecov Report

Merging #912 (f5fea8a) into master (8c8b77c) will decrease coverage by 0.02%.
The diff coverage is 60.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #912      +/-   ##
==========================================
- Coverage   75.58%   75.56%   -0.02%     
==========================================
  Files          51       51              
  Lines        4165     4170       +5     
==========================================
+ Hits         3148     3151       +3     
- Misses       1017     1019       +2     
Files Changed Coverage Δ
src/GAP.jl 87.38% <50.00%> (-0.69%) ⬇️
gap/systemfile.g 94.44% <66.66%> (-5.56%) ⬇️

@@ -286,6 +286,9 @@ function __init__()
push!(cmdline_options, "-b")
end

if haskey(ENV, "GAP_BARE_DEPS")
push!(cmdline_options, "-A")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had expected that push!(cmdline_options, "--bare") would be enough, that is, the change in gap/systemfile.g would not be necessary. However, apparently then loading JuliaInterface causes problems. Thus the proposed changes seem to be a good solution for the moment.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I first tried --bare, too, but then it didn't load JuliaInterface either. Hence this solution now. (Besides, we still might want to always load e.g. GAPDoc... well, we definitely will want to load it and also smallgrp, transgrp, primgrap and a bunch more in Oscar.)

@fingolfin fingolfin merged commit 3623cee into master Jul 28, 2023
@fingolfin fingolfin deleted the mh/bare branch July 28, 2023 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants