[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Fast blas1



"Marcelo E. Magallon" wrote:

> >> Adam C Powell IV <hazelsct@mit.edu> writes:
>
>  >    * I can't figure out how to do cp */*.o *.i as in, rename those files
>  >      to the same thing with .i instead of .o, so I can't make the static
>  >      lib work.
>
> Use mmv, but it's "non standard". (don't ask me how, I just know it
> does this)
>
> In bash (less non standard):
>
> $ for object in *.o ; do mv $object ${object%.o}.i ; done
>
> In general (standard but slower):
>
> $ for object in *.o ;
>   do mv $object `echo $object | sed -e 's/\.o$/.i/'` ;
>   done

Thanks, based on help from debian-alpha I inserted:
        @for i in *.o; do \
          mv $$i $${i/%\.o/.i}; \
        done

It all works now, and the blas1 and blas-dev packages are up in the same place.

By the way, someone on debian-alpha raised the question, is the license "This
software is in the public domain" compatible with GPL?  I mean, the whole lib
becomes GPL, and effectively re-copyrighted, with noone to complain because it
wasn't copyrighted in the first place, right?

Zeen,
--
          Adam Powell                     http://lyre.mit.edu/~powell/
          Thomas B. King Assistant Professor of Materials Engineering
          77 Massachusetts Ave. Rm. 4-117         Phone (617) 452-2086
          Cambridge, MA 02139 USA                   Fax (617) 253-5418




Reply to: