From 8e7b3daddebbc9e0b46b8aca954ff3248cbd6c54 Mon Sep 17 00:00:00 2001
From: Mick Jordan <mick.jordan@oracle.com>
Date: Mon, 10 Jul 2017 14:35:20 -0700
Subject: [PATCH] [GR-4940] Record FFI build type

---
 com.oracle.truffle.r.native/run/Makefile   | 4 +++-
 com.oracle.truffle.r.native/version.source | 2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/com.oracle.truffle.r.native/run/Makefile b/com.oracle.truffle.r.native/run/Makefile
index 8d0b368712..8f04e6ae6a 100644
--- a/com.oracle.truffle.r.native/run/Makefile
+++ b/com.oracle.truffle.r.native/run/Makefile
@@ -1,5 +1,5 @@
 #
-# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 #
 # This code is free software; you can redistribute it and/or modify it
@@ -91,6 +91,8 @@ $(FASTR_BIN_DIR)/R: Makefile R.sh Rscript.sh Rscript_exec.sh Rclasspath.sh
 	cp -r $(DOC_FILES) $(FASTR_DOC_DIR)
 	# overrides
 	cp examples-header.R examples-footer.R $(FASTR_SHARE_DIR)/R
+	# record the FFI version
+	bash -c "echo -n $(FASTR_RFFI) >$(FASTR_ETC_DIR)/ffibuildtype"
 
 includedir: $(FASTR_R_HOME)/include/Rinternals.h
 
diff --git a/com.oracle.truffle.r.native/version.source b/com.oracle.truffle.r.native/version.source
index f64f5d8d85..9902f17848 100644
--- a/com.oracle.truffle.r.native/version.source
+++ b/com.oracle.truffle.r.native/version.source
@@ -1 +1 @@
-27
+28
-- 
GitLab