Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
b2program
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
general
stups
b2program
Commits
403a5d8e
Commit
403a5d8e
authored
1 month ago
by
Fabian Vu
Browse files
Options
Downloads
Patches
Plain Diff
Improve copying Java and C++ files and increase template recursion depth
parent
bd89b0d1
No related branches found
No related tags found
No related merge requests found
Pipeline
#155887
passed
1 month ago
Stage: test
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Makefile
+3
-3
3 additions, 3 deletions
Makefile
with
3 additions
and
3 deletions
Makefile
+
3
−
3
View file @
403a5d8e
...
...
@@ -28,15 +28,15 @@ else
ifeq
($(LANGUAGE), java)
%
:
java
-jar
B2Program-all-0.1.0-SNAPSHOT.jar
$(
JAVA_CODE_GEN_FLAGS
)
-f
$(
DIRECTORY
)
/
$@
.mch
cp
$(
DIRECTORY
)
/
*
.java .
@
if
[
"
$(
DIRECTORY
)
"
!=
"."
]
;
then
cp
$(
DIRECTORY
)
/
*
.java .
;
fi
javac
-cp
.
$(
JAVA_DEPENDENCIES
)
$@
.java
java
-cp
.
$(
JAVA_DEPENDENCIES
)
$@
$(
STRATEGY
)
$(
THREADS
)
$(
CACHING
)
endif
ifeq
($(LANGUAGE), cpp)
%
:
java
-jar
B2Program-all-0.1.0-SNAPSHOT.jar
$(
CPP_CODE_GEN_FLAGS
)
-f
$(
DIRECTORY
)
/
$@
.mch
cp
$(
DIRECTORY
)
/
*
.cpp .
$(
CPPC
)
$(
CPPFLAGS
)
-o
$@
.exec
$@
.cpp
@
if
[
"
$(
DIRECTORY
)
"
!=
"."
]
;
then
cp
$(
DIRECTORY
)
/
*
.cpp .
;
fi
$(
CPPC
)
$(
CPPFLAGS
)
-o
$@
.exec
$@
.cpp
-ftemplate-depth
=
16000
./
$@
.exec
$(
STRATEGY
)
$(
THREADS
)
$(
CACHING
)
endif
ifneq
(,$(findstring $(LANGUAGE), rs|RS|rust|Rust))
...
...
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