-
Notifications
You must be signed in to change notification settings - Fork 920
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Thrust .git directory and other unnecessary files installed by ./build.sh libcudf #8397
Comments
List of all files installed to the directoy defined by PREFIX environment variable (INSTALL in this case): install.txt |
@robertmaynard is it possible to install Thrust headers without all the baggage? |
Yes we should be able to do this. For a little background we currently don't use |
Fixes rapidsai#8397 Recreate thrust's install rules so we don't install extra directories such as `.git`. We can't leverage thrust's install rules as that would break our layout as the cmake files would need to go into something like `lib/cmake/cudf/thirdparty?/lib/cmake/thrust`. This weird path is required as cudf packages a modified version of Thrust and we don't want that to be installed into a default system path.
Fixes #8397 Recreate thrust's install rules so we don't install extra directories such as `.git`. We can't leverage thrust's install rules as that would break our layout as the cmake files would need to go into something like `lib/cmake/cudf/thirdparty?/lib/cmake/thrust`. This weird path is required as cudf packages a modified version of Thrust and we don't want that to be installed into a default system path. Authors: - Robert Maynard (https://github.com/robertmaynard) Approvers: - Mark Harris (https://github.com/harrism) URL: #8420
Describe the bug
When building libcudf via
./build.sh libcudf
there are a number of files installed that probably shouldn't be installed. These include:.git
and.github
directories (in/include/libcudf/Thrust/
)CMakeLists.txt
file andcmake
directory (in/include/libcudf/Thrust/
)internal
directory containing utiity scripts (in/include/libcudf/Thrust/
).git
,.github
, andcmake
directories (in /include/libcudf/Thrust/dependencies/cub`)Steps/Code to reproduce bug
Once build completes, examine the contents of the install directory (eg.
find INSTALL_DIR | less
) and see files that typically are not part of a library installation.Expected behavior
The contents of INSTALL_DIR (set by $PREFIX) should contain only the relevant files and directories to be
installed on a system ... in the case of
/include/libcudf/Thrust
should be mostly (entirely) developmentheader files.
Environment overview (please complete the following information)
Build from source in AWS Ubuntu 20.04 instance.
Environment details
Click here to see environment details
Additional context
Also present in v0.19.0. Have not tested on other releases.
The text was updated successfully, but these errors were encountered: