Read the Docs build information Build id: 2019445 Project: advanced-micro-devices-hipfort Version: docs-6.0.2 Commit: edb782f15a0fd70b973a9b65d252fa1f60d88b36 Date: 2024-02-15T16:37:06.683370Z State: finished Success: False [rtd-command-info] start-time: 2024-02-15T16:46:17.516758Z, end-time: 2024-02-15T16:46:18.447331Z, duration: 0, exit-code: 0 git clone --depth 1 https://github.com/ROCmSoftwarePlatform/hipfort.git . Cloning into '.'... [rtd-command-info] start-time: 2024-02-15T16:46:18.522001Z, end-time: 2024-02-15T16:46:21.109729Z, duration: 2, exit-code: 0 git fetch origin --force --prune --prune-tags --depth 50 refs/heads/docs/6.0.2:refs/remotes/origin/docs/6.0.2 From https://github.com/ROCmSoftwarePlatform/hipfort * [new branch] docs/6.0.2 -> origin/docs/6.0.2 * [new tag] rocm-6.0.2 -> rocm-6.0.2 * [new tag] rocm-3.10.0 -> rocm-3.10.0 * [new tag] rocm-3.8.0 -> rocm-3.8.0 * [new tag] rocm-3.9.0 -> rocm-3.9.0 * [new tag] rocm-4.0.0 -> rocm-4.0.0 * [new tag] rocm-4.1.0 -> rocm-4.1.0 * [new tag] rocm-5.1.0 -> rocm-5.1.0 * [new tag] rocm-5.1.1 -> rocm-5.1.1 * [new tag] rocm-5.1.3 -> rocm-5.1.3 * [new tag] rocm-5.2.0 -> rocm-5.2.0 * [new tag] rocm-5.2.1 -> rocm-5.2.1 * [new tag] rocm-5.2.3 -> rocm-5.2.3 * [new tag] rocm-5.3.0 -> rocm-5.3.0 * [new tag] rocm-5.3.1 -> rocm-5.3.1 * [new tag] rocm-5.3.2 -> rocm-5.3.2 * [new tag] rocm-5.3.3 -> rocm-5.3.3 * [new tag] rocm-5.6.0 -> rocm-5.6.0 * [new tag] rocm-5.6.1 -> rocm-5.6.1 * [new tag] rocm-6.0.0 -> rocm-6.0.0 [rtd-command-info] start-time: 2024-02-15T16:46:21.257208Z, end-time: 2024-02-15T16:46:21.423650Z, duration: 0, exit-code: 0 git checkout --force origin/docs/6.0.2 Note: switching to 'origin/docs/6.0.2'. 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 edb782f Add cmake target files to package [rtd-command-info] start-time: 2024-02-15T16:46:21.483812Z, end-time: 2024-02-15T16:46:21.549084Z, duration: 0, exit-code: 0 git clean -d -f -f [rtd-command-info] start-time: 2024-02-15T16:46:21.619068Z, end-time: 2024-02-15T16:46:21.679903Z, duration: 0, exit-code: 0 cat .readthedocs.yaml # Read the Docs configuration file # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details version: 2 sphinx: configuration: docs/conf.py formats: [htmlzip, pdf, epub] python: install: - requirements: docs/sphinx/requirements.txt build: os: ubuntu-20.04 tools: python: "3.8" apt_packages: - "doxygen" - "gfortran" # For pre-processing fortran sources - "graphviz" # For dot graphs in doxygen [rtd-command-info] start-time: 2024-02-15T16:46:22.704709Z, end-time: 2024-02-15T16:46:30.147631Z, duration: 7, exit-code: 0 apt-get update --assume-yes --quiet Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease Get:2 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB] Get:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB] Hit:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease Get:5 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [1176 kB] Get:6 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [3850 kB] Get:7 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [3372 kB] Get:8 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [3258 kB] Get:9 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [3407 kB] Get:10 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [32.4 kB] Get:11 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1473 kB] Fetched 16.8 MB in 2s (6885 kB/s) Reading package lists... [rtd-command-info] start-time: 2024-02-15T16:46:30.214877Z, end-time: 2024-02-15T16:47:01.946219Z, duration: 31, 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: fonts-liberation gfortran-9 libann0 libgfortran-9-dev libgfortran5 Suggested packages: gfortran-multilib gfortran-doc gfortran-9-multilib gfortran-9-doc libcoarrays-dev graphviz-doc The following NEW packages will be installed: fonts-liberation gfortran gfortran-9 graphviz libann0 libgfortran-9-dev libgfortran5 0 upgraded, 7 newly installed, 0 to remove and 13 not upgraded. Need to get 10.8 MB of archives. After this operation, 41.5 MB of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu focal/main amd64 fonts-liberation all 1:1.07.4-11 [822 kB] Get:2 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libgfortran5 amd64 10.5.0-1ubuntu1~20.04 [737 kB] Get:3 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libgfortran-9-dev amd64 9.4.0-1ubuntu1~20.04.2 [685 kB] Get:4 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 gfortran-9 amd64 9.4.0-1ubuntu1~20.04.2 [7936 kB] Get:5 http://archive.ubuntu.com/ubuntu focal/main amd64 gfortran amd64 4:9.3.0-1ubuntu2 [1372 B] Get:6 http://archive.ubuntu.com/ubuntu focal/universe amd64 libann0 amd64 1.1.2+doc-7build1 [26.0 kB] Get:7 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 10.8 MB in 1s (9804 kB/s) Selecting previously unselected package fonts-liberation. (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 ... 262449 files and directories currently installed.) Preparing to unpack .../0-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 .../1-libgfortran5_10.5.0-1ubuntu1~20.04_amd64.deb ... Unpacking libgfortran5:amd64 (10.5.0-1ubuntu1~20.04) ... Selecting previously unselected package libgfortran-9-dev:amd64. Preparing to unpack .../2-libgfortran-9-dev_9.4.0-1ubuntu1~20.04.2_amd64.deb ... Unpacking libgfortran-9-dev:amd64 (9.4.0-1ubuntu1~20.04.2) ... Selecting previously unselected package gfortran-9. Preparing to unpack .../3-gfortran-9_9.4.0-1ubuntu1~20.04.2_amd64.deb ... Unpacking gfortran-9 (9.4.0-1ubuntu1~20.04.2) ... Selecting previously unselected package gfortran. Preparing to unpack .../4-gfortran_4%3a9.3.0-1ubuntu2_amd64.deb ... Unpacking gfortran (4:9.3.0-1ubuntu2) ... Selecting previously unselected package libann0. Preparing to unpack .../5-libann0_1.1.2+doc-7build1_amd64.deb ... Unpacking libann0 (1.1.2+doc-7build1) ... Selecting previously unselected package graphviz. Preparing to unpack .../6-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.5.0-1ubuntu1~20.04) ... Setting up fonts-liberation (1:1.07.4-11) ... Setting up graphviz (2.42.2-3build2) ... Setting up libgfortran-9-dev:amd64 (9.4.0-1ubuntu1~20.04.2) ... Setting up gfortran-9 (9.4.0-1ubuntu1~20.04.2) ... 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.14) ... Processing triggers for fontconfig (2.13.1-2ubuntu3) ... [rtd-command-info] start-time: 2024-02-15T16:47:06.255304Z, end-time: 2024-02-15T16:47:06.336090Z, duration: 0, exit-code: 0 asdf global python 3.8.18 [rtd-command-info] start-time: 2024-02-15T16:47:06.750333Z, end-time: 2024-02-15T16:47:07.926913Z, duration: 1, exit-code: 0 python -mvirtualenv $READTHEDOCS_VIRTUALENV_PATH created virtual environment CPython3.8.18.final.0-64 in 862ms creator CPython3Posix(dest=/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-hipfort/envs/docs-6.0.2, 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==23.1, setuptools==67.6.1, wheel==0.40.0 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator [rtd-command-info] start-time: 2024-02-15T16:47:07.996456Z, end-time: 2024-02-15T16:47:18.520777Z, duration: 10, 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-6.0.2/lib/python3.8/site-packages (23.1) Collecting pip Downloading pip-24.0-py3-none-any.whl (2.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.1/2.1 MB 29.2 MB/s eta 0:00:00 Requirement already satisfied: setuptools in /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-hipfort/envs/docs-6.0.2/lib/python3.8/site-packages (67.6.1) Collecting setuptools Downloading setuptools-69.1.0-py3-none-any.whl (819 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 819.3/819.3 kB 141.0 MB/s eta 0:00:00 Installing collected packages: setuptools, pip Attempting uninstall: setuptools Found existing installation: setuptools 67.6.1 Uninstalling setuptools-67.6.1: Successfully uninstalled setuptools-67.6.1 Attempting uninstall: pip Found existing installation: pip 23.1 Uninstalling pip-23.1: Successfully uninstalled pip-23.1 Successfully installed pip-24.0 setuptools-69.1.0 [rtd-command-info] start-time: 2024-02-15T16:47:18.594647Z, end-time: 2024-02-15T16:47:24.901632Z, duration: 6, exit-code: 0 python -m pip install --upgrade --no-cache-dir sphinx readthedocs-sphinx-ext Collecting sphinx Downloading sphinx-7.1.2-py3-none-any.whl.metadata (5.8 kB) Collecting readthedocs-sphinx-ext Downloading readthedocs_sphinx_ext-2.2.5-py2.py3-none-any.whl.metadata (1.5 kB) Collecting sphinxcontrib-applehelp (from sphinx) Downloading sphinxcontrib_applehelp-1.0.4-py3-none-any.whl (120 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 120.6/120.6 kB 8.2 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 218.1 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 226.8 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 227.3 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 231.5 MB/s eta 0:00:00 Collecting Jinja2>=3.0 (from sphinx) Downloading Jinja2-3.1.3-py3-none-any.whl.metadata (3.3 kB) Collecting Pygments>=2.13 (from sphinx) Downloading pygments-2.17.2-py3-none-any.whl.metadata (2.6 kB) Collecting docutils<0.21,>=0.18.1 (from sphinx) Downloading docutils-0.20.1-py3-none-any.whl.metadata (2.8 kB) Collecting snowballstemmer>=2.0 (from sphinx) Downloading snowballstemmer-2.2.0-py2.py3-none-any.whl (93 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 93.0/93.0 kB 228.8 MB/s eta 0:00:00 Collecting babel>=2.9 (from sphinx) Downloading Babel-2.14.0-py3-none-any.whl.metadata (1.6 kB) Collecting alabaster<0.8,>=0.7 (from sphinx) Downloading alabaster-0.7.13-py3-none-any.whl (13 kB) 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.metadata (4.6 kB) Collecting packaging>=21.0 (from sphinx) Downloading packaging-23.2-py3-none-any.whl.metadata (3.2 kB) Collecting importlib-metadata>=4.8 (from sphinx) Downloading importlib_metadata-7.0.1-py3-none-any.whl.metadata (4.9 kB) Collecting pytz>=2015.7 (from babel>=2.9->sphinx) Downloading pytz-2024.1-py2.py3-none-any.whl.metadata (22 kB) Collecting zipp>=0.5 (from importlib-metadata>=4.8->sphinx) Downloading zipp-3.17.0-py3-none-any.whl.metadata (3.7 kB) Collecting MarkupSafe>=2.0 (from Jinja2>=3.0->sphinx) Downloading MarkupSafe-2.1.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.0 kB) Collecting charset-normalizer<4,>=2 (from requests>=2.25.0->sphinx) Downloading charset_normalizer-3.3.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (33 kB) Collecting idna<4,>=2.5 (from requests>=2.25.0->sphinx) Downloading idna-3.6-py3-none-any.whl.metadata (9.9 kB) Collecting urllib3<3,>=1.21.1 (from requests>=2.25.0->sphinx) Downloading urllib3-2.2.0-py3-none-any.whl.metadata (6.4 kB) Collecting certifi>=2017.4.17 (from requests>=2.25.0->sphinx) Downloading certifi-2024.2.2-py3-none-any.whl.metadata (2.2 kB) Downloading sphinx-7.1.2-py3-none-any.whl (3.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.2/3.2 MB 111.8 MB/s eta 0:00:00 Downloading readthedocs_sphinx_ext-2.2.5-py2.py3-none-any.whl (11 kB) Downloading Babel-2.14.0-py3-none-any.whl (11.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.0/11.0 MB 212.1 MB/s eta 0:00:00 Downloading docutils-0.20.1-py3-none-any.whl (572 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 572.7/572.7 kB 269.1 MB/s eta 0:00:00 Downloading importlib_metadata-7.0.1-py3-none-any.whl (23 kB) Downloading Jinja2-3.1.3-py3-none-any.whl (133 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.2/133.2 kB 238.1 MB/s eta 0:00:00 Downloading packaging-23.2-py3-none-any.whl (53 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 53.0/53.0 kB 155.3 MB/s eta 0:00:00 Downloading pygments-2.17.2-py3-none-any.whl (1.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 255.5 MB/s eta 0:00:00 Downloading requests-2.31.0-py3-none-any.whl (62 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.6/62.6 kB 204.7 MB/s eta 0:00:00 Downloading certifi-2024.2.2-py3-none-any.whl (163 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 163.8/163.8 kB 236.4 MB/s eta 0:00:00 Downloading charset_normalizer-3.3.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (141 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 141.1/141.1 kB 245.4 MB/s eta 0:00:00 Downloading idna-3.6-py3-none-any.whl (61 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.6/61.6 kB 209.1 MB/s eta 0:00:00 Downloading MarkupSafe-2.1.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (26 kB) Downloading pytz-2024.1-py2.py3-none-any.whl (505 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 505.5/505.5 kB 240.7 MB/s eta 0:00:00 Downloading urllib3-2.2.0-py3-none-any.whl (120 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 120.9/120.9 kB 238.7 MB/s eta 0:00:00 Downloading zipp-3.17.0-py3-none-any.whl (7.4 kB) Installing collected packages: snowballstemmer, pytz, zipp, urllib3, sphinxcontrib-serializinghtml, sphinxcontrib-qthelp, sphinxcontrib-jsmath, sphinxcontrib-htmlhelp, sphinxcontrib-devhelp, sphinxcontrib-applehelp, Pygments, packaging, MarkupSafe, imagesize, idna, docutils, charset-normalizer, certifi, babel, alabaster, requests, Jinja2, importlib-metadata, sphinx, readthedocs-sphinx-ext Successfully installed Jinja2-3.1.3 MarkupSafe-2.1.5 Pygments-2.17.2 alabaster-0.7.13 babel-2.14.0 certifi-2024.2.2 charset-normalizer-3.3.2 docutils-0.20.1 idna-3.6 imagesize-1.4.1 importlib-metadata-7.0.1 packaging-23.2 pytz-2024.1 readthedocs-sphinx-ext-2.2.5 requests-2.31.0 snowballstemmer-2.2.0 sphinx-7.1.2 sphinxcontrib-applehelp-1.0.4 sphinxcontrib-devhelp-1.0.2 sphinxcontrib-htmlhelp-2.0.1 sphinxcontrib-jsmath-1.0.1 sphinxcontrib-qthelp-1.0.3 sphinxcontrib-serializinghtml-1.1.5 urllib3-2.2.0 zipp-3.17.0 [rtd-command-info] start-time: 2024-02-15T16:47:24.972535Z, end-time: 2024-02-15T16:47:38.148130Z, duration: 13, 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-6.0.2/lib/python3.8/site-packages (from -r docs/sphinx/requirements.txt (line 9)) (0.7.13) Collecting babel==2.12.1 (from -r docs/sphinx/requirements.txt (line 11)) Downloading Babel-2.12.1-py3-none-any.whl (10.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 10.1/10.1 MB 111.5 MB/s eta 0:00:00 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 223.4 MB/s eta 0:00:00 Collecting breathe==4.34.0 (from -r docs/sphinx/requirements.txt (line 17)) Downloading breathe-4.34.0-py3-none-any.whl (92 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 92.8/92.8 kB 191.9 MB/s eta 0:00:00 Collecting certifi==2022.12.7 (from -r docs/sphinx/requirements.txt (line 19)) Downloading certifi-2022.12.7-py3-none-any.whl (155 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 155.3/155.3 kB 235.2 MB/s eta 0:00:00 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 250.2 MB/s eta 0:00:00 Collecting charset-normalizer==3.1.0 (from -r docs/sphinx/requirements.txt (line 25)) Downloading charset_normalizer-3.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (195 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 195.9/195.9 kB 242.6 MB/s eta 0:00:00 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 218.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==40.0.2 (from -r docs/sphinx/requirements.txt (line 34)) Downloading cryptography-40.0.2-cp36-abi3-manylinux_2_28_x86_64.whl.metadata (5.4 kB) Collecting deprecated==1.2.13 (from -r docs/sphinx/requirements.txt (line 36)) Downloading Deprecated-1.2.13-py2.py3-none-any.whl (9.6 kB) Collecting docutils==0.16 (from -r docs/sphinx/requirements.txt (line 38)) Downloading docutils-0.16-py2.py3-none-any.whl (548 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 548.2/548.2 kB 252.8 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.metadata (4.3 kB) Collecting fastjsonschema==2.16.3 (from -r docs/sphinx/requirements.txt (line 46)) Downloading fastjsonschema-2.16.3-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 197.9 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 234.5 MB/s eta 0:00:00 Collecting idna==3.4 (from -r docs/sphinx/requirements.txt (line 52)) Downloading idna-3.4-py3-none-any.whl (61 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 kB 197.8 MB/s eta 0:00:00 Requirement already satisfied: imagesize==1.4.1 in /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-hipfort/envs/docs-6.0.2/lib/python3.8/site-packages (from -r docs/sphinx/requirements.txt (line 54)) (1.4.1) Collecting importlib-metadata==6.4.1 (from -r docs/sphinx/requirements.txt (line 56)) Downloading importlib_metadata-6.4.1-py3-none-any.whl.metadata (5.0 kB) Collecting importlib-resources==5.10.4 (from -r docs/sphinx/requirements.txt (line 58)) Downloading importlib_resources-5.10.4-py3-none-any.whl (34 kB) Collecting jinja2==3.1.2 (from -r docs/sphinx/requirements.txt (line 60)) Downloading Jinja2-3.1.2-py3-none-any.whl (133 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.1/133.1 kB 239.0 MB/s eta 0:00:00 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 183.7 MB/s eta 0:00:00 Collecting lxml==4.9.2 (from -r docs/sphinx/requirements.txt (line 66)) 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 182.1 MB/s eta 0:00:00 Collecting markdown-it-py==2.2.0 (from -r docs/sphinx/requirements.txt (line 68)) Downloading markdown_it_py-2.2.0-py3-none-any.whl (84 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 84.5/84.5 kB 211.5 MB/s eta 0:00:00 Collecting markupsafe==2.1.2 (from -r docs/sphinx/requirements.txt (line 72)) Downloading MarkupSafe-2.1.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB) Collecting mdit-py-plugins==0.3.5 (from -r docs/sphinx/requirements.txt (line 74)) Downloading mdit_py_plugins-0.3.5-py3-none-any.whl (52 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 52.1/52.1 kB 187.7 MB/s eta 0:00:00 Collecting mdurl==0.1.2 (from -r docs/sphinx/requirements.txt (line 76)) Downloading mdurl-0.1.2-py3-none-any.whl (10.0 kB) Collecting mpire==2.7.1 (from -r docs/sphinx/requirements.txt (line 78)) Downloading mpire-2.7.1-py3-none-any.whl.metadata (13 kB) Collecting myst-parser==1.0.0 (from -r docs/sphinx/requirements.txt (line 80)) Downloading myst_parser-1.0.0-py3-none-any.whl (77 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 77.3/77.3 kB 212.7 MB/s eta 0:00:00 Collecting packaging==23.1 (from -r docs/sphinx/requirements.txt (line 82)) Downloading packaging-23.1-py3-none-any.whl (48 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.9/48.9 kB 191.7 MB/s eta 0:00:00 Collecting pycparser==2.21 (from -r docs/sphinx/requirements.txt (line 86)) Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 118.7/118.7 kB 231.3 MB/s eta 0:00:00 Collecting pydata-sphinx-theme==0.13.3 (from -r docs/sphinx/requirements.txt (line 88)) Downloading pydata_sphinx_theme-0.13.3-py3-none-any.whl (2.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.0/2.0 MB 235.1 MB/s eta 0:00:00 Collecting pygithub==1.58.2 (from -r docs/sphinx/requirements.txt (line 92)) Downloading PyGithub-1.58.2-py3-none-any.whl.metadata (1.8 kB) Collecting pygments==2.15.0 (from -r docs/sphinx/requirements.txt (line 94)) Downloading Pygments-2.15.0-py3-none-any.whl (1.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 257.4 MB/s eta 0:00:00 Collecting pyjson5==1.6.2 (from -r docs/sphinx/requirements.txt (line 100)) 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 249.4 MB/s eta 0:00:00 Collecting pyjwt==2.6.0 (from pyjwt[crypto]==2.6.0->-r docs/sphinx/requirements.txt (line 102)) Downloading PyJWT-2.6.0-py3-none-any.whl (20 kB) Collecting pynacl==1.5.0 (from -r docs/sphinx/requirements.txt (line 104)) 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 254.9 MB/s eta 0:00:00 Collecting pyparsing==3.0.9 (from -r docs/sphinx/requirements.txt (line 106)) Downloading pyparsing-3.0.9-py3-none-any.whl (98 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 98.3/98.3 kB 226.7 MB/s eta 0:00:00 Collecting pytz==2023.3 (from -r docs/sphinx/requirements.txt (line 108)) Downloading pytz-2023.3-py2.py3-none-any.whl (502 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 502.3/502.3 kB 260.2 MB/s eta 0:00:00 Collecting pyyaml==6.0 (from -r docs/sphinx/requirements.txt (line 110)) 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 248.5 MB/s eta 0:00:00 Collecting requests==2.28.2 (from -r docs/sphinx/requirements.txt (line 115)) Downloading requests-2.28.2-py3-none-any.whl (62 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.8/62.8 kB 207.8 MB/s eta 0:00:00 Collecting rocm-docs-core>=0.24.0 (from rocm-docs-core[api_reference]>=0.24.0->-r docs/sphinx/requirements.txt (line 119)) Downloading rocm_docs_core-0.34.0-py3-none-any.whl.metadata (4.1 kB) Collecting smmap==5.0.0 (from -r docs/sphinx/requirements.txt (line 121)) 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-6.0.2/lib/python3.8/site-packages (from -r docs/sphinx/requirements.txt (line 123)) (2.2.0) Collecting soupsieve==2.4.1 (from -r docs/sphinx/requirements.txt (line 125)) Downloading soupsieve-2.4.1-py3-none-any.whl.metadata (4.7 kB) Collecting sphinx==5.3.0 (from -r docs/sphinx/requirements.txt (line 127)) Downloading sphinx-5.3.0-py3-none-any.whl (3.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.2/3.2 MB 198.1 MB/s eta 0:00:00 Collecting sphinx-book-theme==1.0.1 (from -r docs/sphinx/requirements.txt (line 138)) Downloading sphinx_book_theme-1.0.1-py3-none-any.whl (396 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 396.9/396.9 kB 249.5 MB/s eta 0:00:00 Collecting sphinx-copybutton==0.5.1 (from -r docs/sphinx/requirements.txt (line 140)) Downloading sphinx_copybutton-0.5.1-py3-none-any.whl (13 kB) Collecting sphinx-design==0.3.0 (from -r docs/sphinx/requirements.txt (line 142)) Downloading sphinx_design-0.3.0-py3-none-any.whl (2.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.2/2.2 MB 219.4 MB/s eta 0:00:00 Collecting sphinx-external-toc==0.3.1 (from -r docs/sphinx/requirements.txt (line 144)) 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 146)) 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-6.0.2/lib/python3.8/site-packages (from -r docs/sphinx/requirements.txt (line 148)) (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-6.0.2/lib/python3.8/site-packages (from -r docs/sphinx/requirements.txt (line 150)) (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-6.0.2/lib/python3.8/site-packages (from -r docs/sphinx/requirements.txt (line 152)) (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-6.0.2/lib/python3.8/site-packages (from -r docs/sphinx/requirements.txt (line 154)) (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-6.0.2/lib/python3.8/site-packages (from -r docs/sphinx/requirements.txt (line 156)) (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-6.0.2/lib/python3.8/site-packages (from -r docs/sphinx/requirements.txt (line 158)) (1.1.5) Collecting tqdm==4.65.0 (from -r docs/sphinx/requirements.txt (line 160)) Downloading tqdm-4.65.0-py3-none-any.whl (77 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 77.1/77.1 kB 216.5 MB/s eta 0:00:00 Collecting typing-extensions==4.5.0 (from -r docs/sphinx/requirements.txt (line 162)) Downloading typing_extensions-4.5.0-py3-none-any.whl (27 kB) Collecting urllib3==1.26.15 (from -r docs/sphinx/requirements.txt (line 164)) Downloading urllib3-1.26.15-py2.py3-none-any.whl (140 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 140.9/140.9 kB 239.4 MB/s eta 0:00:00 Collecting wrapt==1.15.0 (from -r docs/sphinx/requirements.txt (line 166)) 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 195.6 MB/s eta 0:00:00 Collecting zipp==3.15.0 (from -r docs/sphinx/requirements.txt (line 168)) Downloading zipp-3.15.0-py3-none-any.whl (6.8 kB) WARNING: rocm-docs-core 0.34.0 does not provide the extra 'api-reference' Downloading cryptography-40.0.2-cp36-abi3-manylinux_2_28_x86_64.whl (3.7 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.7/3.7 MB 165.7 MB/s eta 0:00:00 Downloading doxysphinx-3.3.3-py3-none-any.whl (41 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 41.5/41.5 kB 173.4 MB/s eta 0:00:00 Downloading importlib_metadata-6.4.1-py3-none-any.whl (22 kB) Downloading mpire-2.7.1-py3-none-any.whl (302 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 302.0/302.0 kB 231.4 MB/s eta 0:00:00 Downloading PyGithub-1.58.2-py3-none-any.whl (312 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 312.5/312.5 kB 252.6 MB/s eta 0:00:00 Downloading soupsieve-2.4.1-py3-none-any.whl (36 kB) Downloading rocm_docs_core-0.34.0-py3-none-any.whl (1.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 251.4 MB/s eta 0:00:00 Installing collected packages: pytz, fastjsonschema, zipp, wrapt, urllib3, typing-extensions, tqdm, soupsieve, smmap, pyyaml, pyparsing, pyjwt, pyjson5, pygments, pycparser, packaging, mdurl, markupsafe, lxml, libsass, idna, docutils, click, charset-normalizer, certifi, babel, requests, mpire, markdown-it-py, jinja2, importlib-resources, importlib-metadata, gitdb, deprecated, click-log, cffi, beautifulsoup4, accessible-pygments, sphinx, pynacl, mdit-py-plugins, gitpython, doxysphinx, cryptography, sphinx-notfound-page, sphinx-external-toc, sphinx-design, sphinx-copybutton, pydata-sphinx-theme, myst-parser, breathe, sphinx-book-theme, pygithub, rocm-docs-core Attempting uninstall: pytz Found existing installation: pytz 2024.1 Uninstalling pytz-2024.1: Successfully uninstalled pytz-2024.1 Attempting uninstall: zipp Found existing installation: zipp 3.17.0 Uninstalling zipp-3.17.0: Successfully uninstalled zipp-3.17.0 Attempting uninstall: urllib3 Found existing installation: urllib3 2.2.0 Uninstalling urllib3-2.2.0: Successfully uninstalled urllib3-2.2.0 Attempting uninstall: pygments Found existing installation: Pygments 2.17.2 Uninstalling Pygments-2.17.2: Successfully uninstalled Pygments-2.17.2 Attempting uninstall: packaging Found existing installation: packaging 23.2 Uninstalling packaging-23.2: Successfully uninstalled packaging-23.2 Attempting uninstall: markupsafe Found existing installation: MarkupSafe 2.1.5 Uninstalling MarkupSafe-2.1.5: Successfully uninstalled MarkupSafe-2.1.5 Attempting uninstall: idna Found existing installation: idna 3.6 Uninstalling idna-3.6: Successfully uninstalled idna-3.6 Attempting uninstall: docutils Found existing installation: docutils 0.20.1 Uninstalling docutils-0.20.1: Successfully uninstalled docutils-0.20.1 Attempting uninstall: charset-normalizer Found existing installation: charset-normalizer 3.3.2 Uninstalling charset-normalizer-3.3.2: Successfully uninstalled charset-normalizer-3.3.2 Attempting uninstall: certifi Found existing installation: certifi 2024.2.2 Uninstalling certifi-2024.2.2: Successfully uninstalled certifi-2024.2.2 Attempting uninstall: babel Found existing installation: Babel 2.14.0 Uninstalling Babel-2.14.0: Successfully uninstalled Babel-2.14.0 Attempting uninstall: requests Found existing installation: requests 2.31.0 Uninstalling requests-2.31.0: Successfully uninstalled requests-2.31.0 Attempting uninstall: jinja2 Found existing installation: Jinja2 3.1.3 Uninstalling Jinja2-3.1.3: Successfully uninstalled Jinja2-3.1.3 Attempting uninstall: importlib-metadata Found existing installation: importlib-metadata 7.0.1 Uninstalling importlib-metadata-7.0.1: Successfully uninstalled importlib-metadata-7.0.1 Attempting uninstall: sphinx Found existing installation: Sphinx 7.1.2 Uninstalling Sphinx-7.1.2: Successfully uninstalled Sphinx-7.1.2 Successfully installed accessible-pygments-0.0.4 babel-2.12.1 beautifulsoup4-4.12.2 breathe-4.34.0 certifi-2022.12.7 cffi-1.15.1 charset-normalizer-3.1.0 click-8.1.3 click-log-0.4.0 cryptography-40.0.2 deprecated-1.2.13 docutils-0.16 doxysphinx-3.3.3 fastjsonschema-2.16.3 gitdb-4.0.10 gitpython-3.1.31 idna-3.4 importlib-metadata-6.4.1 importlib-resources-5.10.4 jinja2-3.1.2 libsass-0.22.0 lxml-4.9.2 markdown-it-py-2.2.0 markupsafe-2.1.2 mdit-py-plugins-0.3.5 mdurl-0.1.2 mpire-2.7.1 myst-parser-1.0.0 packaging-23.1 pycparser-2.21 pydata-sphinx-theme-0.13.3 pygithub-1.58.2 pygments-2.15.0 pyjson5-1.6.2 pyjwt-2.6.0 pynacl-1.5.0 pyparsing-3.0.9 pytz-2023.3 pyyaml-6.0 requests-2.28.2 rocm-docs-core-0.34.0 smmap-5.0.0 soupsieve-2.4.1 sphinx-5.3.0 sphinx-book-theme-1.0.1 sphinx-copybutton-0.5.1 sphinx-design-0.3.0 sphinx-external-toc-0.3.1 sphinx-notfound-page-0.8.3 tqdm-4.65.0 typing-extensions-4.5.0 urllib3-1.26.15 wrapt-1.15.0 zipp-3.15.0 [rtd-command-info] start-time: 2024-02-15T16:47:39.278556Z, end-time: 2024-02-15T16:47:39.340544Z, 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 re import shutil import subprocess from pathlib import Path from typing import Any, Dict, List 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), ] ) with open('../CMakeLists.txt', encoding='utf-8') as f: match = re.search(r'.*\bHIPFORT_VERSION\s+\"?([0-9.]+)[^0-9.]+', f.read()) if not match: raise ValueError("HIPFORT_VERSION not found!") version_number = match[1] left_nav_title = f"hipfort {version_number} Documentation" # for PDF output on Read the Docs project = "hipfort Documentation" author = "Advanced Micro Devices, Inc." copyright = "Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved." version = version_number release = version_number external_toc_path = "./sphinx/_toc.yml" docs_core = ROCmDocs(left_nav_title) docs_core.run_doxygen(doxygen_root="doxygen", doxygen_path="doxygen/xml") docs_core.enable_api_reference() docs_core.setup() external_projects_current_project = "hipfort" 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') # Define this variable in case it's not defined by the user. # It defaults to `alabaster` which is the default from Sphinx. # https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-html_theme html_theme = globals().get('html_theme', 'alabaster') #Add project information to the template context. context = { 'html_theme': html_theme, 'current_version': "docs/6.0.2", 'version_slug': "docs-6.0.2", '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-6.0.2", "/en/docs-6.0.2/"), ("docs-6.0.0", "/en/docs-6.0.0/"), ("docs-5.7.1", "/en/docs-5.7.1/"), ("docs-5.7.0", "/en/docs-5.7.0/"), ("docs-5.6.1", "/en/docs-5.6.1/"), ("docs-5.6.0", "/en/docs-5.6.0/"), ("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': [ ("pdf", "//rocm.docs.amd.com/_/downloads/hipfort/en/docs-6.0.2/pdf/"), ("html", "//rocm.docs.amd.com/_/downloads/hipfort/en/docs-6.0.2/htmlzip/"), ("epub", "//rocm.docs.amd.com/_/downloads/hipfort/en/docs-6.0.2/epub/"), ], '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/6.0.2', 'display_github': True, 'bitbucket_user': 'None', 'bitbucket_repo': 'None', 'bitbucket_version': 'docs/6.0.2', 'display_bitbucket': False, 'gitlab_user': 'None', 'gitlab_repo': 'None', 'gitlab_version': 'docs/6.0.2', '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': 'edb782f1', } # 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/2019445/' 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'])