Mercurial > hg > orthanc-book
comparison Sphinx/source/faq/compiling.rst @ 262:3391edf37359
note for packagers
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 06 Aug 2019 09:51:59 +0200 |
parents | 329bcab46f5e |
children | d217af5e6cb3 |
comparison
equal
deleted
inserted
replaced
261:857f4870fd7f | 262:3391edf37359 |
---|---|
8 | 8 |
9 * Orthanc >= 0.7.1: See the `build instructions | 9 * Orthanc >= 0.7.1: See the `build instructions |
10 <https://bitbucket.org/sjodogne/orthanc/src/default/LinuxCompilation.txt>`_ | 10 <https://bitbucket.org/sjodogne/orthanc/src/default/LinuxCompilation.txt>`_ |
11 inside the source package. | 11 inside the source package. |
12 * Orthanc <= 0.7.0: See the :ref:`compiling-old`. | 12 * Orthanc <= 0.7.0: See the :ref:`compiling-old`. |
13 | |
14 **Note for packagers:** As explained :ref:`below on this page | |
15 <compiling-infrastructure>`, the CMake scripts of Orthanc and its | |
16 associated plugins may have to download the source code of third-party | |
17 dependencies. This is an undesirable feature if packaging Orthanc for | |
18 some GNU/Linux distribution, as network connections are forbidden in | |
19 such situations to enable reproducible builds. To prevent the CMake | |
20 scripts to download from Internet, package maintainers can manually | |
21 download third-party dependencies by themselves (by checking what is | |
22 downloaded by CMake during a fresh build), then put them in a | |
23 subfolder named ``ThirdPartyDownloads/`` in the same folder as the | |
24 ``CMakeLists.txt`` file of the project. If the third-party packages | |
25 are already in that subfolder, the CMake script will not try and | |
26 download them from Internet. | |
27 | |
13 | 28 |
14 Under Microsoft Windows | 29 Under Microsoft Windows |
15 ----------------------- | 30 ----------------------- |
16 | 31 |
17 See the `build instructions for Windows | 32 See the `build instructions for Windows |
36 <https://en.wikipedia.org/wiki/Assertion_(software_development)#Assertions_for_run-time_checking>`_ | 51 <https://en.wikipedia.org/wiki/Assertion_(software_development)#Assertions_for_run-time_checking>`_ |
37 are enabled, which can seriously impact performance, especially if | 52 are enabled, which can seriously impact performance, especially if |
38 your Orthanc server stores a lot of DICOM instances. | 53 your Orthanc server stores a lot of DICOM instances. |
39 | 54 |
40 | 55 |
56 | |
57 .. _compiling-infrastructure: | |
41 | 58 |
42 Please explain the build infrastructure | 59 Please explain the build infrastructure |
43 --------------------------------------- | 60 --------------------------------------- |
44 | 61 |
45 The build infrastructure of Orthanc is based upon `CMake | 62 The build infrastructure of Orthanc is based upon `CMake |