File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -113,8 +113,7 @@ clean:
113
113
fi
114
114
115
115
# "c_lib", ".cython_version", "build" in $(SAGE_SRC) are from old sage versions
116
- # Cleaning .so files (and .c and .cpp files associated with .pyx files) is for editable installs.
117
- # Also cython_debug is for editable installs.
116
+ # Cleaning .so files (and .c and .cpp files associated with .pyx files), cython_debug and "sagelib/src/build" is for old editable installs.
118
117
sagelib-clean :
119
118
@echo " Deleting Sage library build artifacts..."
120
119
if [ -d " $( SAGE_SRC) " ]; then \
@@ -125,6 +124,12 @@ sagelib-clean:
125
124
cd sage/ext/interpreters/ && rm -f * .so * .c * .h * .py* * .pxd) \
126
125
&& rm -rf " $( SAGE_ROOT) " /build/pkgs/sagelib/src/build; \
127
126
fi
127
+ @echo " Wiping meson build directories..."
128
+ @for d in " $( SAGE_ROOT) " /build/cp[0-9]* ; do \
129
+ if [ -d " $$ d" ]; then \
130
+ meson setup --wipe " $$ d" ; \
131
+ fi ; \
132
+ done
128
133
129
134
sage_docbuild-clean :
130
135
(cd " $( SAGE_ROOT) /build/pkgs/sage_docbuild/src" && rm -rf build)
You can’t perform that action at this time.
0 commit comments