guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/04: gnu: clang: Add search path specifications.


From: Ludovic Courtès
Subject: 02/04: gnu: clang: Add search path specifications.
Date: Fri, 19 Jun 2015 15:24:15 +0000

civodul pushed a commit to branch master
in repository guix.

commit ef11ac87013a67f2c4454adf7d477a5c602a14b3
Author: Ludovic Courtès <address@hidden>
Date:   Fri Jun 19 11:34:53 2015 +0200

    gnu: clang: Add search path specifications.
    
    * gnu/packages/llvm.scm (clang-from-llvm)[native-search-paths]: New field.
---
 gnu/packages/llvm.scm |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm
index 6cf1fda..946773c 100644
--- a/gnu/packages/llvm.scm
+++ b/gnu/packages/llvm.scm
@@ -1,6 +1,7 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2014 Eric Bavier <address@hidden>
 ;;; Copyright © 2015 Mark H Weaver <address@hidden>
+;;; Copyright © 2015 Ludovic Courtès <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -96,6 +97,16 @@ tools as well as libraries with equivalent functionality.")
     (propagated-inputs
      `(("llvm" ,llvm)))
     (arguments `(#:configure-flags '("-DCLANG_INCLUDE_TESTS=True")))
+
+    ;; Clang supports the same environment variables as GCC.
+    (native-search-paths
+     (list (search-path-specification
+            (variable "CPATH")
+            (files '("include")))
+           (search-path-specification
+            (variable "LIBRARY_PATH")
+            (files '("lib" "lib64")))))
+
     (home-page "http://clang.llvm.org";)
     (synopsis "C language family frontend for LLVM")
     (description



reply via email to

[Prev in Thread] Current Thread [Next in Thread]