File tree 6 files changed +170
-3
lines changed
6 files changed +170
-3
lines changed Original file line number Diff line number Diff line change @@ -21,14 +21,15 @@ jobs:
21
21
- name : Install dependencies
22
22
run : |
23
23
sudo apt-get update
24
- sudo apt-get install -y black cmake clang-format-15 cmake-format libhwloc-dev
24
+ sudo apt-get install -y black cmake clang-format-15 cmake-format libhwloc-dev doxygen
25
25
26
26
# Latest distros do not allow global pip installation
27
27
- name : Install Python requirements in venv
28
28
run : |
29
29
python3 -m venv .venv
30
30
. .venv/bin/activate
31
31
echo "$PATH" >> $GITHUB_PATH
32
+ python3 -m pip install -r third_party/requirements.txt
32
33
python3 -m pip install bandit codespell
33
34
34
35
- name : Configure CMake
60
61
- name : Run codespell
61
62
run : python3 ./.github/scripts/run-codespell.py
62
63
64
+ - name : Check spelling in docs
65
+ run : |
66
+ cmake -B build
67
+ cmake --build build --target docs
68
+ sphinx-build -b spelling ./build/docs_build/config ./build/docs_build/spelling_log -W
69
+
63
70
# Run Bandit recursively, but omit _deps directory (with 3rd party code) and python's venv
64
71
- name : Run Bandit
65
72
run : python3 -m bandit -r . -x '/_deps/,/.venv/'
Original file line number Diff line number Diff line change @@ -445,7 +445,7 @@ INLINE_SIMPLE_STRUCTS = NO
445
445
# types are typedef'ed and only the typedef is referenced, never the tag name.
446
446
# The default value is: NO.
447
447
448
- TYPEDEF_HIDES_STRUCT = NO
448
+ TYPEDEF_HIDES_STRUCT = YES
449
449
450
450
# The size of the symbol lookup cache can be set using LOOKUP_CACHE_SIZE. This
451
451
# cache is used to resolve symbols given their name and scope. Since this can be
Original file line number Diff line number Diff line change 30
30
# Add any Sphinx extension module names here, as strings. They can be
31
31
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
32
32
# ones.
33
- extensions = ["breathe" ]
33
+ extensions = ["breathe" , "sphinxcontrib.spelling" ]
34
+
35
+ spelling_show_suggestions = True
36
+ spelling_word_list_filename = "spelling_exceptions.txt"
34
37
35
38
# List of patterns, relative to source directory, that match files and
36
39
# directories to ignore when looking for source files.
Original file line number Diff line number Diff line change
1
+ allocator
2
+ allocators
3
+ Allocators
4
+ oneTBB
5
+ stdout
6
+ pid
7
+ customizable
8
+ deallocations
9
+ malloc
10
+ jemalloc
11
+ Jemalloc
12
+ umfPoolRealloc
13
+ umfPoolCalloc
14
+ umfPoolMallocUsableSize
15
+ daxX
16
+ dev
17
+ Memspace
18
+ memspaces
19
+ Mempolicy
20
+ mempolicies
21
+ Memtarget
22
+ memtargets
23
+ umfOsMemoryProviderParamsDestroy
24
+ CXL
25
+ oneAPI
26
+ mem
27
+ Globals
28
+ umfMemoryProviderGetLastNativeError
29
+ deallocating
30
+ umfPoolDestroy
31
+ umfPool
32
+ umf
33
+ hPool
34
+ ptr
35
+ calloc
36
+ realloc
37
+ hProvider
38
+ umfPoolGetTag
39
+ poolable
40
+ unfreed
41
+ tp
42
+ deallocating
43
+ addr
44
+ ipc
45
+ providerIpcData
46
+ providential
47
+ umfMemoryProviderAlloc
48
+ preallocated
49
+ providerIpcData
50
+ umfMemoryProviderOpenIPCHandle
51
+ lowPtr
52
+ highPtr
53
+ pre
54
+ params
55
+ linux
56
+ nodemask
57
+ Nodemask
58
+ maxnode
59
+ deallocation
60
+ Devdax
61
+ numa
62
+ umfMemspaceUserFilter
63
+ memspace
64
+ hMemtarget
65
+ umfMemspaceMemtargetAdd
66
+ memtarget
67
+ mempolicy
68
+ partList
69
+ umfGetIPCHandle
70
+ interprocess
71
+ Tiering
72
+ tiering
73
+ preallocated
74
+ deallocation
75
+ io
76
+ multithreading
77
+ middleware
Original file line number Diff line number Diff line change
1
+ addr
2
+ allocatable
3
+ allocator
4
+ allocators
5
+ calloc
6
+ CXL
7
+ copyable
8
+ customizable
9
+ daxX
10
+ de
11
+ deallocation
12
+ deallocating
13
+ deallocations
14
+ Devdax
15
+ dev
16
+ Globals
17
+ hMemtarget
18
+ hPool
19
+ hProvider
20
+ highPtr
21
+ io
22
+ interprocess
23
+ ipc
24
+ jemalloc
25
+ lowPtr
26
+ malloc
27
+ maxnode
28
+ mem
29
+ mempolicies
30
+ mempolicy
31
+ Mempolicy
32
+ memspace
33
+ Memspace
34
+ memspaces
35
+ Memtarget
36
+ memtarget
37
+ memtargets
38
+ middleware
39
+ multithreading
40
+ Nodemask
41
+ nodemask
42
+ numa
43
+ oneAPI
44
+ oneTBB
45
+ os
46
+ params
47
+ partList
48
+ pid
49
+ poolable
50
+ pre
51
+ preallocated
52
+ preallocated
53
+ providerIpcData
54
+ providerIpcData
55
+ providential
56
+ ptr
57
+ realloc
58
+ Scalable
59
+ scalable
60
+ stdout
61
+ Tiering
62
+ tiering
63
+ topologies
64
+ umf
65
+ umfGetIPCHandle
66
+ umfMemoryProviderAlloc
67
+ umfMemoryProviderGetLastNativeError
68
+ umfMemoryProviderOpenIPCHandle
69
+ umfOsMemoryProviderParamsDestroy
70
+ umfPool
71
+ umfPoolCalloc
72
+ umfPoolDestroy
73
+ umfPoolGetTag
74
+ umfPoolMallocUsableSize
75
+ umfPoolRealloc
76
+ umfMemspaceUserFilter
77
+ umfMemspaceMemtargetAdd
78
+ unfreed
Original file line number Diff line number Diff line change @@ -7,11 +7,13 @@ black==24.3.0
7
7
packaging == 24.2
8
8
# Generating HTML documentation
9
9
pygments == 2.18.0
10
+ pyenchant == 3.2.2
10
11
sphinxcontrib_applehelp == 2.0.0
11
12
sphinxcontrib_devhelp == 2.0.0
12
13
sphinxcontrib_htmlhelp == 2.1.0
13
14
sphinxcontrib_serializinghtml == 2.0.0
14
15
sphinxcontrib_qthelp == 2.0.0
15
16
breathe == 4.35.0
17
+ sphinxcontrib-spelling == 8.0.0
16
18
sphinx == 8.1.3
17
19
sphinx_book_theme == 1.1.3
You can’t perform that action at this time.
0 commit comments