Skip to content

Commit

Permalink
Now trying to reduce the amount of time for make docs (Under Constr…
Browse files Browse the repository at this point in the history
…uction)
  • Loading branch information
alicegawa committed Dec 14, 2020
1 parent 232c467 commit bb61478
Show file tree
Hide file tree
Showing 2 changed files with 470 additions and 468 deletions.
3 changes: 2 additions & 1 deletion Make.inc
Original file line number Diff line number Diff line change
Expand Up @@ -1430,7 +1430,8 @@ endif
endif

JULIA_EXECUTABLE_debug := $(build_bindir)/julia-debug$(EXE)
JULIA_EXECUTABLE_release := $(build_bindir)/julia$(EXE)
# JULIA_EXECUTABLE_release := $(build_bindir)/julia$(EXE)
JULIA_EXECUTABLE_release := /opt/julia-1.5.3/bin/julia$(EXE)
JULIA_EXECUTABLE := $(JULIA_EXECUTABLE_$(JULIA_BUILD_MODE))

JULIA_SYSIMG_debug := $(build_private_libdir)/sys-debug.$(SHLIB_EXT)
Expand Down
Loading

4 comments on commit bb61478

@alicegawa
Copy link
Contributor Author

@alicegawa alicegawa commented on bb61478 Dec 14, 2020

Choose a reason for hiding this comment

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

以下のようなWarningが出ている.Warningを吐いているファイルは変更前make docsを実行した場合と行数が違うことを確認(本家のものをcloneしてmake docsした結果と目視確認).前提としているビルドをしていないことが原因?

┌ Warning: invalid local link: unresolved path in base/arrays.md
│ link.text =
│ 1-element Array{Any,1}:
│ Markdown.Code("", "^")
│ link.url = "math.html#Base.:^-Tuple{Number,Number}"
└ @ Documenter.Writers.HTMLWriter ~/workspace/github/julia-doc-ja/doc/deps/packages/Documenter/bRylW/src/Writers/HTMLWriter.jl:1725
┌ Warning: invalid local link: unresolved path in base/arrays.md
│ link.text =
│ 1-element Array{Any,1}:
│ Markdown.Code("", "c^r")
│ link.url = "math.html#Base.:^-Tuple{Number,Number}"
└ @ Documenter.Writers.HTMLWriter ~/workspace/github/julia-doc-ja/doc/deps/packages/Documenter/bRylW/src/Writers/HTMLWriter.jl:1725
┌ Warning: invalid local link: unresolved path in base/base.md
│ link.text =
│ 1-element Array{Any,1}:
│ Markdown.Code("", "one")
│ link.url = "../base/numbers.html#Base.one"
└ @ Documenter.Writers.HTMLWriter ~/workspace/github/julia-doc-ja/doc/deps/packages/Documenter/bRylW/src/Writers/HTMLWriter.jl:1725
┌ Warning: invalid local link: unresolved path in base/base.md
│ link.text =
│ 1-element Array{Any,1}:
│ Markdown.Code("", "Float64")
│ link.url = "../base/numbers.html#Core.Float64"
└ @ Documenter.Writers.HTMLWriter ~/workspace/github/julia-doc-ja/doc/deps/packages/Documenter/bRylW/src/Writers/HTMLWriter.jl:

@alicegawa
Copy link
Contributor Author

Choose a reason for hiding this comment

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

あと,以下は相変わらず出る.docの中で取得している箇所を変えるべきかもしれない(要調査)

Building HTML documentation.
Installing known registries into ~/workspace/github/julia-doc-ja/doc/deps
######################################################################## 100.0%
Added registry General to ~/workspace/github/julia-doc-ja/doc/deps/registries/General
Installed JSON ──────────────── v0.21.0
Installed Documenter ────────── v0.25.1
Installed DocumenterLaTeX ───── v0.2.0
Installed Parsers ───────────── v1.0.10
Installed DocStringExtensions ─ v0.8.2

@alicegawa
Copy link
Contributor Author

@alicegawa alicegawa commented on bb61478 Dec 14, 2020

Choose a reason for hiding this comment

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

julia-depsを前提→x
julia-stdlibを前提→x
julia.1を前提→x
julia-baseを前提→x
julia-ui-release→x
julia-sysimg-ji→x
julia-sysimg-release→x

どうやら前提でビルドするやつの問題じゃないっぽい

@m0ch1m0ch1
Copy link
Member

Choose a reason for hiding this comment

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

以下のようなWarningが出ている.Warningを吐いているファイルは変更前make docsを実行した場合と行数が違うことを確認(本家のものをcloneしてmake docsした結果と目視確認).前提としているビルドをしていないことが原因?

┌ Warning: invalid local link: unresolved path in base/arrays.md
│ link.text =
│ 1-element Array{Any,1}:
│ Markdown.Code("", "^")
│ link.url = "math.html#Base.:^-Tuple{Number,Number}"
└ @ Documenter.Writers.HTMLWriter ~/workspace/github/julia-doc-ja/doc/deps/packages/Documenter/bRylW/src/Writers/HTMLWriter.jl:1725
┌ Warning: invalid local link: unresolved path in base/arrays.md
│ link.text =
│ 1-element Array{Any,1}:
│ Markdown.Code("", "c^r")
│ link.url = "math.html#Base.:^-Tuple{Number,Number}"
└ @ Documenter.Writers.HTMLWriter ~/workspace/github/julia-doc-ja/doc/deps/packages/Documenter/bRylW/src/Writers/HTMLWriter.jl:1725
┌ Warning: invalid local link: unresolved path in base/base.md
│ link.text =
│ 1-element Array{Any,1}:
│ Markdown.Code("", "one")
│ link.url = "../base/numbers.html#Base.one"
└ @ Documenter.Writers.HTMLWriter ~/workspace/github/julia-doc-ja/doc/deps/packages/Documenter/bRylW/src/Writers/HTMLWriter.jl:1725
┌ Warning: invalid local link: unresolved path in base/base.md
│ link.text =
│ 1-element Array{Any,1}:
│ Markdown.Code("", "Float64")
│ link.url = "../base/numbers.html#Core.Float64"
└ @ Documenter.Writers.HTMLWriter ~/workspace/github/julia-doc-ja/doc/deps/packages/Documenter/bRylW/src/Writers/HTMLWriter.jl:

JuliaLang/julia#35693
JuliaLang/julia#36376
JuliaDocs/Documenter.jl#505
makeの問題じゃないっぽい.

Please sign in to comment.