Skip to content

Commit

Permalink
sagemathgh-38934: keep meson.build file for ext/interpreters
Browse files Browse the repository at this point in the history
    
`make sagelib-clean` should not remove any `meson.build` files, but now
it does, the one in
`src/sage/ext/interpreters/`.
As  reported here: https://groups.google.com/g/sage-
release/c/HHbr1W7vDoM/m/qLYBuIcpCAAJ
This PR fixes this.

### 📝 Checklist

<!-- Put an `x` in all the boxes that apply. -->

- [ x] The title is concise and informative.
- [x ] The description explains in detail what this PR is about.
- [ x] I have linked a relevant issue or discussion.
- [ ] I have created tests covering the changes.
- [ ] I have updated the documentation and checked the documentation
preview.

### ⌛ Dependencies

<!-- List all open PRs that this PR logically depends on. For example,
-->
<!-- - sagemath#12345: short description why this is a dependency -->
<!-- - sagemath#34567: ... -->
    
URL: sagemath#38934
Reported by: Dima Pasechnik
Reviewer(s): Dima Pasechnik, Gonzalo Tornaría, Tobias Diez
  • Loading branch information
Release Manager committed Nov 13, 2024
2 parents d5d4b2d + b003c50 commit 7d3750c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ __pycache__/
# Generated by sage_setup.autogen
/src/sage/ext/interpreters
!/src/sage/ext/interpreters/meson.build
!/src/sage/ext/interpreters/README

# Generated Cython files
*.so
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ sagelib-clean:
rm -rf c_lib .cython_version cython_debug; \
rm -rf build; find . -name '*.pyc' -o -name "*.so" | xargs rm -f; \
rm -f $$(find . -name "*.pyx" | sed 's/\(.*\)[.]pyx$$/\1.c \1.cpp/'); \
rm -rf sage/ext/interpreters) \
cd sage/ext/interpreters/ && rm -f *.so *.c *.h *.py* *.pxd) \
&& (cd "$(SAGE_ROOT)/build/pkgs/sagelib/src/" && rm -rf build); \
fi

Expand Down
1 change: 1 addition & 0 deletions src/sage/ext/interpreters/README
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The files in this directory, except meson.build, are autogenerated by sage_setup.autogen

0 comments on commit 7d3750c

Please sign in to comment.