Read the Docs build information Build id: 1540281 Project: advanced-micro-devices-hipfort Version: docs-5.2.1 Commit: f637de6342ec29d6cb77a0ce746a554c54b45dd1 Date: 2023-06-15T15:14:48.351098Z State: cancelled Success: False [rtd-command-info] start-time: 2023-06-15T16:40:14.340975Z, end-time: 2023-06-15T16:40:21.419974Z, duration: 7, exit-code: 0 git clone --no-single-branch --depth 50 https://github.com/ROCmSoftwarePlatform/hipfort.git . Cloning into '.'... [rtd-command-info] start-time: 2023-06-15T16:40:21.624068Z, end-time: 2023-06-15T16:40:21.925758Z, duration: 0, exit-code: 0 git checkout --force origin/docs/5.2.1 Note: switching to 'origin/docs/5.2.1'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at f637de63 Documentation update for Read the Docs [rtd-command-info] start-time: 2023-06-15T16:40:22.300658Z, end-time: 2023-06-15T16:40:22.388512Z, duration: 0, exit-code: 0 git clean -d -f -f [rtd-command-info] start-time: 2023-06-15T16:40:23.673224Z, end-time: 2023-06-15T16:40:27.622252Z, duration: 3, exit-code: 0 apt-get update --assume-yes --quiet Get:1 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB] Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease Get:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB] Get:4 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [1060 kB] Get:5 http://archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB] Get:6 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [31.2 kB] Get:7 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [3260 kB] Get:8 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 Packages [28.5 kB] Get:9 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [2781 kB] Get:10 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [2352 kB] Get:11 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1356 kB] Get:12 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [2490 kB] Get:13 http://archive.ubuntu.com/ubuntu focal-backports/universe amd64 Packages [28.6 kB] Get:14 http://archive.ubuntu.com/ubuntu focal-backports/main amd64 Packages [55.2 kB] Fetched 13.8 MB in 2s (6277 kB/s) Reading package lists... [rtd-command-info] start-time: 2023-06-15T16:40:28.029802Z, end-time: 2023-06-15T16:40:47.449130Z, duration: 19, exit-code: 0 apt-get install --assume-yes --quiet -- doxygen gfortran graphviz Reading package lists... Building dependency tree... Reading state information... doxygen is already the newest version (1.8.17-0ubuntu2). The following additional packages will be installed: cpp-9 fonts-liberation g++-9 gcc-9 gcc-9-base gfortran-9 libann0 libasan5 libgcc-9-dev libgfortran-9-dev libgfortran5 libstdc++-9-dev Suggested packages: gcc-9-locales g++-9-multilib gcc-9-doc gcc-9-multilib gfortran-multilib gfortran-doc gfortran-9-multilib gfortran-9-doc libcoarrays-dev graphviz-doc libstdc++-9-doc The following NEW packages will be installed: fonts-liberation gfortran gfortran-9 graphviz libann0 libgfortran-9-dev libgfortran5 The following packages will be upgraded: cpp-9 g++-9 gcc-9 gcc-9-base libasan5 libgcc-9-dev libstdc++-9-dev 7 upgraded, 7 newly installed, 0 to remove and 275 not upgraded. Need to get 41.8 MB of archives. After this operation, 55.2 MB of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libasan5 amd64 9.4.0-1ubuntu1~20.04.1 [2751 kB] Get:2 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 g++-9 amd64 9.4.0-1ubuntu1~20.04.1 [8420 kB] Get:3 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 gcc-9 amd64 9.4.0-1ubuntu1~20.04.1 [8274 kB] Get:4 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libstdc++-9-dev amd64 9.4.0-1ubuntu1~20.04.1 [1722 kB] Get:5 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libgcc-9-dev amd64 9.4.0-1ubuntu1~20.04.1 [2359 kB] Get:6 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 cpp-9 amd64 9.4.0-1ubuntu1~20.04.1 [7500 kB] Get:7 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 gcc-9-base amd64 9.4.0-1ubuntu1~20.04.1 [19.4 kB] Get:8 http://archive.ubuntu.com/ubuntu focal/main amd64 fonts-liberation all 1:1.07.4-11 [822 kB] Get:9 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libgfortran5 amd64 10.3.0-1ubuntu1~20.04 [736 kB] Get:10 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libgfortran-9-dev amd64 9.4.0-1ubuntu1~20.04.1 [685 kB] Get:11 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 gfortran-9 amd64 9.4.0-1ubuntu1~20.04.1 [7936 kB] Get:12 http://archive.ubuntu.com/ubuntu focal/main amd64 gfortran amd64 4:9.3.0-1ubuntu2 [1372 B] Get:13 http://archive.ubuntu.com/ubuntu focal/universe amd64 libann0 amd64 1.1.2+doc-7build1 [26.0 kB] Get:14 http://archive.ubuntu.com/ubuntu focal/universe amd64 graphviz amd64 2.42.2-3build2 [590 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 41.8 MB in 6s (7578 kB/s) (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 262057 files and directories currently installed.) Preparing to unpack .../00-libasan5_9.4.0-1ubuntu1~20.04.1_amd64.deb ... Unpacking libasan5:amd64 (9.4.0-1ubuntu1~20.04.1) over (9.3.0-17ubuntu1~20.04) ... Preparing to unpack .../01-g++-9_9.4.0-1ubuntu1~20.04.1_amd64.deb ... Unpacking g++-9 (9.4.0-1ubuntu1~20.04.1) over (9.3.0-17ubuntu1~20.04) ... Preparing to unpack .../02-gcc-9_9.4.0-1ubuntu1~20.04.1_amd64.deb ... Unpacking gcc-9 (9.4.0-1ubuntu1~20.04.1) over (9.3.0-17ubuntu1~20.04) ... Preparing to unpack .../03-libstdc++-9-dev_9.4.0-1ubuntu1~20.04.1_amd64.deb ... Unpacking libstdc++-9-dev:amd64 (9.4.0-1ubuntu1~20.04.1) over (9.3.0-17ubuntu1~20.04) ... Preparing to unpack .../04-libgcc-9-dev_9.4.0-1ubuntu1~20.04.1_amd64.deb ... Unpacking libgcc-9-dev:amd64 (9.4.0-1ubuntu1~20.04.1) over (9.3.0-17ubuntu1~20.04) ... Preparing to unpack .../05-cpp-9_9.4.0-1ubuntu1~20.04.1_amd64.deb ... Unpacking cpp-9 (9.4.0-1ubuntu1~20.04.1) over (9.3.0-17ubuntu1~20.04) ... Preparing to unpack .../06-gcc-9-base_9.4.0-1ubuntu1~20.04.1_amd64.deb ... Unpacking gcc-9-base:amd64 (9.4.0-1ubuntu1~20.04.1) over (9.3.0-17ubuntu1~20.04) ... Selecting previously unselected package fonts-liberation. Preparing to unpack .../07-fonts-liberation_1%3a1.07.4-11_all.deb ... Unpacking fonts-liberation (1:1.07.4-11) ... Selecting previously unselected package libgfortran5:amd64. Preparing to unpack .../08-libgfortran5_10.3.0-1ubuntu1~20.04_amd64.deb ... Unpacking libgfortran5:amd64 (10.3.0-1ubuntu1~20.04) ... Selecting previously unselected package libgfortran-9-dev:amd64. Preparing to unpack .../09-libgfortran-9-dev_9.4.0-1ubuntu1~20.04.1_amd64.deb ... Unpacking libgfortran-9-dev:amd64 (9.4.0-1ubuntu1~20.04.1) ... Selecting previously unselected package gfortran-9. Preparing to unpack .../10-gfortran-9_9.4.0-1ubuntu1~20.04.1_amd64.deb ... Unpacking gfortran-9 (9.4.0-1ubuntu1~20.04.1) ... Selecting previously unselected package gfortran. Preparing to unpack .../11-gfortran_4%3a9.3.0-1ubuntu2_amd64.deb ... Unpacking gfortran (4:9.3.0-1ubuntu2) ... Selecting previously unselected package libann0. Preparing to unpack .../12-libann0_1.1.2+doc-7build1_amd64.deb ... Unpacking libann0 (1.1.2+doc-7build1) ... Selecting previously unselected package graphviz. Preparing to unpack .../13-graphviz_2.42.2-3build2_amd64.deb ... Unpacking graphviz (2.42.2-3build2) ... Setting up libann0 (1.1.2+doc-7build1) ... Setting up libgfortran5:amd64 (10.3.0-1ubuntu1~20.04) ... Setting up fonts-liberation (1:1.07.4-11) ... Setting up gcc-9-base:amd64 (9.4.0-1ubuntu1~20.04.1) ... Setting up graphviz (2.42.2-3build2) ... Setting up libasan5:amd64 (9.4.0-1ubuntu1~20.04.1) ... Setting up cpp-9 (9.4.0-1ubuntu1~20.04.1) ... Setting up libgcc-9-dev:amd64 (9.4.0-1ubuntu1~20.04.1) ... Setting up gcc-9 (9.4.0-1ubuntu1~20.04.1) ... Setting up libstdc++-9-dev:amd64 (9.4.0-1ubuntu1~20.04.1) ... Setting up libgfortran-9-dev:amd64 (9.4.0-1ubuntu1~20.04.1) ... Setting up g++-9 (9.4.0-1ubuntu1~20.04.1) ... Setting up gfortran-9 (9.4.0-1ubuntu1~20.04.1) ... Setting up gfortran (4:9.3.0-1ubuntu2) ... update-alternatives: using /usr/bin/gfortran to provide /usr/bin/f95 (f95) in auto mode update-alternatives: warning: skip creation of /usr/share/man/man1/f95.1.gz because associated file /usr/share/man/man1/gfortran.1.gz (of link group f95) doesn't exist update-alternatives: using /usr/bin/gfortran to provide /usr/bin/f77 (f77) in auto mode update-alternatives: warning: skip creation of /usr/share/man/man1/f77.1.gz because associated file /usr/share/man/man1/gfortran.1.gz (of link group f77) doesn't exist Processing triggers for libc-bin (2.31-0ubuntu9.2) ... Processing triggers for fontconfig (2.13.1-2ubuntu3) ... [rtd-command-info] start-time: 2023-06-15T16:40:54.170822Z, end-time: 2023-06-15T16:40:54.298663Z, duration: 0, exit-code: 0 asdf global python 3.8.15 [rtd-command-info] start-time: 2023-06-15T16:40:55.001644Z, end-time: 2023-06-15T16:40:56.775695Z, duration: 1, exit-code: 0 python -mvirtualenv $READTHEDOCS_VIRTUALENV_PATH created virtual environment CPython3.8.15.final.0-64 in 1270ms creator CPython3Posix(dest=/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-hipfort/envs/docs-5.2.1, clear=False, no_vcs_ignore=False, global=False) seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/home/docs/.local/share/virtualenv) added seed packages: pip==21.2.3, setuptools==57.4.0, wheel==0.37.0 activators BashActivator,CShellActivator,FishActivator,PowerShellActivator,PythonActivator [rtd-command-info] start-time: 2023-06-15T16:40:57.094555Z, end-time: 2023-06-15T16:41:15.590301Z, duration: 18, exit-code: 0 python -m pip install --upgrade --no-cache-dir pip setuptools Requirement already satisfied: pip in /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-hipfort/envs/docs-5.2.1/lib/python3.8/site-packages (21.2.3) Collecting pip Downloading pip-23.1.2-py3-none-any.whl (2.1 MB) Requirement already satisfied: setuptools in /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-hipfort/envs/docs-5.2.1/lib/python3.8/site-packages (57.4.0) Collecting setuptools Downloading setuptools-67.8.0-py3-none-any.whl (1.1 MB) Installing collected packages: setuptools, pip Attempting uninstall: setuptools Found existing installation: setuptools 57.4.0 Uninstalling setuptools-57.4.0: Successfully uninstalled setuptools-57.4.0 Attempting uninstall: pip Found existing installation: pip 21.2.3 Uninstalling pip-21.2.3: Successfully uninstalled pip-21.2.3 Successfully installed pip-23.1.2 setuptools-67.8.0 [rtd-command-info] start-time: 2023-06-15T16:41:15.962204Z, end-time: 2023-06-15T16:41:29.327891Z, duration: 13, exit-code: 0 python -m pip install --upgrade --no-cache-dir pillow mock==1.0.1 alabaster>=0.7,<0.8,!=0.7.5 commonmark==0.9.1 recommonmark==0.5.0 sphinx sphinx-rtd-theme readthedocs-sphinx-ext<2.3 Collecting pillow Downloading Pillow-9.5.0-cp38-cp38-manylinux_2_28_x86_64.whl (3.4 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.4/3.4 MB 53.0 MB/s eta 0:00:00 Collecting mock==1.0.1 Downloading mock-1.0.1.zip (861 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 861.9/861.9 kB 132.2 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting alabaster!=0.7.5,<0.8,>=0.7 Downloading alabaster-0.7.13-py3-none-any.whl (13 kB) Collecting commonmark==0.9.1 Downloading commonmark-0.9.1-py2.py3-none-any.whl (51 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 51.1/51.1 kB 108.8 MB/s eta 0:00:00 Collecting recommonmark==0.5.0 Downloading recommonmark-0.5.0-py2.py3-none-any.whl (9.8 kB) Collecting sphinx Downloading sphinx-7.0.1-py3-none-any.whl (3.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.0/3.0 MB 110.4 MB/s eta 0:00:00 Collecting sphinx-rtd-theme Downloading sphinx_rtd_theme-1.2.2-py2.py3-none-any.whl (2.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.8/2.8 MB 108.5 MB/s eta 0:00:00 Collecting readthedocs-sphinx-ext<2.3 Downloading readthedocs_sphinx_ext-2.2.1-py2.py3-none-any.whl (11 kB) Collecting docutils>=0.11 (from recommonmark==0.5.0) Downloading docutils-0.20.1-py3-none-any.whl (572 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 572.7/572.7 kB 138.5 MB/s eta 0:00:00 Collecting sphinxcontrib-applehelp (from sphinx) Downloading sphinxcontrib_applehelp-1.0.4-py3-none-any.whl (120 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 120.6/120.6 kB 131.8 MB/s eta 0:00:00 Collecting sphinxcontrib-devhelp (from sphinx) Downloading sphinxcontrib_devhelp-1.0.2-py2.py3-none-any.whl (84 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 84.7/84.7 kB 123.2 MB/s eta 0:00:00 Collecting sphinxcontrib-jsmath (from sphinx) Downloading sphinxcontrib_jsmath-1.0.1-py2.py3-none-any.whl (5.1 kB) Collecting sphinxcontrib-htmlhelp>=2.0.0 (from sphinx) Downloading sphinxcontrib_htmlhelp-2.0.1-py3-none-any.whl (99 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 99.8/99.8 kB 122.7 MB/s eta 0:00:00 Collecting sphinxcontrib-serializinghtml>=1.1.5 (from sphinx) Downloading sphinxcontrib_serializinghtml-1.1.5-py2.py3-none-any.whl (94 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 94.0/94.0 kB 121.4 MB/s eta 0:00:00 Collecting sphinxcontrib-qthelp (from sphinx) Downloading sphinxcontrib_qthelp-1.0.3-py2.py3-none-any.whl (90 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 90.6/90.6 kB 125.1 MB/s eta 0:00:00 Collecting Jinja2>=3.0 (from sphinx) Downloading Jinja2-3.1.2-py3-none-any.whl (133 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.1/133.1 kB 133.2 MB/s eta 0:00:00 Collecting Pygments>=2.13 (from sphinx) Downloading Pygments-2.15.1-py3-none-any.whl (1.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 138.8 MB/s eta 0:00:00 Collecting snowballstemmer>=2.0 (from sphinx) Downloading snowballstemmer-2.2.0-py2.py3-none-any.whl (93 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 93.0/93.0 kB 120.9 MB/s eta 0:00:00 Collecting babel>=2.9 (from sphinx) Downloading Babel-2.12.1-py3-none-any.whl (10.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 10.1/10.1 MB 113.5 MB/s eta 0:00:00 Collecting imagesize>=1.3 (from sphinx) Downloading imagesize-1.4.1-py2.py3-none-any.whl (8.8 kB) Collecting requests>=2.25.0 (from sphinx) Downloading requests-2.31.0-py3-none-any.whl (62 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.6/62.6 kB 116.7 MB/s eta 0:00:00 Collecting packaging>=21.0 (from sphinx) Downloading packaging-23.1-py3-none-any.whl (48 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.9/48.9 kB 106.7 MB/s eta 0:00:00 Collecting importlib-metadata>=4.8 (from sphinx) Downloading importlib_metadata-6.6.0-py3-none-any.whl (22 kB) Collecting sphinx Downloading sphinx-6.2.1-py3-none-any.whl (3.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.0/3.0 MB 121.9 MB/s eta 0:00:00 Collecting docutils>=0.11 (from recommonmark==0.5.0) Downloading docutils-0.18.1-py2.py3-none-any.whl (570 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 570.0/570.0 kB 137.2 MB/s eta 0:00:00 Collecting sphinxcontrib-jquery<5,>=4 (from sphinx-rtd-theme) Downloading sphinxcontrib_jquery-4.1-py2.py3-none-any.whl (121 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 121.1/121.1 kB 120.9 MB/s eta 0:00:00 Collecting pytz>=2015.7 (from babel>=2.9->sphinx) Downloading pytz-2023.3-py2.py3-none-any.whl (502 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 502.3/502.3 kB 135.9 MB/s eta 0:00:00 Collecting zipp>=0.5 (from importlib-metadata>=4.8->sphinx) Downloading zipp-3.15.0-py3-none-any.whl (6.8 kB) Collecting MarkupSafe>=2.0 (from Jinja2>=3.0->sphinx) Downloading MarkupSafe-2.1.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB) Collecting charset-normalizer<4,>=2 (from requests>=2.25.0->sphinx) Downloading charset_normalizer-3.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (195 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 195.9/195.9 kB 133.0 MB/s eta 0:00:00 Collecting idna<4,>=2.5 (from requests>=2.25.0->sphinx) Downloading idna-3.4-py3-none-any.whl (61 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 kB 110.7 MB/s eta 0:00:00 Collecting urllib3<3,>=1.21.1 (from requests>=2.25.0->sphinx) Downloading urllib3-2.0.3-py3-none-any.whl (123 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 123.6/123.6 kB 112.5 MB/s eta 0:00:00 Collecting certifi>=2017.4.17 (from requests>=2.25.0->sphinx) Downloading certifi-2023.5.7-py3-none-any.whl (156 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 157.0/157.0 kB 130.9 MB/s eta 0:00:00 Building wheels for collected packages: mock Building wheel for mock (setup.py): started Building wheel for mock (setup.py): finished with status 'done' Created wheel for mock: filename=mock-1.0.1-py3-none-any.whl size=23753 sha256=5e0fa245599f360bbb9780af9061e579cfb0b9e75c268efc1cdaa1f079ac07db Stored in directory: /tmp/pip-ephem-wheel-cache-oi01142t/wheels/41/7c/21/90057f91c6ead7c77a90c52d6e85ca48bf82d8b0d3f8dfbb65 Successfully built mock Installing collected packages: snowballstemmer, pytz, mock, commonmark, zipp, urllib3, sphinxcontrib-serializinghtml, sphinxcontrib-qthelp, sphinxcontrib-jsmath, sphinxcontrib-htmlhelp, sphinxcontrib-devhelp, sphinxcontrib-applehelp, Pygments, pillow, packaging, MarkupSafe, imagesize, idna, docutils, charset-normalizer, certifi, babel, alabaster, requests, Jinja2, importlib-metadata, sphinx, readthedocs-sphinx-ext, sphinxcontrib-jquery, recommonmark, sphinx-rtd-theme Successfully installed Jinja2-3.1.2 MarkupSafe-2.1.3 Pygments-2.15.1 alabaster-0.7.13 babel-2.12.1 certifi-2023.5.7 charset-normalizer-3.1.0 commonmark-0.9.1 docutils-0.18.1 idna-3.4 imagesize-1.4.1 importlib-metadata-6.6.0 mock-1.0.1 packaging-23.1 pillow-9.5.0 pytz-2023.3 readthedocs-sphinx-ext-2.2.1 recommonmark-0.5.0 requests-2.31.0 snowballstemmer-2.2.0 sphinx-6.2.1 sphinx-rtd-theme-1.2.2 sphinxcontrib-applehelp-1.0.4 sphinxcontrib-devhelp-1.0.2 sphinxcontrib-htmlhelp-2.0.1 sphinxcontrib-jquery-4.1 sphinxcontrib-jsmath-1.0.1 sphinxcontrib-qthelp-1.0.3 sphinxcontrib-serializinghtml-1.1.5 urllib3-2.0.3 zipp-3.15.0 [rtd-command-info] start-time: 2023-06-15T16:41:29.537720Z, end-time: 2023-06-15T16:41:47.019786Z, duration: 17, exit-code: 0 python -m pip install --exists-action=w --no-cache-dir -r docs/.sphinx/requirements.txt Collecting accessible-pygments==0.0.4 (from -r docs/.sphinx/requirements.txt (line 7)) Downloading accessible_pygments-0.0.4-py2.py3-none-any.whl (29 kB) Requirement already satisfied: alabaster==0.7.13 in /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-hipfort/envs/docs-5.2.1/lib/python3.8/site-packages (from -r docs/.sphinx/requirements.txt (line 9)) (0.7.13) Requirement already satisfied: babel==2.12.1 in /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-hipfort/envs/docs-5.2.1/lib/python3.8/site-packages (from -r docs/.sphinx/requirements.txt (line 11)) (2.12.1) Collecting beautifulsoup4==4.12.2 (from -r docs/.sphinx/requirements.txt (line 15)) Downloading beautifulsoup4-4.12.2-py3-none-any.whl (142 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 143.0/143.0 kB 12.0 MB/s eta 0:00:00 Collecting breathe==4.35.0 (from -r docs/.sphinx/requirements.txt (line 17)) Downloading breathe-4.35.0-py3-none-any.whl (92 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 93.0/93.0 kB 120.9 MB/s eta 0:00:00 Requirement already satisfied: certifi==2023.5.7 in /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-hipfort/envs/docs-5.2.1/lib/python3.8/site-packages (from -r docs/.sphinx/requirements.txt (line 19)) (2023.5.7) Collecting cffi==1.15.1 (from -r docs/.sphinx/requirements.txt (line 21)) Downloading cffi-1.15.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (442 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 442.7/442.7 kB 54.1 MB/s eta 0:00:00 Requirement already satisfied: charset-normalizer==3.1.0 in /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-hipfort/envs/docs-5.2.1/lib/python3.8/site-packages (from -r docs/.sphinx/requirements.txt (line 25)) (3.1.0) Collecting click==8.1.3 (from -r docs/.sphinx/requirements.txt (line 27)) Downloading click-8.1.3-py3-none-any.whl (96 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 96.6/96.6 kB 123.1 MB/s eta 0:00:00 Collecting click-log==0.4.0 (from -r docs/.sphinx/requirements.txt (line 32)) Downloading click_log-0.4.0-py2.py3-none-any.whl (4.3 kB) Collecting cryptography==41.0.1 (from -r docs/.sphinx/requirements.txt (line 34)) Downloading cryptography-41.0.1-cp37-abi3-manylinux_2_28_x86_64.whl (4.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.3/4.3 MB 129.6 MB/s eta 0:00:00 Collecting deprecated==1.2.14 (from -r docs/.sphinx/requirements.txt (line 36)) Downloading Deprecated-1.2.14-py2.py3-none-any.whl (9.6 kB) Collecting docutils==0.19 (from -r docs/.sphinx/requirements.txt (line 38)) Downloading docutils-0.19-py3-none-any.whl (570 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 570.5/570.5 kB 137.4 MB/s eta 0:00:00 Collecting doxysphinx==3.3.3 (from -r docs/.sphinx/requirements.txt (line 44)) Downloading doxysphinx-3.3.3-py3-none-any.whl (41 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 41.5/41.5 kB 97.4 MB/s eta 0:00:00 Collecting fastjsonschema==2.17.1 (from -r docs/.sphinx/requirements.txt (line 46)) Downloading fastjsonschema-2.17.1-py3-none-any.whl (23 kB) Collecting gitdb==4.0.10 (from -r docs/.sphinx/requirements.txt (line 48)) Downloading gitdb-4.0.10-py3-none-any.whl (62 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.7/62.7 kB 100.5 MB/s eta 0:00:00 Collecting gitpython==3.1.31 (from -r docs/.sphinx/requirements.txt (line 50)) Downloading GitPython-3.1.31-py3-none-any.whl (184 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 184.3/184.3 kB 129.8 MB/s eta 0:00:00 Requirement already satisfied: idna==3.4 in /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-hipfort/envs/docs-5.2.1/lib/python3.8/site-packages (from -r docs/.sphinx/requirements.txt (line 52)) (3.4) Requirement already satisfied: imagesize==1.4.1 in /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-hipfort/envs/docs-5.2.1/lib/python3.8/site-packages (from -r docs/.sphinx/requirements.txt (line 54)) (1.4.1) Requirement already satisfied: importlib-metadata==6.6.0 in /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-hipfort/envs/docs-5.2.1/lib/python3.8/site-packages (from -r docs/.sphinx/requirements.txt (line 56)) (6.6.0) Collecting importlib-resources==5.12.0 (from -r docs/.sphinx/requirements.txt (line 58)) Downloading importlib_resources-5.12.0-py3-none-any.whl (36 kB) Requirement already satisfied: jinja2==3.1.2 in /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-hipfort/envs/docs-5.2.1/lib/python3.8/site-packages (from -r docs/.sphinx/requirements.txt (line 60)) (3.1.2) Collecting libsass==0.22.0 (from -r docs/.sphinx/requirements.txt (line 64)) Downloading libsass-0.22.0-cp36-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.whl (9.4 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9.4/9.4 MB 111.9 MB/s eta 0:00:00 Collecting linkify-it-py==1.0.3 (from -r docs/.sphinx/requirements.txt (line 66)) Downloading linkify_it_py-1.0.3-py3-none-any.whl (19 kB) Collecting lxml==4.9.2 (from -r docs/.sphinx/requirements.txt (line 68)) Downloading lxml-4.9.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (7.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.1/7.1 MB 106.5 MB/s eta 0:00:00 Collecting markdown-it-py==2.2.0 (from -r docs/.sphinx/requirements.txt (line 70)) Downloading markdown_it_py-2.2.0-py3-none-any.whl (84 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 84.5/84.5 kB 119.1 MB/s eta 0:00:00 Requirement already satisfied: markupsafe==2.1.3 in /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-hipfort/envs/docs-5.2.1/lib/python3.8/site-packages (from -r docs/.sphinx/requirements.txt (line 74)) (2.1.3) Collecting mdit-py-plugins==0.3.5 (from -r docs/.sphinx/requirements.txt (line 76)) Downloading mdit_py_plugins-0.3.5-py3-none-any.whl (52 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 52.1/52.1 kB 105.7 MB/s eta 0:00:00 Collecting mdurl==0.1.2 (from -r docs/.sphinx/requirements.txt (line 78)) Downloading mdurl-0.1.2-py3-none-any.whl (10.0 kB) Collecting mpire==2.7.1 (from -r docs/.sphinx/requirements.txt (line 80)) Downloading mpire-2.7.1-py3-none-any.whl (302 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 302.0/302.0 kB 132.9 MB/s eta 0:00:00 Collecting myst-parser[linkify]==1.0.0 (from -r docs/.sphinx/requirements.txt (line 82)) Downloading myst_parser-1.0.0-py3-none-any.whl (77 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 77.3/77.3 kB 104.2 MB/s eta 0:00:00 Requirement already satisfied: packaging==23.1 in /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-hipfort/envs/docs-5.2.1/lib/python3.8/site-packages (from -r docs/.sphinx/requirements.txt (line 84)) (23.1) Collecting pycparser==2.21 (from -r docs/.sphinx/requirements.txt (line 88)) Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 118.7/118.7 kB 127.6 MB/s eta 0:00:00 Collecting pydata-sphinx-theme==0.13.3 (from -r docs/.sphinx/requirements.txt (line 90)) Downloading pydata_sphinx_theme-0.13.3-py3-none-any.whl (2.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.0/2.0 MB 131.5 MB/s eta 0:00:00 Collecting pygithub==1.58.2 (from -r docs/.sphinx/requirements.txt (line 94)) Downloading PyGithub-1.58.2-py3-none-any.whl (312 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 312.5/312.5 kB 136.9 MB/s eta 0:00:00 Requirement already satisfied: pygments==2.15.1 in /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-hipfort/envs/docs-5.2.1/lib/python3.8/site-packages (from -r docs/.sphinx/requirements.txt (line 96)) (2.15.1) Collecting pyjson5==1.6.2 (from -r docs/.sphinx/requirements.txt (line 102)) Downloading pyjson5-1.6.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl (333 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 334.0/334.0 kB 132.6 MB/s eta 0:00:00 Collecting pyjwt[crypto]==2.7.0 (from -r docs/.sphinx/requirements.txt (line 104)) Downloading PyJWT-2.7.0-py3-none-any.whl (22 kB) Collecting pynacl==1.5.0 (from -r docs/.sphinx/requirements.txt (line 106)) Downloading PyNaCl-1.5.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (856 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 856.7/856.7 kB 138.6 MB/s eta 0:00:00 Collecting pyparsing==3.0.9 (from -r docs/.sphinx/requirements.txt (line 108)) Downloading pyparsing-3.0.9-py3-none-any.whl (98 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 98.3/98.3 kB 123.1 MB/s eta 0:00:00 Requirement already satisfied: pytz==2023.3 in /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-hipfort/envs/docs-5.2.1/lib/python3.8/site-packages (from -r docs/.sphinx/requirements.txt (line 110)) (2023.3) Collecting pyyaml==6.0 (from -r docs/.sphinx/requirements.txt (line 112)) Downloading PyYAML-6.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (701 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 701.2/701.2 kB 138.3 MB/s eta 0:00:00 Requirement already satisfied: requests==2.31.0 in /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-hipfort/envs/docs-5.2.1/lib/python3.8/site-packages (from -r docs/.sphinx/requirements.txt (line 117)) (2.31.0) Collecting rocm-docs-core[api_reference]==0.13.4 (from -r docs/.sphinx/requirements.txt (line 121)) Downloading rocm_docs_core-0.13.4-py3-none-any.whl (1.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 134.2 MB/s eta 0:00:00 Collecting smmap==5.0.0 (from -r docs/.sphinx/requirements.txt (line 123)) Downloading smmap-5.0.0-py3-none-any.whl (24 kB) Requirement already satisfied: snowballstemmer==2.2.0 in /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-hipfort/envs/docs-5.2.1/lib/python3.8/site-packages (from -r docs/.sphinx/requirements.txt (line 125)) (2.2.0) Collecting soupsieve==2.4.1 (from -r docs/.sphinx/requirements.txt (line 127)) Downloading soupsieve-2.4.1-py3-none-any.whl (36 kB) Collecting sphinx==5.3.0 (from -r docs/.sphinx/requirements.txt (line 129)) Downloading sphinx-5.3.0-py3-none-any.whl (3.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.2/3.2 MB 115.3 MB/s eta 0:00:00 Collecting sphinx-book-theme==1.0.1 (from -r docs/.sphinx/requirements.txt (line 140)) Downloading sphinx_book_theme-1.0.1-py3-none-any.whl (396 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 396.9/396.9 kB 143.5 MB/s eta 0:00:00 Collecting sphinx-copybutton==0.5.2 (from -r docs/.sphinx/requirements.txt (line 142)) Downloading sphinx_copybutton-0.5.2-py3-none-any.whl (13 kB) Collecting sphinx-design==0.4.1 (from -r docs/.sphinx/requirements.txt (line 144)) Downloading sphinx_design-0.4.1-py3-none-any.whl (2.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.2/2.2 MB 129.2 MB/s eta 0:00:00 Collecting sphinx-external-toc==0.3.1 (from -r docs/.sphinx/requirements.txt (line 146)) Downloading sphinx_external_toc-0.3.1-py3-none-any.whl (26 kB) Collecting sphinx-notfound-page==0.8.3 (from -r docs/.sphinx/requirements.txt (line 148)) Downloading sphinx_notfound_page-0.8.3-py2.py3-none-any.whl (8.5 kB) Requirement already satisfied: sphinxcontrib-applehelp==1.0.4 in /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-hipfort/envs/docs-5.2.1/lib/python3.8/site-packages (from -r docs/.sphinx/requirements.txt (line 150)) (1.0.4) Requirement already satisfied: sphinxcontrib-devhelp==1.0.2 in /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-hipfort/envs/docs-5.2.1/lib/python3.8/site-packages (from -r docs/.sphinx/requirements.txt (line 152)) (1.0.2) Requirement already satisfied: sphinxcontrib-htmlhelp==2.0.1 in /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-hipfort/envs/docs-5.2.1/lib/python3.8/site-packages (from -r docs/.sphinx/requirements.txt (line 154)) (2.0.1) Requirement already satisfied: sphinxcontrib-jsmath==1.0.1 in /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-hipfort/envs/docs-5.2.1/lib/python3.8/site-packages (from -r docs/.sphinx/requirements.txt (line 156)) (1.0.1) Requirement already satisfied: sphinxcontrib-qthelp==1.0.3 in /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-hipfort/envs/docs-5.2.1/lib/python3.8/site-packages (from -r docs/.sphinx/requirements.txt (line 158)) (1.0.3) Requirement already satisfied: sphinxcontrib-serializinghtml==1.1.5 in /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-hipfort/envs/docs-5.2.1/lib/python3.8/site-packages (from -r docs/.sphinx/requirements.txt (line 160)) (1.1.5) Collecting tqdm==4.65.0 (from -r docs/.sphinx/requirements.txt (line 162)) Downloading tqdm-4.65.0-py3-none-any.whl (77 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 77.1/77.1 kB 139.8 MB/s eta 0:00:00 Collecting typing-extensions==4.6.3 (from -r docs/.sphinx/requirements.txt (line 164)) Downloading typing_extensions-4.6.3-py3-none-any.whl (31 kB) Collecting uc-micro-py==1.0.2 (from -r docs/.sphinx/requirements.txt (line 166)) Downloading uc_micro_py-1.0.2-py3-none-any.whl (6.2 kB) Requirement already satisfied: urllib3==2.0.3 in /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-hipfort/envs/docs-5.2.1/lib/python3.8/site-packages (from -r docs/.sphinx/requirements.txt (line 168)) (2.0.3) Collecting wrapt==1.15.0 (from -r docs/.sphinx/requirements.txt (line 170)) Downloading wrapt-1.15.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (81 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 81.5/81.5 kB 127.0 MB/s eta 0:00:00 Requirement already satisfied: zipp==3.15.0 in /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-hipfort/envs/docs-5.2.1/lib/python3.8/site-packages (from -r docs/.sphinx/requirements.txt (line 172)) (3.15.0) Installing collected packages: fastjsonschema, wrapt, uc-micro-py, typing-extensions, tqdm, soupsieve, smmap, pyyaml, pyparsing, pyjwt, pyjson5, pycparser, mdurl, lxml, libsass, importlib-resources, docutils, click, accessible-pygments, sphinx, mpire, markdown-it-py, linkify-it-py, gitdb, deprecated, click-log, cffi, beautifulsoup4, sphinx-notfound-page, sphinx-external-toc, sphinx-design, sphinx-copybutton, pynacl, pydata-sphinx-theme, mdit-py-plugins, gitpython, doxysphinx, cryptography, breathe, sphinx-book-theme, myst-parser, pygithub, rocm-docs-core Attempting uninstall: docutils Found existing installation: docutils 0.18.1 Uninstalling docutils-0.18.1: Successfully uninstalled docutils-0.18.1 Attempting uninstall: sphinx Found existing installation: Sphinx 6.2.1 Uninstalling Sphinx-6.2.1: Successfully uninstalled Sphinx-6.2.1 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. sphinx-rtd-theme 1.2.2 requires docutils<0.19, but you have docutils 0.19 which is incompatible. Successfully installed accessible-pygments-0.0.4 beautifulsoup4-4.12.2 breathe-4.35.0 cffi-1.15.1 click-8.1.3 click-log-0.4.0 cryptography-41.0.1 deprecated-1.2.14 docutils-0.19 doxysphinx-3.3.3 fastjsonschema-2.17.1 gitdb-4.0.10 gitpython-3.1.31 importlib-resources-5.12.0 libsass-0.22.0 linkify-it-py-1.0.3 lxml-4.9.2 markdown-it-py-2.2.0 mdit-py-plugins-0.3.5 mdurl-0.1.2 mpire-2.7.1 myst-parser-1.0.0 pycparser-2.21 pydata-sphinx-theme-0.13.3 pygithub-1.58.2 pyjson5-1.6.2 pyjwt-2.7.0 pynacl-1.5.0 pyparsing-3.0.9 pyyaml-6.0 rocm-docs-core-0.13.4 smmap-5.0.0 soupsieve-2.4.1 sphinx-5.3.0 sphinx-book-theme-1.0.1 sphinx-copybutton-0.5.2 sphinx-design-0.4.1 sphinx-external-toc-0.3.1 sphinx-notfound-page-0.8.3 tqdm-4.65.0 typing-extensions-4.6.3 uc-micro-py-1.0.2 wrapt-1.15.0 [rtd-command-info] start-time: 2023-06-15T16:41:48.711267Z, end-time: 2023-06-15T16:41:48.813811Z, duration: 0, exit-code: 0 cat docs/conf.py # Configuration file for the Sphinx documentation builder. # # This file only contains a selection of the most common options. For a full # list see the documentation: # https://www.sphinx-doc.org/en/master/usage/configuration.html import glob import os import shutil import subprocess from pathlib import Path from typing import Dict, List, Any from rocm_docs import ROCmDocs # Preprocess the fortran sources with gfortran, because doxygen doesn't seem # to correctly parse them, even with preprocessing turned on (and with # upper-case file names as convention) # preprocessed_out_dir has to be kept in sync with the Doxyfile's INPUT preprocessed_out_dir = Path("doxygen", "input") try: os.mkdir(preprocessed_out_dir) except FileExistsError: pass gfortran_exe = shutil.which("gfortran") if gfortran_exe is None: raise RuntimeError("Couldn't find the fortran compiler!") for filename in glob.glob("../lib/hipfort/*.f"): path = Path(filename) # -P is to disable embedding line information subprocess.check_call( [ gfortran_exe, "-E", "-cpp", "-P", "-DUSE_FPOINTER_INTERFACES=1", "-UUSE_CUDA_NAMES", str(path), "-o", str(preprocessed_out_dir / path.name), ] ) docs_core = ROCmDocs("hipfort Documentation") docs_core.run_doxygen(doxygen_root="doxygen", doxygen_path="doxygen/xml") docs_core.enable_api_reference() docs_core.setup() for sphinx_var in ROCmDocs.SPHINX_VARS: globals()[sphinx_var] = getattr(docs_core, sphinx_var) # rocm-docs-core might or might not have changed these yet (depending on version), # and we don't want to wipe their settings if they did if not "html_theme_options" in globals(): html_theme_options: Dict[str, Any] = {} if not "exclude_patterns" in globals(): exclude_patterns: List[str] = [] html_theme_options["show_navbar_depth"] = 2 exclude_patterns.append("doxygen/input") ########################################################################### # auto-created readthedocs.org specific configuration # ########################################################################### # # The following code was added during an automated build on readthedocs.org # It is auto created and injected for every build. The result is based on the # conf.py.tmpl file found in the readthedocs.org codebase: # https://github.com/rtfd/readthedocs.org/blob/main/readthedocs/doc_builder/templates/doc_builder/conf.py.tmpl # # Note: this file shouldn't rely on extra dependencies. import importlib import sys import os.path # Borrowed from six. PY3 = sys.version_info[0] == 3 string_types = str if PY3 else basestring from sphinx import version_info # Get suffix for proper linking to GitHub # This is deprecated in Sphinx 1.3+, # as each page can have its own suffix if globals().get('source_suffix', False): if isinstance(source_suffix, string_types): SUFFIX = source_suffix elif isinstance(source_suffix, (list, tuple)): # Sphinx >= 1.3 supports list/tuple to define multiple suffixes SUFFIX = source_suffix[0] elif isinstance(source_suffix, dict): # Sphinx >= 1.8 supports a mapping dictionary for multiple suffixes SUFFIX = list(source_suffix.keys())[0] # make a ``list()`` for py2/py3 compatibility else: # default to .rst SUFFIX = '.rst' else: SUFFIX = '.rst' # Add RTD Static Path. Add to the end because it overwrites previous files. if not 'html_static_path' in globals(): html_static_path = [] if os.path.exists('_static'): html_static_path.append('_static') # Add RTD Theme only if they aren't overriding it already using_rtd_theme = ( ( 'html_theme' in globals() and html_theme in ['default'] and # Allow people to bail with a hack of having an html_style 'html_style' not in globals() ) or 'html_theme' not in globals() ) if using_rtd_theme: html_theme = 'sphinx_rtd_theme' html_style = None html_theme_options = {} # This following legacy behavior will gradually be sliced out until its deprecated and removed. # Skipped for Sphinx 6+ # Skipped by internal Feature flag SKIP_SPHINX_HTML_THEME_PATH # Skipped by all new projects since SKIP_SPHINX_HTML_THEME_PATH's introduction (jan 2023) if ( using_rtd_theme and version_info < (6,0) and not False ): theme = importlib.import_module('sphinx_rtd_theme') if 'html_theme_path' in globals(): html_theme_path.append(theme.get_html_theme_path()) else: html_theme_path = [theme.get_html_theme_path()] # Define websupport2_base_url and websupport2_static_url if globals().get('websupport2_base_url', False): websupport2_base_url = 'https://readthedocs.com/websupport' websupport2_static_url = 'https://assets.readthedocs.com/' #Add project information to the template context. context = { 'using_theme': using_rtd_theme, 'html_theme': html_theme, 'current_version': "docs/5.2.1", 'version_slug': "docs-5.2.1", 'MEDIA_URL': "https://media.readthedocs.com/media/", 'STATIC_URL': "https://assets.readthedocs.com/", 'PRODUCTION_DOMAIN': "readthedocs.com", 'proxied_static_path': "/_/static/", 'versions': [ ("latest", "/en/latest/"), ("docs-5.5.1", "/en/docs-5.5.1/"), ("docs-5.5.0", "/en/docs-5.5.0/"), ("docs-5.4.4", "/en/docs-5.4.4/"), ("docs-5.4.3", "/en/docs-5.4.3/"), ("docs-5.4.2", "/en/docs-5.4.2/"), ("docs-5.4.1", "/en/docs-5.4.1/"), ("docs-5.4.0", "/en/docs-5.4.0/"), ("docs-5.3.3", "/en/docs-5.3.3/"), ("docs-5.3.2", "/en/docs-5.3.2/"), ("docs-5.3.1", "/en/docs-5.3.1/"), ("docs-5.3.0", "/en/docs-5.3.0/"), ("docs-5.2.3", "/en/docs-5.2.3/"), ("docs-5.2.1", "/en/docs-5.2.1/"), ("docs-5.2.0", "/en/docs-5.2.0/"), ("docs-5.1.3", "/en/docs-5.1.3/"), ("docs-5.1.1", "/en/docs-5.1.1/"), ("docs-5.1.0", "/en/docs-5.1.0/"), ("docs-5.0.2", "/en/docs-5.0.2/"), ("docs-5.0.1", "/en/docs-5.0.1/"), ("docs-5.0.0", "/en/docs-5.0.0/"), ("develop", "/en/develop/"), ], 'downloads': [ ("html", "//rocm.docs.amd.com/_/downloads/hipfort/en/docs-5.2.1/htmlzip/"), ], 'subprojects': [ ], 'slug': 'advanced-micro-devices-hipfort', 'name': u'hipfort', 'rtd_language': u'en', 'programming_language': u'words', 'canonical_url': '', 'analytics_code': 'None', 'single_version': False, 'conf_py_path': '/docs/', 'api_host': 'https://readthedocs.com', 'github_user': 'ROCmSoftwarePlatform', 'proxied_api_host': '/_', 'github_repo': 'hipfort', 'github_version': 'docs/5.2.1', 'display_github': True, 'bitbucket_user': 'None', 'bitbucket_repo': 'None', 'bitbucket_version': 'docs/5.2.1', 'display_bitbucket': False, 'gitlab_user': 'None', 'gitlab_repo': 'None', 'gitlab_version': 'docs/5.2.1', 'display_gitlab': False, 'READTHEDOCS': True, 'using_theme': (html_theme == "default"), 'new_theme': (html_theme == "sphinx_rtd_theme"), 'source_suffix': SUFFIX, 'ad_free': False, 'docsearch_disabled': False, 'user_analytics_code': '', 'global_analytics_code': None, 'commit': 'f637de63', } # For sphinx >=1.8 we can use html_baseurl to set the canonical URL. # https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-html_baseurl if version_info >= (1, 8): if not globals().get('html_baseurl'): html_baseurl = context['canonical_url'] context['canonical_url'] = None if 'html_context' in globals(): for key in context: if key not in html_context: html_context[key] = context[key] else: html_context = context # Add custom RTD extension if 'extensions' in globals(): # Insert at the beginning because it can interfere # with other extensions. # See https://github.com/rtfd/readthedocs.org/pull/4054 extensions.insert(0, "readthedocs_ext.readthedocs") else: extensions = ["readthedocs_ext.readthedocs"] # Add External version warning banner to the external version documentation if 'branch' == 'external': extensions.insert(1, "readthedocs_ext.external_version_warning") readthedocs_vcs_url = 'None' readthedocs_build_url = 'https://readthedocs.com/projects/advanced-micro-devices-hipfort/builds/1540281/' project_language = 'en' # User's Sphinx configurations language_user = globals().get('language', None) latex_engine_user = globals().get('latex_engine', None) latex_elements_user = globals().get('latex_elements', None) # Remove this once xindy gets installed in Docker image and XINDYOPS # env variable is supported # https://github.com/rtfd/readthedocs-docker-images/pull/98 latex_use_xindy = False chinese = any([ language_user in ('zh_CN', 'zh_TW'), project_language in ('zh_CN', 'zh_TW'), ]) japanese = any([ language_user == 'ja', project_language == 'ja', ]) if chinese: latex_engine = latex_engine_user or 'xelatex' latex_elements_rtd = { 'preamble': '\\usepackage[UTF8]{ctex}\n', } latex_elements = latex_elements_user or latex_elements_rtd elif japanese: latex_engine = latex_engine_user or 'platex' # Make sure our build directory is always excluded exclude_patterns = globals().get('exclude_patterns', []) exclude_patterns.extend(['_build'])