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

Bug#1031687: libtorch-dev: ATEN_INCLUDE_DIR in ATenConfig.cmake uses build path



Package: libtorch-dev
Version: 1.13.1+dfsg-3

Hello,

I noticed libtorch-dev embeds build path in /usr/lib/${DEB_HOST_MULTIARCH}/cmake/ATen/ATenConfig.cmake by building with different setups:

│ │ ├── ./usr/lib/x86_64-linux-gnu/cmake/ATen/ATenConfig.cmake
│ │ │ @@ -1,9 +1,9 @@
│ │ │  # Find the TH includes and library
│ │ │  #
│ │ │  # ATEN_INCLUDE_DIR -- where to find the includes
│ │ │  # ATEN_LIBRARIES -- list of libraries to link against
│ │ │  # ATEN_FOUND -- set to 1 if found
│ │ │
│ │ │  set(ATEN_FOUND 1)
│ │ │ -set(ATEN_INCLUDE_DIR "/home/merkys/without-opencl/pytorch-1.13.1+dfsg/torch/include") │ │ │ +set(ATEN_INCLUDE_DIR "/home/merkys/with-opencl/pytorch-1.13.1+dfsg/torch/include")
│ │ │  set(ATEN_LIBRARIES "")

Andrius


Reply to: