Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "T8code"
uuid = "d0cc0030-9a40-4274-8435-baadcfd54fa1"
authors = ["Johannes Markert <johannes.markert@dlr.de>"]
version = "0.9.2"
version = "0.9.3"

[deps]
CEnum = "fa961155-64e5-5f13-b03f-caf6b980ea82"
Expand Down
4 changes: 1 addition & 3 deletions dev/Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
[deps]
Clang = "40e3b903-d033-50b4-a0cc-940c62c95e31"
Glob = "c27321d9-0574-5035-807b-f59d2c89b15c"

[compat]
Clang = "0.18"
Glob = "1"
Clang = "0.19"
12 changes: 5 additions & 7 deletions dev/generator.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ Pkg.instantiate()
using Artifacts
cp(joinpath(artifact"t8code", "include"), "t8code_include"; force = true)

using Glob
using Clang.Generators

cd(@__DIR__)
Expand All @@ -19,12 +18,11 @@ options = load_options(joinpath(@__DIR__, "generator.toml"))
args = get_default_args() # Note you must call this function firstly and then append your own flags
push!(args, "-I$include_dir")

headers = [
glob("t8_*.h", include_dir) ;
glob("**/t8_*.h", include_dir) ;
glob("**/**/t8_*.h", include_dir) ;
# glob("**/**/**/t8_*.h", include_dir)
]
filter_out = (x -> !startswith(basename(x), "t8_") ||
!endswith(basename(x), ".h") ||
basename(x) == "t8_dtri_to_dtet.h") # this header contains redefinitions which seem harmful

headers = detect_headers(include_dir, args, Dict(), filter_out)

# create context
ctx = create_context(headers, args, options)
Expand Down
1 change: 1 addition & 0 deletions dev/prologue.jl
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,4 @@ const INT32_MIN = typemin(Cint)
const INT32_MAX = typemax(Cint)
const INT64_MIN = typemin(Clonglong)
const INT64_MAX = typemax(Clonglong)
const P4EST_QMAXLEVEL = 29
Loading
Loading