Commit 61399cad authored by Greg Williams's avatar Greg Williams
Browse files

Fixed linux build issues. Updated Rakefile to report compiler info upon...

Fixed linux build issues. Updated Rakefile to report compiler info upon instantiation for traceability.
parent 06b58517
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
require 'kinetic-ruby'

complier = ENV.fetch('CC', 'gcc')
compiler = ENV.fetch('CC', 'gcc')
compiler_location = `which #{compiler}`.strip
compiler_info = `#{compiler} --version`.strip
puts "" +
"Configuration:\n" +
"  compiler: #{complier}\n" +
"  compiler: #{compiler}\n" +
"  location: #{compiler_location}\n" +
"  version info:\n" +
"    " + `#{complier} --version`.lines.join("    ") + "\n"
"    " + compiler_info.gsub(/\n/, "\n    ") + "\n\n"

KineticRuby::Rake::load_tasks
require 'ceedling'
+1 −0
Original line number Diff line number Diff line
@@ -122,6 +122,7 @@
      - "\"${1}\""
      - -l crypto
      - "-o \"${2}\""
      - -l pthread

:plugins:
  :load_paths:
+0 −1
Original line number Diff line number Diff line
@@ -51,7 +51,6 @@ static int KineticTestPort = KINETIC_PORT;
static uint8_t TestData[128];
static ByteBuffer TestDataBuffer;
static bool LogInitialized = false;
static KineticPDU PDU;
static bool SocketReadRequested;

void Socket_RequestBytes(size_t count)