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 2020 2021 2022 2023 2024 2025 | 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 2020 2021 2022 2023 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: epics build with cmake |
From: | Bruce Hill <[email protected]> |
To: | Benjamin Franksen <[email protected]> |
Cc: | [email protected] |
Date: | Mon, 08 Feb 2010 16:30:17 -0800 |
Benjamin Franksen wrote:
We just added the following lines in epics base configure/CONFIG_SITE to set EPICS_HOST_ARCH.On Montag, 8. Februar 2010, J. Lewis Muir wrote:In particular, I would like it if: 1. there was a way to build EPICS without installing it; and if there already is, make it the default. Right now, running "gnumake" builds and installs. To me it should just build. I should run "gnumake install" if I want to install it.+12. I didn't have to edit various files in <EPICS base>/configure or set environment variables to tell the EPICS build system where things are and what my host hardware architecture is. It's of course great to be able to change these, but I would love good defaults for the simple case where I just want it to compile out of the box for the current host without having to do a lot of work.With the exception of setting EPICS_HOST_ARCH this already works for my favourite platform (kubuntu-linux). Cross-compiling is another matter, of course... Cheers Ben Not sure why this isn't the default. - Bruce # If EPICS_HOST_ARCH is not set, derive it ifndef EPICS_HOST_ARCH EPICS_HOST_ARCH=$(shell $(EPICS_BASE)/startup/EpicsHostArch.pl) export EPICS_HOST_ARCH endif -- Bruce Hill Member Technical Staff SLAC National Accelerator Lab 2575 Sand Hill Road M/S 94 Menlo Park, CA 94025 |