File tree Expand file tree Collapse file tree 2 files changed +16
-3
lines changed
subprojects/packagefiles/ecl/src Expand file tree Collapse file tree 2 files changed +16
-3
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,13 @@ requires = [
13
13
' numpy >=1.25' ,
14
14
' jinja2'
15
15
]
16
+ [tool .meson-python .args ]
17
+ # Prevent meson from trying to install the autoconf subprojects
18
+ # otherwise we hit https://github.com/mesonbuild/meson-python/issues/598
19
+ # The subprojects have to set the rpath to the build directory, which should work as long as
20
+ # we don't use build isolation.
21
+ install = [' --skip-subprojects' , ' ecl' ]
22
+
16
23
[project ]
17
24
name = " sagemath"
18
25
description = " Sage: Open Source Mathematics Software: Standard Python Library"
Original file line number Diff line number Diff line change 1
1
proj = mod.add_project(' configure' ,
2
2
configure_options : [
3
- ' --enable-manual=no' ,
4
- ' --enable-unicode=yes' ,
5
- ' --with-defsystem'
3
+ ' --enable-manual=no' ,
4
+ ' --enable-unicode=yes' ,
5
+ ' --with-defsystem' ,
6
6
],
7
7
)
8
8
9
9
ecl_dep = proj.dependency (' ecl' )
10
+ # Ugly workaround to include the rpath in the dependency
11
+ # https://github.com/mesonbuild/meson/issues/12970
12
+ ecl_rpath_dep = declare_dependency (link_args : ' -Wl,-rpath,' + meson .current_build_dir() + ' /dist/usr/local/lib64' )
13
+ ecl_dep = declare_dependency (
14
+ dependencies : [ecl_dep, ecl_rpath_dep],
15
+ )
10
16
meson .override_dependency(' ecl' , ecl_dep)
You can’t perform that action at this time.
0 commit comments