enso/.gitignore

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

158 lines
2.1 KiB
Plaintext
Raw Normal View History

#############
## GraalVM ##
#############
graal_dumps
#########
## JVM ##
#########
graal_dumps/
2019-06-01 21:32:49 +03:00
target/
*.class
*.log
2020-09-30 14:33:57 +03:00
.java-version
##########
## Rust ##
##########
**/*.rs.bk
wasm-pack.log
generated/
/target
/build/rust/target/
/rust-analyzer-target
###########
## Scala ##
###########
.metals/
2020-07-21 15:59:40 +03:00
############
## NodeJS ##
############
node_modules/
############
## System ##
############
.DS_Store
############
## Images ##
############
*.jpg
*.jpeg
*.bmp
*.psd
######################
## Tooling Specific ##
######################
!.idea
.idea/*
!.idea/runConfigurations/
!.vscode
.vscode/*
.metals/
*.swp
.projections.json
2020-07-03 16:42:45 +03:00
.nvmrc
2020-09-30 14:33:57 +03:00
*.iml
.enso-sources*
.metals
tools/performance/engine-benchmarks/generated_site
*.tsbuildinfo
############################
## Rendered Documentation ##
############################
javadoc/
scaladoc/
2021-07-08 16:38:20 +03:00
distribution/docs
distribution/docs-js
#######################
## Benchmark Reports ##
#######################
bench-report*.xml
2019-08-28 18:40:08 +03:00
##############
## Binaries ##
##############
2019-09-05 19:01:51 +03:00
/enso
2020-12-09 16:58:11 +03:00
/project-manager
*.exe
/enso.exp
/enso.lib
*.pdb
*.jar
2020-12-09 16:58:11 +03:00
/built-distribution/
2019-09-12 17:47:25 +03:00
2019-09-12 17:47:25 +03:00
#########
## IDE ##
#########
2019-11-05 17:12:33 +03:00
.editorconfig
.bloop/
.bsp/
project/metals.sbt
/build.json
2022-05-23 05:16:04 +03:00
/app/ide-desktop/lib/client/electron-builder-config.json
#################
## Build Cache ##
#################
build-cache/
2021-05-14 15:08:39 +03:00
##################
## Native Image ##
##################
*.build_artifacts.txt
Generate native image for engine-runner (#3638) This PR adds a possibility to generate native-image for engine-runner. Note that due to on-demand loading of stdlib, programs that make use of it are currently not yet supported (that will be resolved at a later point). The purpose of this PR is only to make sure that we can generate a bare minimum runner because due to lack TruffleBoundaries or misconfiguration in reflection config, this can get broken very easily. To generate a native image simply execute: ``` sbt> engine-runner-native/buildNativeImage ... (wait a few minutes) ``` The executable is called `runner` and can be tested via a simple test that is in the resources. To illustrate the benefits see the timings difference between the non-native and native one: ``` >time built-distribution/enso-engine-0.0.0-dev-linux-amd64/enso-0.0.0-dev/bin/enso --no-ir-caches --in-project test/Tests/ --run engine/runner-native/src/test/resources/Factorial.enso 6 720 real 0m4.503s user 0m9.248s sys 0m1.494s > time ./runner --run engine/runner-native/src/test/resources/Factorial.enso 6 720 real 0m0.176s user 0m0.042s sys 0m0.038s ``` # Important Notes Notice that due to a [bug in GraalVM](https://github.com/oracle/graal/issues/4200), which is already fixed in 22.x, and us still being on 21.x for the time being, I had to add a workaround to our sbt build to build a different fat jar for native image. To workaround it I had to exclude sqlite jar. Hence native image task is on `engine-runner-native` and not on `engine-runner`. Will need to add the above command to CI.
2022-09-22 17:45:10 +03:00
/runner
2021-05-14 15:08:39 +03:00
2021-09-08 19:15:42 +03:00
######################
## Enso-Development ##
######################
2022-11-14 12:09:49 +03:00
dist/
2021-08-13 19:14:20 +03:00
distribution/lib/Standard/Examples/*/data/scratch_file
distribution/lib/Standard/Examples/*/data/image.png
2021-07-08 16:38:20 +03:00
distribution/editions
2021-08-13 19:14:20 +03:00
distribution/lib/Standard/Table/*/polyglot/
2021-09-02 12:28:49 +03:00
distribution/lib/Standard/Database/*/polyglot/
2021-08-13 19:14:20 +03:00
distribution/lib/Standard/Examples/*/data/spreadsheet.xls
distribution/lib/Standard/Examples/*/data/spreadsheet.xlsx
distribution/lib/*/*/*/manifest.yaml
2021-09-02 12:28:49 +03:00
2022-05-23 05:16:04 +03:00
# Resources that are downloaded during the build.
/lib/scala/pkg/src/main/resources/*
2021-09-03 22:41:12 +03:00
test/Google_Api_Test/data/secret.json
2021-09-02 12:28:49 +03:00
test/Database_Tests/data/redshift_credentials.json
2021-09-08 19:15:42 +03:00
# Ignore test output folder
test-results
2021-09-08 19:15:42 +03:00
#################
## Enso-Caches ##
#################
*.ir
*.meta
.enso/