Re: [clang] 874bdc8 - [Driver] Clean up Debian multiarch /usr/include/ madness

2021-03-24 Thread Fangrui Song via cfe-commits
On Tue, Mar 23, 2021 at 9:22 PM Nico Weber wrote: > > Yes. > > 1. Download > https://commondatastorage.googleapis.com/chrome-linux-sysroot/toolchain/500976182686961e34974ea7bdc0a21fca32be06/debian_sid_amd64_sysroot.tar.xz > 2. Unpack somewhere > 3. Delete the lib/ folder in it > 4. Try to use tha

Re: [clang] 874bdc8 - [Driver] Clean up Debian multiarch /usr/include/ madness

2021-03-24 Thread Fangrui Song via cfe-commits
On Tue, Mar 23, 2021 at 7:09 PM Nico Weber wrote: > > Was this reviewed anywhere? No. This is a nice code cleanup. Do you find a case it does not handle correctly? > On Mon, Mar 22, 2021 at 1:40 AM Fangrui Song via cfe-commits > wrote: >> >> >> Author: Fangrui Song >> Date: 2021-03-21T22:40:38

Re: [clang] 874bdc8 - [Driver] Clean up Debian multiarch /usr/include/ madness

2021-03-23 Thread Nico Weber via cfe-commits
Yes. 1. Download https://commondatastorage.googleapis.com/chrome-linux-sysroot/toolchain/500976182686961e34974ea7bdc0a21fca32be06/debian_sid_amd64_sysroot.tar.xz 2. Unpack somewhere 3. Delete the lib/ folder in it 4. Try to use that sysroot like so: thakis@thakis:~/src/llvm-project$ cat test.cc #

Re: [clang] 874bdc8 - [Driver] Clean up Debian multiarch /usr/include/ madness

2021-03-23 Thread Nico Weber via cfe-commits
Was this reviewed anywhere? On Mon, Mar 22, 2021 at 1:40 AM Fangrui Song via cfe-commits < cfe-commits@lists.llvm.org> wrote: > > Author: Fangrui Song > Date: 2021-03-21T22:40:38-07:00 > New Revision: 874bdc8e61662b5f39a9626b9132e0979fae556f > > URL: > https://github.com/llvm/llvm-project/commit/

[clang] 874bdc8 - [Driver] Clean up Debian multiarch /usr/include/ madness

2021-03-21 Thread Fangrui Song via cfe-commits
Author: Fangrui Song Date: 2021-03-21T22:40:38-07:00 New Revision: 874bdc8e61662b5f39a9626b9132e0979fae556f URL: https://github.com/llvm/llvm-project/commit/874bdc8e61662b5f39a9626b9132e0979fae556f DIFF: https://github.com/llvm/llvm-project/commit/874bdc8e61662b5f39a9626b9132e0979fae556f.diff