-
Notifications
You must be signed in to change notification settings - Fork 10.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Driver] Fixes for header / library paths on Haiku
Some fixes for the header / library paths.. - Use concat macro for all paths - Correct the C++ header paths - Add library paths Differential Revision: https://reviews.llvm.org/D159414
- Loading branch information
Showing
4 changed files
with
117 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
// Check the C header paths | ||
// RUN: %clang --target=x86_64-unknown-haiku -### %s 2>&1 \ | ||
// RUN: | FileCheck --check-prefix=CHECK-C-HEADER-PATH %s | ||
// CHECK-C-HEADER-PATH: "-internal-isystem" "/boot/system/non-packaged/develop/headers" | ||
// CHECK-C-HEADER-PATH: "-internal-isystem" "/boot/system/develop/headers/os" | ||
// CHECK-C-HEADER-PATH: "-internal-isystem" "/boot/system/develop/headers/os/app" | ||
// CHECK-C-HEADER-PATH: "-internal-isystem" "/boot/system/develop/headers/os/device" | ||
// CHECK-C-HEADER-PATH: "-internal-isystem" "/boot/system/develop/headers/os/drivers" | ||
// CHECK-C-HEADER-PATH: "-internal-isystem" "/boot/system/develop/headers/os/game" | ||
// CHECK-C-HEADER-PATH: "-internal-isystem" "/boot/system/develop/headers/os/interface" | ||
// CHECK-C-HEADER-PATH: "-internal-isystem" "/boot/system/develop/headers/os/kernel" | ||
// CHECK-C-HEADER-PATH: "-internal-isystem" "/boot/system/develop/headers/os/locale" | ||
// CHECK-C-HEADER-PATH: "-internal-isystem" "/boot/system/develop/headers/os/mail" | ||
// CHECK-C-HEADER-PATH: "-internal-isystem" "/boot/system/develop/headers/os/media" | ||
// CHECK-C-HEADER-PATH: "-internal-isystem" "/boot/system/develop/headers/os/midi" | ||
// CHECK-C-HEADER-PATH: "-internal-isystem" "/boot/system/develop/headers/os/midi2" | ||
// CHECK-C-HEADER-PATH: "-internal-isystem" "/boot/system/develop/headers/os/net" | ||
// CHECK-C-HEADER-PATH: "-internal-isystem" "/boot/system/develop/headers/os/opengl" | ||
// CHECK-C-HEADER-PATH: "-internal-isystem" "/boot/system/develop/headers/os/storage" | ||
// CHECK-C-HEADER-PATH: "-internal-isystem" "/boot/system/develop/headers/os/support" | ||
// CHECK-C-HEADER-PATH: "-internal-isystem" "/boot/system/develop/headers/os/translation" | ||
// CHECK-C-HEADER-PATH: "-internal-isystem" "/boot/system/develop/headers/os/add-ons/graphics" | ||
// CHECK-C-HEADER-PATH: "-internal-isystem" "/boot/system/develop/headers/os/add-ons/input_server" | ||
// CHECK-C-HEADER-PATH: "-internal-isystem" "/boot/system/develop/headers/os/add-ons/mail_daemon" | ||
// CHECK-C-HEADER-PATH: "-internal-isystem" "/boot/system/develop/headers/os/add-ons/registrar" | ||
// CHECK-C-HEADER-PATH: "-internal-isystem" "/boot/system/develop/headers/os/add-ons/screen_saver" | ||
// CHECK-C-HEADER-PATH: "-internal-isystem" "/boot/system/develop/headers/os/add-ons/tracker" | ||
// CHECK-C-HEADER-PATH: "-internal-isystem" "/boot/system/develop/headers/os/be_apps/Deskbar" | ||
// CHECK-C-HEADER-PATH: "-internal-isystem" "/boot/system/develop/headers/os/be_apps/NetPositive" | ||
// CHECK-C-HEADER-PATH: "-internal-isystem" "/boot/system/develop/headers/os/be_apps/Tracker" | ||
// CHECK-C-HEADER-PATH: "-internal-isystem" "/boot/system/develop/headers/3rdparty" | ||
// CHECK-C-HEADER-PATH: "-internal-isystem" "/boot/system/develop/headers/bsd" | ||
// CHECK-C-HEADER-PATH: "-internal-isystem" "/boot/system/develop/headers/glibc" | ||
// CHECK-C-HEADER-PATH: "-internal-isystem" "/boot/system/develop/headers/gnu" | ||
// CHECK-C-HEADER-PATH: "-internal-isystem" "/boot/system/develop/headers/posix" | ||
// CHECK-C-HEADER-PATH: "-internal-isystem" "/boot/system/develop/headers" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// Check the C++ header path (libstdc++) | ||
// RUN: %clang++ --target=x86_64-unknown-haiku -### %s 2>&1 \ | ||
// RUN: --sysroot=%S/Inputs/haiku_x86_64_tree \ | ||
// RUN: | FileCheck --check-prefix=CHECK-LIBSTDCXX-HEADER-PATH %s | ||
// CHECK-LIBSTDCXX-HEADER-PATH: "-internal-isystem" "[[SYSROOT:[^"]+]]/boot/system/develop/headers/c++" | ||
|
||
// Check the C++ header path (when using libc++) | ||
// RUN: %clang++ --target=x86_64-unknown-haiku --stdlib=libc++ -### %s 2>&1 \ | ||
// RUN: --sysroot=%S/Inputs/haiku_x86_64_tree \ | ||
// RUN: | FileCheck --check-prefix=CHECK-LIBCXX-HEADER-PATH %s | ||
// CHECK-LIBCXX-HEADER-PATH: "-internal-isystem" "[[SYSROOT:[^"]+]]/boot/system/develop/headers/c++/v1" |