Skip to content

Commit

Permalink
exclude macos
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorentClarret committed Jul 20, 2023
1 parent a656329 commit 29852ef
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions omnibus/config/software/datadog-agent-integrations-py3.rb
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,6 @@
"PIP_CONFIG_FILE" => "#{pip_config_file}",
# Specify C99 standard explicitly to avoid issues while building some
# wheels (eg. ddtrace)
"CC" => "/opt/gcc-#{gcc_version}/bin/gcc",
"CXX" => "/opt/gcc-#{gcc_version}/bin/g++",
"CFLAGS" => "-I#{install_dir}/embedded/include -I/opt/mqm/inc",
"CXXFLAGS" => "-I#{install_dir}/embedded/include -I/opt/mqm/inc",
"LDFLAGS" => "-L#{install_dir}/embedded/lib -L/opt/mqm/lib64 -L/opt/mqm/lib",
Expand Down Expand Up @@ -195,6 +193,12 @@
nix_build_env["CFLAGS"] += " -std=c99"
end

# We only have gcc 10.4.0 on linux for now
if linux?
nix_build_env["CC"] = "/opt/gcc-#{gcc_version}/bin/gcc"
nix_build_env["CXX"] = "/opt/gcc-#{gcc_version}/bin/g++",
fi

#
# Prepare the requirements file containing ALL the dependencies needed by
# any integration. This will provide the "static Python environment" of the Agent.
Expand Down

0 comments on commit 29852ef

Please sign in to comment.