Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 413476 Details for
Bug 562008
=sys-devel/llvm-3.7.0[-doc,ocaml] fails during install phase due to missing directory docs/ocamldoc/html
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
tentative patch
llvm-ocamldoc.patch (text/plain), 3.05 KB, created by
Olivier Huber
on 2015-10-02 02:16:08 UTC
(
hide
)
Description:
tentative patch
Filename:
MIME Type:
Creator:
Olivier Huber
Created:
2015-10-02 02:16:08 UTC
Size:
3.05 KB
patch
obsolete
>--- docs/CMakeLists.txt.orig 2015-10-01 21:04:10.740652766 -0500 >+++ docs/CMakeLists.txt 2015-10-01 21:05:14.522654395 -0500 >@@ -114,45 +114,47 @@ > endif() > endif() > >-list(FIND LLVM_BINDINGS_LIST ocaml uses_ocaml) >-if( NOT uses_ocaml LESS 0 ) >- set(doc_targets >- ocaml_llvm >- ocaml_llvm_all_backends >- ocaml_llvm_analysis >- ocaml_llvm_bitreader >- ocaml_llvm_bitwriter >- ocaml_llvm_executionengine >- ocaml_llvm_irreader >- ocaml_llvm_linker >- ocaml_llvm_target >- ocaml_llvm_ipo >- ocaml_llvm_passmgr_builder >- ocaml_llvm_scalar_opts >- ocaml_llvm_transform_utils >- ocaml_llvm_vectorize >- ) >- >- foreach(llvm_target ${LLVM_TARGETS_TO_BUILD}) >- list(APPEND doc_targets ocaml_llvm_${llvm_target}) >- endforeach() >- >- set(odoc_files) >- foreach( doc_target ${doc_targets} ) >- get_target_property(odoc_file ${doc_target} OCAML_ODOC) >- list(APPEND odoc_files -load ${odoc_file}) >- endforeach() >- >- add_custom_target(ocaml_doc >- COMMAND ${CMAKE_COMMAND} -E remove_directory ${CMAKE_CURRENT_BINARY_DIR}/ocamldoc/html >- COMMAND ${CMAKE_COMMAND} -E make_directory ${CMAKE_CURRENT_BINARY_DIR}/ocamldoc/html >- COMMAND ${OCAMLFIND} ocamldoc -d ${CMAKE_CURRENT_BINARY_DIR}/ocamldoc/html >- -sort -colorize-code -html ${odoc_files}) >- >- add_dependencies(ocaml_doc ${doc_targets}) >- >- if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY) >- install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/ocamldoc/html >- DESTINATION docs/ocaml/html) >+if(LLVM_ENABLE_OCAMLDOC) >+ list(FIND LLVM_BINDINGS_LIST ocaml uses_ocaml) >+ if( NOT uses_ocaml LESS 0 ) >+ set(doc_targets >+ ocaml_llvm >+ ocaml_llvm_all_backends >+ ocaml_llvm_analysis >+ ocaml_llvm_bitreader >+ ocaml_llvm_bitwriter >+ ocaml_llvm_executionengine >+ ocaml_llvm_irreader >+ ocaml_llvm_linker >+ ocaml_llvm_target >+ ocaml_llvm_ipo >+ ocaml_llvm_passmgr_builder >+ ocaml_llvm_scalar_opts >+ ocaml_llvm_transform_utils >+ ocaml_llvm_vectorize >+ ) >+ >+ foreach(llvm_target ${LLVM_TARGETS_TO_BUILD}) >+ list(APPEND doc_targets ocaml_llvm_${llvm_target}) >+ endforeach() >+ >+ set(odoc_files) >+ foreach( doc_target ${doc_targets} ) >+ get_target_property(odoc_file ${doc_target} OCAML_ODOC) >+ list(APPEND odoc_files -load ${odoc_file}) >+ endforeach() >+ >+ add_custom_target(ocaml_doc >+ COMMAND ${CMAKE_COMMAND} -E remove_directory ${CMAKE_CURRENT_BINARY_DIR}/ocamldoc/html >+ COMMAND ${CMAKE_COMMAND} -E make_directory ${CMAKE_CURRENT_BINARY_DIR}/ocamldoc/html >+ COMMAND ${OCAMLFIND} ocamldoc -d ${CMAKE_CURRENT_BINARY_DIR}/ocamldoc/html >+ -sort -colorize-code -html ${odoc_files}) >+ >+ add_dependencies(ocaml_doc ${doc_targets}) >+ >+ if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY) >+ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/ocamldoc/html >+ DESTINATION docs/ocaml/html) >+ endif() > endif() >-endif() >+endif(LLVM_ENABLE_OCAMLDOC)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 562008
: 413476