You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pylucene-dev@lucene.apache.org by "A. Coady (Jira)" <ji...@apache.org> on 2022/08/19 19:40:00 UTC
[jira] [Created] (PYLUCENE-65) Support the default java on debian in `setup.py`.
A. Coady created PYLUCENE-65:
--------------------------------
Summary: Support the default java on debian in `setup.py`.
Key: PYLUCENE-65
URL: https://issues.apache.org/jira/browse/PYLUCENE-65
Project: PyLucene
Issue Type: Improvement
Reporter: A. Coady
On debian, the `default-java` package does not have `jre/lib/amd64` in its path, so it breaks the `linux/x86_64` build. The `temurin` flags have the correct paths, so one easy fix would be to change the [temurin check|https://svn.apache.org/viewvc/lucene/pylucene/trunk/jcc/setup.py?revision=1900087&view=markup#l194] to:
{code:python}
if 'temurin' in JDK['linux'] or 'default' in JDK['linux']:
{code}
That would also support `linux/aarch64` without any further changes.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)