Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
inox
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
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
LARA
inox
Commits
a2e7db77
Commit
a2e7db77
authored
12 years ago
by
Etienne Kneuss
Browse files
Options
Downloads
Patches
Plain Diff
Break the inner-compiler in different ways so that it works with sbt test.
parent
d228bea0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/main/scala/leon/Settings.scala
+3
-0
3 additions, 0 deletions
src/main/scala/leon/Settings.scala
src/main/scala/leon/plugin/ExtractionPhase.scala
+2
-1
2 additions, 1 deletion
src/main/scala/leon/plugin/ExtractionPhase.scala
with
5 additions
and
1 deletion
src/main/scala/leon/Settings.scala
+
3
−
0
View file @
a2e7db77
...
...
@@ -22,5 +22,8 @@ case class Settings(
val
synthesis
:
Boolean
=
false
,
val
xlang
:
Boolean
=
false
,
val
verify
:
Boolean
=
true
,
// This is a list of directories that is passed as class-path of the inner-compiler.
// It needs to contain at least a directory containing scala-library.jar, and
// one for the leon runtime library.
val
classPath
:
List
[
String
]
=
Settings
.
defaultClassPath
()
)
This diff is collapsed.
Click to expand it.
src/main/scala/leon/plugin/ExtractionPhase.scala
+
2
−
1
View file @
a2e7db77
...
...
@@ -13,7 +13,8 @@ object ExtractionPhase extends LeonPhase[List[String], Program] {
val
settings
=
new
NSCSettings
settings
.
extdirs
.
value
=
ctx
.
settings
.
classPath
.
mkString
(
":"
)
//settings.extdirs.value = ctx.settings.classPath.mkString(":")
settings
.
usejavacp
.
value
=
true
val
compilerOpts
=
args
.
filterNot
(
_
.
startsWith
(
"--"
))
...
...
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