libclc/ptx-nvidiacl/lib/ miss source code

Hi all,

  I am trying to build libclc, but the source I download miss things under
ptx-nvidiacl/lib/. When I build libclc I get the error below,

LLVM-CC ptx32--nvidiacl/lib/geometric/cross.bc
error: error opening 'ptx32--nvidiacl/lib/geometric/cross.bc.d': Error opening output file 'ptx32--nvidiacl/lib/geometric/cross.bc.d'
error: unable to open output file 'ptx32--nvidiacl/lib/geometric/cross.bc': 'Error opening output file 'ptx32--nvidiacl/lib/geometric/cross.bc''

  Here is what I get in ptx-nvidiacl/lib/ directory,

$ ls ptx-nvidiacl/lib/
SOURCES

  I guess the directiry name "ptx32--nvidiacl" in the Makefile should be
"ptx-nvidiacl", right?

  Thanks for help. :slight_smile:

Regards,
chenwj

Hi Chen,

This was a bug in the makefile generator, which I now realise needs
to explicitly create any required parent directories for output files.
This bug is now fixed in the libclc master branch.

Thanks,

Hi Chen,

This was a bug in the makefile generator, which I now realise needs
to explicitly create any required parent directories for output files.
This bug is now fixed in the libclc master branch.

Thanks,

  It works now, thanks. :slight_smile:

Regards,
chenwj