Remove Python build dependency when LINKER_USE_RPATH=ORIGIN

This change converts the makeRPath.py script to Perl.
Also changes the PYTHON default to run `python3`
This commit is contained in:
Andrew Johnson
2025-01-22 12:20:37 -06:00
parent 1735a821db
commit f4c474eb77
5 changed files with 142 additions and 94 deletions

View File

@ -54,8 +54,7 @@ CONVERTRELEASE = $(PERL) $(call FIND_TOOL,convertRelease.pl)
FILTERMAKEFLAGS = $(PERL) $(call FIND_TOOL,filterMakeflags.pl)
FULLPATHNAME = $(PERL) $(TOOLS)/fullPathName.pl
GENVERSIONHEADER = $(PERL) $(TOOLS)/genVersionHeader.pl $(QUIET_FLAG) $(QUESTION_FLAG)
MAKERPATH = $(PYTHON) $(TOOLS)/makeRPath.py
MAKERPATH = $(PERL) $(TOOLS)/makeRPath.pl
#---------------------------------------------------------------
# tools for installing libraries and products

View File

@ -34,11 +34,11 @@ CROSS2 = $(CROSS_COMPILER_TARGET_ARCHS$(filter-out 1,$(words $(filter $(EPICS_HO
BUILD_ARCHS = $(EPICS_HOST_ARCH) $(CROSS1) $(CROSS2)
#-------------------------------------------------------
# Default for perl if it's on the PATH,
# otherwise override this in os/CONFIG_SITE.<host_arch>.Common
# Defaults for Perl and Python assume they're on $PATH.
# Python (now python3) is only needed by developers, when building docs.
# Override these in os/CONFIG_SITE.<host_arch>.Common or CONFIG_SITE.local
PERL = perl -CSD
PYTHON = python
PYTHON = python3
#-------------------------------------------------------
# Check configure/RELEASE file for consistency