Skip to content

Commit

Permalink
Force generic everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
fivegrant committed Feb 26, 2024
1 parent fbf52cf commit 5ebad0f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = "6.3.0"
version = "7.0.0"

[deps]
ACSets = "227ef7b5-1206-438b-ac65-934d6da304b8"
Expand Down
8 changes: 4 additions & 4 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ RUN apt update && \

ENV JULIA_DEPOT_PATH=/usr/local/julia
ENV JULIA_PROJECT=/
ENV JULIA_CPU_TARGET=native;tigerlake
ENV JULIA_CPU_TARGET=generic

WORKDIR /
COPY Project.toml Manifest.toml /
RUN julia -e 'using Pkg; Pkg.instantiate()'
RUN JULIA_CPU_TARGET=generic julia -e 'using Pkg; Pkg.instantiate()'
COPY install.jl precompile.jl /
RUN ./install.jl docker && \
RUN JULIA_CPU_TARGET=generic ./install.jl docker && \
julia -e 'using Pkg; using IJulia; IJulia.installkernel("Julia ASKEM"; julia=`julia --project=/ --threads=4`)'
RUN julia --project=/ -e 'using Decapodes' # Force no precompile
RUN JULIA_CPU_TARGET=generic julia --project=/ -e 'using Decapodes' # Force no precompile

EXPOSE 8888
EXPOSE 1234
Expand Down

0 comments on commit 5ebad0f

Please sign in to comment.