EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: anyone ever crosscompile pvaPy?
From: Peter Milne via Tech-talk <tech-talk at aps.anl.gov>
To: Tech-talk <tech-talk at aps.anl.gov>
Date: Fri, 22 May 2020 09:23:01 +0100
Hello Techtalk

We have a requirement to run pvaPy on a linux-arm system.
The ARM system is configured to provide a full EPICS7, Boost lib.

Following
https://github.com/epics-base/pvaPy/blob/master/README.md

Custom Build:

Seems to build fine for EPICS_HOST_ARCH=linux-x86_64

It's also putting in hooks for linux-arm:
ls ./src/pvaccess/O.linux-arm
Makefile

But that's it, no *.o, no pvaccess.so

### eg
pgm@staffa3 pvaPy]$ make
make -C ./configure install
....
make -C ./pvaccess install
make[2]: Entering directory '/home/pgm/PROJECTS/EPICS/pvaPy/src/pvaccess'
pgm TOP ../.. T_A
perl -CSD /usr/local/epics/base/bin/linux-x86_64/makeMakefile.pl O.linux-x86_64 ../../..
perl -CSD /usr/local/epics/base/bin/linux-x86_64/makeMakefile.pl O.linux-arm ../../..
mkdir -p O.Common
make -C O.linux-x86_64 -f ../Makefile TOP=../../.. \
    T_A=linux-x86_64 install
make[3]: Entering directory '/home/pgm/PROJECTS/EPICS/pvaPy/src/pvaccess/O.linux-x86_64'
pgm TOP ../../.. T_A linux-x86_64
/usr/bin/g++  -D_GNU_SOURCE -D_DEFAULT_SOURCE           -D_X86_64_  -DUNIX  -Dlinux     -O3   -Wall     -DPVA_API_VERSION=482 -DPVA_RPC_API_VERSION=482 -DHAVE_BOOST_NUM_PY=0 -DHAVE_BOOST_PYTHON_NUM_PY=1 -I/usr/include -I/usr/include/python3.7m  -mtune=generic      -m64 -fPIC -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/gcc -I../../../include/os/Linux -I../../../include -I/usr/local/epics/base/include/compiler/gcc -I/usr/local/epics/base/include/os/Linux -I/usr/local/epics/base/include        -MM -MF PyPvRecord.d  ../PyPvRecord.cpp

#### x86_64 builds all objects, but:

make[3]: Leaving directory '/home/pgm/PROJECTS/EPICS/pvaPy/src/pvaccess/O.linux-x86_64'
make -C O.linux-arm -f ../Makefile TOP=../../.. \
    T_A=linux-arm install
make[3]: Entering directory '/home/pgm/PROJECTS/EPICS/pvaPy/src/pvaccess/O.linux-arm'
pgm TOP ../../.. T_A linux-arm
make[3]: Nothing to be done for 'install'.
make[3]: Leaving directory '/home/pgm/PROJECTS/EPICS/pvaPy/src/pvaccess/O.linux-arm'
make[2]: Leaving directory '/home/pgm/PROJECTS/EPICS/pvaPy/src/pvaccess'
make[1]: Leaving directory '/home/pgm/PROJECTS/EPICS/pvaPy/src'


.... does nothing..


Is there any way to enable a cross-compile?
I don't see any PROD_HOST entries that could be changed to PROD, for example.

Thanks

Peter





--
Peter Milne
Director of Sales
www.d-tacq.com

Replies:
Re: anyone ever crosscompile pvaPy? Johnson, Andrew N. via Tech-talk

Navigate by Date:
Prev: Re: Displaying string Waveform in CaQtDM Paul Nord via Tech-talk
Next: Re: anyone ever crosscompile pvaPy? Johnson, Andrew N. via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: Re: EPICS Frame Documentation Timo Korhonen via Tech-talk
Next: Re: anyone ever crosscompile pvaPy? Johnson, Andrew N. via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
ANJ, 26 May 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·