Skip to content

Commit

Permalink
updated nif compiler set
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexR2D2 committed Aug 2, 2024
1 parent 7184f01 commit 2d3e3bf
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,8 @@ defmodule Duckdbex.MixProject do
]
end

defp nif_versions(opts) do
if String.contains?(opts.target, "windows") or
String.contains?(opts.target, "darwin") do
["2.16"]
else
["2.15"]
end
defp nif_versions(_opts) do
["2.16", "2.17"]
end

defp fallback_nif_versions(opts) do
Expand Down Expand Up @@ -92,19 +87,12 @@ defmodule Duckdbex.MixProject do
cleanup: "clean",
compilers: %{
{:unix, :linux} => %{
:include_default_ones => true,
"x86_64-linux-musl" => "x86_64-linux-musl-",
"aarch64-linux-musl" => "aarch64-linux-musl-",
"riscv64-linux-musl" => "riscv64-linux-musl-",
"x86_64-linux-gnu" => "x86_64-linux-gnu-",
"aarch64-linux-gnu" => "aarch64-linux-gnu-",
"riscv64-linux-gnu" => "riscv64-linux-gnu-"
},
{:unix, :darwin} => %{
:include_default_ones => true
},
{:win32, :nt} => %{
:include_default_ones => true
}
}
]
Expand Down

0 comments on commit 2d3e3bf

Please sign in to comment.