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 8, 2024
2 parents 29a3329 + b003c50 commit 735905a
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
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
4 changes: 2 additions & 2 deletions build/pkgs/configure/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
tarball=configure-VERSION.tar.gz
sha1=490f6d988c1c4c0786a0c8b36e708db56e17bfa6
sha256=2e2b6821c9abd7d2b910edb1237f3622e985a2321cf1eedb2161b714494c6643
sha1=cc7dbcbd87a88429a2e1d0a9265d1572446e4f8b
sha256=ba616d02dd36080516e98abe89ef9ce527e005fdf2d3f6c5e7625950feb14960
2 changes: 1 addition & 1 deletion build/pkgs/configure/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
93661cbe00c3e83691d6ed8c64586163cfdae62f
c904ef57e5a46f96e408710dd18c9a453927bf51
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 735905a

Please sign in to comment.