Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pass -Xcompiler -fPIC as 2 separate arguments (facebookincubator#251)
Summary: nvcc from CUDA-10.1 fails to parse "-Xcompiler -fPIC" passed as single argument: ``` $ nvcc -V; nvcc "-Xcompiler -fPIC" nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2019 NVIDIA Corporation Built on Wed_Apr_24_19:10:27_PDT_2019 Cuda compilation tools, release 10.1, V10.1.168 nvcc fatal : Unknown option 'Xcompiler -fPIC' ``` Pull Request resolved: facebookincubator#251 Test Plan: CI Reviewed By: seemethere Differential Revision: D20495001 Pulled By: malfet fbshipit-source-id: e5b869b8c4b5457dade5e9cc4c56df9b13787d52
- Loading branch information