-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
53 additions
and
0 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
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,2 @@ | ||
copy-fields: all | ||
apt: libclang-dev |
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 |
---|---|---|
@@ -1 +1,9 @@ | ||
packages: hs-bindgen | ||
|
||
-- TODO: <https://github.com/well-typed/hs-bindgen/issues/78> | ||
-- We should instead /discover/ where @libclang@ is. | ||
package hs-bindgen | ||
extra-lib-dirs: | ||
/usr/lib/llvm-18/lib | ||
extra-include-dirs: | ||
/usr/lib/llvm-18/include |
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 |
---|---|---|
@@ -1,4 +1,12 @@ | ||
packages: hs-bindgen | ||
|
||
-- TODO: <https://github.com/well-typed/hs-bindgen/issues/78> | ||
-- We should instead /discover/ where @libclang@ is. | ||
package hs-bindgen | ||
extra-lib-dirs: | ||
/usr/lib/llvm-14/lib | ||
extra-include-dirs: | ||
/usr/lib/llvm-14/include | ||
|
||
package hs-bindgen | ||
ghc-options: -Werror |
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
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,10 @@ | ||
-- | Abstract syntax tree for C headers | ||
-- | ||
-- The goal of this module is not to be a complete representation of the full | ||
-- C AST, but rather to include only the information that is relevant to us. | ||
-- | ||
-- Intended for qualified import. | ||
-- | ||
-- > import HsBindgen.C qualfified as C | ||
module HsBindgen.C ( | ||
) where |
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,10 @@ | ||
-- | Bindings to @libclang@ | ||
-- | ||
-- The goal of this module is not to be a complete set of bindings for all of | ||
-- @libclang@, but rather only to the parts that we need. | ||
-- | ||
-- Intended for qualified import. | ||
-- | ||
-- > import Hsbindgen.Clang qualified as Clang | ||
module HsBindgen.Clang ( | ||
) where |