Skip to content

Commit

Permalink
gcc_version
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorentClarret committed Jul 20, 2023
1 parent 2d15e95 commit a656329
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions omnibus/config/software/datadog-agent-integrations-py3.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@

source git: 'https://github.com/DataDog/integrations-core.git'

gcc_version = ENV['GCC_VERSION']
if gcc_version.nil? || gcc_version.empty?
gcc_version = '10.4.0'
end

integrations_core_version = ENV['INTEGRATIONS_CORE_VERSION']
if integrations_core_version.nil? || integrations_core_version.empty?
integrations_core_version = 'master'
Expand Down Expand Up @@ -161,8 +166,8 @@
"PIP_CONFIG_FILE" => "#{pip_config_file}",
# Specify C99 standard explicitly to avoid issues while building some
# wheels (eg. ddtrace)
"CC" => "/opt/gcc-10.4.0/bin/gcc",
"CXX" => "/opt/gcc-10.4.0/bin/g++",
"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

0 comments on commit a656329

Please sign in to comment.