Skip to content

Commit

Permalink
Pkg.develop of a cloned pacakge does not trigger Pkg.build
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamed-barakat committed Oct 30, 2024
1 parent 5dc1d75 commit a12b89a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,8 @@ RUN sed -i '/GAP = "0.7/d' .julia/dev/CapAndHomalg/Project.toml

# installation and cleaning has to happen in the some step or we will not get any saving due to the layering system
# use CPU target "generic" to avoid recompilation on different x86_64 CPUs
RUN julia --cpu-target "generic" -e 'using Pkg; Pkg.add("IJulia"); Pkg.develop("GAP"); Pkg.develop("CapAndHomalg");'; bash clean_gap_packages.sh
# Pkg.develop of a cloned pacakge does not trigger Pkg.build (see: https://github.com/JuliaLang/Pkg.jl/issues/4068)
RUN julia --cpu-target "generic" -e 'using Pkg; Pkg.add("IJulia"); Pkg.develop("GAP"); Pkg.build("GAP"); Pkg.develop("CapAndHomalg"); Pkg.build("CapAndHomalg");'; bash clean_gap_packages.sh

# Start from a BASH shell.
CMD ["bash"]

0 comments on commit a12b89a

Please sign in to comment.