ivan-pi / blis-f

BLIS Fortran Bindings
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

need to create src/interface in build #1

Open jeffhammond opened 2 years ago

jeffhammond commented 2 years ago

Problem

 blis-f % make
fypp  templates/blis-typed-1v.inc.fypp src/interface/blis-typed-1v.inc
error: Failed to open file 'src/interface/blis-typed-1v.inc' for write [FyppFatalError]
error: [Errno 2] No such file or directory: 'src/interface/blis-typed-1v.inc' [FileNotFoundError]
make: *** [src/interface/blis-typed-1v.inc] Error 1

 blis-f % mkdir src/interface

 blis-f % make
fypp  templates/blis-typed-1v.inc.fypp src/interface/blis-typed-1v.inc
fypp  templates/blis-typed-1d.inc.fypp src/interface/blis-typed-1d.inc
fypp  templates/blis-typed-1m.inc.fypp src/interface/blis-typed-1m.inc
fypp  templates/blis-typed-1f.inc.fypp src/interface/blis-typed-1f.inc
fypp  templates/blis-typed-l2.inc.fypp src/interface/blis-typed-l2.inc
fypp  templates/blis-typed-l3.inc.fypp src/interface/blis-typed-l3.inc

Solutions

  1. touch src/interface/.empty && git add src/interface/.empty && git commit src/interface/.empty -m "add subdir to git" && git push
  2. add mkdir -p src/interface to Makefile somehow.
  3. document user doing mkdir -p src/interface manually.
ivan-pi commented 2 years ago

Thanks Jeff, I think I'll go with Solution 1 in #2.