Skip to content

Commit

Permalink
Update test for centos/oraclelinux 7 arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffreyc-splunk committed Oct 3, 2023
1 parent b60d4fd commit 977ee73
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,11 @@ def test_express_instrumentation(distro, arch):

# minimum supported node version required for profiling
node_version = 16
if arch == "arm64" and distro in ("centos-7", "oraclelinux-7"):
# g++ for these distros is too old to install splunk-otel-js with node v16:
# g++: error: unrecognized command line option '-std=gnu++14'
# use the minimum supported node version without profiling instead
node_version = 14

buildargs = {"NODE_VERSION": f"v{node_version}"}

Expand Down

0 comments on commit 977ee73

Please sign in to comment.