-
-
Notifications
You must be signed in to change notification settings - Fork 454
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trac #30559: Refine python3's SAGE_SPKG_DEPCHECK: Remove sqlite
Currently we have `SAGE_SPKG_DEPCHECK([sqlite libpng bzip2 xz libffi], ...)`, which causes system python3 to be rejected on many systems. We should review whether this can be made more fine-grained. `SAGE_SPKG_DEPCHECK` is specifically for checking whether we are going to install a shared library that may interfere with a system-provided version of the same shared library that the package is linked against. '''Package `sqlite`'''.... {{{ $ grep sqlite build/pkgs/*/dependencies build/pkgs/cryptominisat/dependencies:$(PYTHON) m4ri zlib libpng | cmake sqlite boost_cropped build/pkgs/elliptic_curves/dependencies:| sqlite $(PYTHON) build/pkgs/python3/dependencies:zlib readline sqlite libpng bzip2 xz libffi }}} `elliptic_curves` only seems to use the Python module sqlite - it does not depend on sqlite itself. `cryptominisat` does not seem to depend on sqlite at all. In this ticket, we remove these unnecessary dependencies and the sqlite depcheck for python3; and set `sqlite` as "not required" if system python3 will be used. -------- Follow-up tickets may address the following dependencies: - #30949 Refine python3's `SAGE_SPKG_DEPCHECK`: libpng, bzip2, xz, libffi - #30948 Package `xz` represents both the shared library `liblzma` and the `xz` binary. See also: - #28019 If system mpir is found, yasm should not be built URL: https://trac.sagemath.org/30559 Reported by: mkoeppe Ticket author(s): Matthias Koeppe Reviewer(s): John Palmieri
- Loading branch information
Showing
6 changed files
with
24 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
| sqlite $(PYTHON) | ||
| $(PYTHON) | ||
|
||
---------- | ||
All lines of this file are ignored except the first. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters