From 2d3e3bf8998cd8d9bfd27e3841cb3a9b29b1b450 Mon Sep 17 00:00:00 2001 From: Aleksandr Golubov Date: Fri, 2 Aug 2024 12:21:43 +0500 Subject: [PATCH] updated nif compiler set --- mix.exs | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/mix.exs b/mix.exs index 34fc96f..efe9b22 100644 --- a/mix.exs +++ b/mix.exs @@ -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 @@ -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 } } ]