Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
QueryR
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Julien Lopez
QueryR
Commits
bcbb0f34
Commit
bcbb0f34
authored
9 years ago
by
Mick Jordan
Browse files
Options
Downloads
Patches
Plain Diff
minor native Makefile cleanup
parent
aca6c162
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
com.oracle.truffle.r.native/Makefile
+1
-2
1 addition, 2 deletions
com.oracle.truffle.r.native/Makefile
com.oracle.truffle.r.native/fficall/src/common/Makefile
+3
-3
3 additions, 3 deletions
com.oracle.truffle.r.native/fficall/src/common/Makefile
with
4 additions
and
5 deletions
com.oracle.truffle.r.native/Makefile
+
1
−
2
View file @
bcbb0f34
...
...
@@ -21,13 +21,12 @@
# questions.
#
# If GNUR_HOME is defined we take that as a pre-built, immutable, entity
.PHONY
:
all clean
export
TOPDIR
=
$(
CURDIR
)
export
FASTR_R_HOME
=
$(
abspath
$(
TOPDIR
)
/..
)
export
FASTR_LIB_DIR
=
$(
FASTR_R_HOME
)
/lib
export
FASTR_NATIVE_DIR
=
$(
TOPDIR
)
export
R_VERSION
=
3.1.3
export
GNUR_HOME
=
$(
TOPDIR
)
/gnur/R-
$(
R_VERSION
)
...
...
This diff is collapsed.
Click to expand it.
com.oracle.truffle.r.native/fficall/src/common/Makefile
+
3
−
3
View file @
bcbb0f34
...
...
@@ -24,7 +24,7 @@
# This builds the GNUR files that are compiled directly, and local overrides
ifneq
($(MAKECMDGOALS),clean)
include
$(
TOP
DIR)/platform.mk
include
$(
FASTR_NATIVE_
DIR)/platform.mk
endif
.PHONY
:
all clean
...
...
@@ -50,7 +50,7 @@ F_SOURCES = $(wildcard *.f)
F_OBJECTS
:=
$(
patsubst %.f,
$(
OBJ
)
/%.o,
$(
F_SOURCES
))
JNI_INCLUDES
=
-I
$(
JAVA_HOME
)
/include
-I
$(
JAVA_HOME
)
/include/
$(
JDK_OS_DIR
)
FFI_INCLUDES
=
-I
$(
TOP
DIR
)
/include
-I
$(
TOP
DIR
)
/include/R_ext
FFI_INCLUDES
=
-I
$(
FASTR_NATIVE_
DIR
)
/include
-I
$(
FASTR_NATIVE_
DIR
)
/include/R_ext
INCLUDES
:=
-I
$(
abspath ../include
)
$(
JNI_INCLUDES
)
$(
FFI_INCLUDES
)
include
../include/gnurheaders.mk
...
...
@@ -81,7 +81,7 @@ $(OBJ)/%.o: $(GNUR_APPL_SRC)/%.c
$(OBJ)/%.o
:
$(GNUR_MAIN_SRC)/%.c
$(
CC
)
$(
CFLAGS
)
$(
INCLUDES
)
$(
GNUR_HEADER_DEFS
)
$(
SUPPRESS_WARNINGS
)
-c
$<
-o
$@
$(OBJ)/%.o
:
%.c $(
TOP
DIR)/include/Rinternals.h
$(OBJ)/%.o
:
%.c $(
FASTR_NATIVE_
DIR)/include/Rinternals.h
$(
CC
)
$(
CFLAGS
)
$(
INCLUDES
)
$(
GNUR_HEADER_DEFS
)
$(
SUPPRESS_WARNINGS
)
-c
$<
-o
$@
$(OBJ)/%.o
:
%.f
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment