pkgconfig: generate tensorflow_cc pkg-config entry
Signed-off-by: Jason Zaman <jason@perfinion.com>
This commit is contained in:
parent
201b59fb55
commit
2f50769329
@ -63,12 +63,26 @@ cat << EOF > tensorflow.pc
|
||||
prefix=${TF_PREFIX}
|
||||
exec_prefix=\${prefix}
|
||||
libdir=\${exec_prefix}/${LIBDIR}
|
||||
includedir=\${prefix}/include
|
||||
includedir=\${prefix}/include/tensorflow
|
||||
|
||||
Name: TensorFlow
|
||||
Version: ${TF_VERSION}
|
||||
Description: Library for computation using data flow graphs for scalable machine learning
|
||||
Requires:
|
||||
Libs: -L\${libdir} -ltensorflow
|
||||
Libs: -L\${libdir} -ltensorflow -ltensorflow_framework
|
||||
Cflags: -I\${includedir}
|
||||
EOF
|
||||
|
||||
cat << EOF > tensorflow_cc.pc
|
||||
prefix=${TF_PREFIX}
|
||||
exec_prefix=\${prefix}
|
||||
libdir=\${exec_prefix}/${LIBDIR}
|
||||
includedir=\${prefix}/include/tensorflow
|
||||
|
||||
Name: TensorFlow
|
||||
Version: ${TF_VERSION}
|
||||
Description: Library for computation using data flow graphs for scalable machine learning
|
||||
Requires:
|
||||
Libs: -L\${libdir} -ltensorflow_cc -ltensorflow_framework
|
||||
Cflags: -I\${includedir}
|
||||
EOF
|
||||
|
Loading…
Reference in New Issue
Block a user