Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: Re: [OMPI devel] openmpi-1.5.5rc1: 2nd gmake dependence (mostly VT)
From: Larry Baker (baker_at_[hidden])
Date: 2011-12-20 20:28:31

> I am pretty sure a literal "rm -rf" should be fine.

Not necessarily. I'm not at work. But I think either -f or -r might not be legal on all Unix's (Tru64 Unix? AIX?).

Larry Baker
US Geological Survey

On Dec 20, 2011, at 5:19 PM, Paul H. Hargrove wrote:

> For the first time I tried "make clean" on FreeBSD and found /another/ GNU-vs-Berkeley Make problem.
> The problem is use of $(RM) in several's (see below for list).
> The onlt non-VT instance (ompi_info/ occurs in openmpi-1.4.5rc1 as well.
> $(RM) is a predefined variable in GNU Make, not provided by Berkeley Make (or by Automake for that matter).
> I am pretty sure a literal "rm -rf" should be fine.
> -Paul
>> $ find openmpi-1.5.5rc1 -name | xargs grep -w RM
>> openmpi-1.5.5rc1/ompi/tools/ompi_info/ test -z "$(OMPI_CXX_TEMPLATE_REPOSITORY)" || $(RM) -rf $(OMPI_CXX_TEMPLATE_REPOSITORY)
>> openmpi-1.5.5rc1/ompi/contrib/vt/vt/extlib/otf/tests/hello/ $(RM) *.otf *.def *.events *.marker *.otf.z *.def.z *.events.z *.marker.z
>> openmpi-1.5.5rc1/ompi/contrib/vt/vt/extlib/otf/tests/generic_streams-mpi/ $(RM) *.otf *.def *.events *.marker *.otf.z *.def.z *.events.z *.marker.z
>> openmpi-1.5.5rc1/ompi/contrib/vt/vt/extlib/otf/tests/generic_streams/ $(RM) *.otf *.def *.events *.marker *.otf.z *.def.z *.events.z *.marker.z
>> openmpi-1.5.5rc1/ompi/contrib/vt/vt/extlib/otf/tests/progress/ $(RM) *.otf *.def *.events *.marker *.otf.z *.def.z *.events.z *.marker.z
> --
> Paul H. Hargrove PHHargrove_at_[hidden]
> Future Technologies Group
> HPC Research Department Tel: +1-510-495-2352
> Lawrence Berkeley National Laboratory Fax: +1-510-486-6900
> _______________________________________________
> devel mailing list
> devel_at_[hidden]