@@ -63,9 +63,8 @@ include = ["darshan"]
63
63
version = {attr = " darshan.__version__" }
64
64
65
65
[tool .cibuildwheel ]
66
- environment = " PYDARSHAN_BUILD_EXT=1"
67
66
skip = [
68
- " cp36 -*" ,
67
+ " cp37 -*" ,
69
68
" pp*" ,
70
69
" *musllinux*" ,
71
70
" *i686*" ,
@@ -90,22 +89,37 @@ before-all = [
90
89
" yum install -y libjpeg libjpeg-devel" ,
91
90
" git submodule update --init" ,
92
91
" ./prepare.sh" ,
93
- " ./configure --disable-darshan-runtime --enable-apxc-mod --enable-apmpi-mod" ,
92
+ " ./configure --prefix=$PWD/darshan_install -- disable-darshan-runtime --enable-apxc-mod --enable-apmpi-mod" ,
94
93
" make install"
95
94
]
96
- repair-wheel-command = " auditwheel repair -w {dest_dir} {wheel}"
95
+ repair-wheel-command = [
96
+ " auditwheel repair -w {dest_dir} {wheel}"
97
+ ]
98
+
99
+ [tool .cibuildwheel .linux .environment ]
100
+ DARSHAN_LIBRARY_PATH =" $PWD/darshan_install/lib"
101
+ LIBRARY_PATH =" $LIBRARY_PATH:$DARSHAN_LIBRARY_PATH"
102
+ LD_LIBRARY_PATH =" $LD_LIBRARY_PATH:$DARSHAN_LIBRARY_PATH"
103
+ PYDARSHAN_BUILD_EXT =1
97
104
98
105
[tool .cibuildwheel .macos ]
99
106
before-all = [
100
107
" brew install automake" ,
108
+ " brew install libtool" ,
101
109
" brew install openblas" ,
102
110
" brew install lapack" ,
103
111
" git submodule update --init" ,
104
112
" ./prepare.sh" ,
105
- " ./configure --disable-darshan-runtime --enable-apxc-mod --enable-apmpi-mod" ,
113
+ " ./configure --prefix=$PWD/darshan_install -- disable-darshan-runtime --enable-apxc-mod --enable-apmpi-mod" ,
106
114
" make install"
107
115
]
108
116
repair-wheel-command = [
109
- " delocate-listdeps {wheel}" ,
110
- " delocate-wheel --require-archs {delocate_archs} -w {dest_dir} {wheel}" ,
117
+ " delocate-listdeps {wheel}" ,
118
+ " delocate-wheel --require-archs {delocate_archs} -w {dest_dir} {wheel}"
111
119
]
120
+
121
+ [tool .cibuildwheel .macos .environment ]
122
+ DARSHAN_LIBRARY_PATH =" $PWD/darshan_install/lib"
123
+ LIBRARY_PATH =" $LIBRARY_PATH:$DARSHAN_LIBRARY_PATH"
124
+ DYLD_FALLBACK_LIBRARY_PATH =" $DYLD_FALLBACK_LIBRARY_PATH:$DARSHAN_LIBRARY_PATH"
125
+ PYDARSHAN_BUILD_EXT =1
0 commit comments