diff options
author | Bryce Adelstein Lelbach aka wash <brycelelbach@gmail.com> | 2020-04-16 02:18:24 +0300 |
---|---|---|
committer | Bryce Adelstein Lelbach aka wash <brycelelbach@gmail.com> | 2020-04-23 01:04:01 +0300 |
commit | 9d27df69b7a4550b9500bb4a79c5e1a1d6debc8a (patch) | |
tree | 4df197ad1d126afe8830e1abe8f0e40b38bef847 /Makefile | |
parent | 84190e592491b813310729565409b97495ef9047 (diff) |
- Remove the CUB symlink from DVS and just copy CUB into our tree when packaging.
This is intended to fix the issue with symlinks causing corruption of the DVS
builders.
- Stop building the CUDA runtime in Thrust builds; we depend on the CUDA runtime
component.
Bug 200603022
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 16 |
1 files changed, 4 insertions, 12 deletions
@@ -155,11 +155,7 @@ else MAKE_DVS_PACKAGE = $(CREATE_DVS_PACKAGE) && $(APPEND_H_DVS_PACKAGE) && $(APPEND_INL_DVS_PACKAGE) && $(APPEND_CUH_DVS_PACKAGE) && $(COMPRESS_DVS_PACKAGE) endif -ifeq ($(OS), win32) - COPY_CUB_FOR_PACKAGING = mv cub cub-link && cp -r ../cub/cub cub - RESTORE_CUB_LINK = rm -rf cub && mv cub-link cub - RESTORE_CUB_LINK_ON_FAILURE = || $(RESTORE_CUB_LINK) -endif +COPY_CUB_FOR_PACKAGING = rm -rf cub && cp -r ../cub/cub cub DVS_OPTIONS := @@ -173,17 +169,13 @@ endif THRUST_DVS_BUILD = release pack: + $(COPY_CUB_FOR_PACKAGING) cd .. && $(MAKE_DVS_PACKAGE) dvs: $(COPY_CUB_FOR_PACKAGING) - $(MAKE) $(DVS_OPTIONS) -s -C ../cuda $(THRUST_DVS_BUILD) $(RESTORE_CUB_LINK_ON_FAILURE) - $(MAKE) $(DVS_OPTIONS) $(THRUST_DVS_BUILD) THRUST_DVS=1 $(RESTORE_CUB_LINK_ON_FAILURE) - cd .. && $(MAKE_DVS_PACKAGE) $(RESTORE_CUB_LINK_ON_FAILURE) - $(RESTORE_CUB_LINK) - -# XXX Deprecated, remove. -dvs_nightly: dvs + $(MAKE) $(DVS_OPTIONS) $(THRUST_DVS_BUILD) THRUST_DVS=1 + cd .. && $(MAKE_DVS_PACKAGE) dvs_release: $(MAKE) dvs THRUST_DVS_BUILD=release |