Skip to content

Commit

Permalink
Meson: build groups even without gap
Browse files Browse the repository at this point in the history
`group.pyx` compiles fine also without gap installed.
  • Loading branch information
tobiasdiez committed Jan 4, 2025
1 parent c9dd1e8 commit 687fe36
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/sage/groups/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,17 @@ extension_data = {
}

foreach name, pyx : extension_data
deps = [py_dep, gmp]
if name == 'libgap_wrapper'
deps += [gap]
endif
py.extension_module(
name,
sources: pyx,
subdir: 'sage/groups',
install: true,
include_directories: [inc_cpython],
dependencies: [py_dep, gmp, gap],
dependencies: deps,
)
endforeach

Expand Down

0 comments on commit 687fe36

Please sign in to comment.