-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Review getting started instructions #5
Comments
@echoix, thanks for the pull request. I approved it and made some other fixes in container configuration, so for me, it now works well in GitHub codespaces (with 8 GB RAM and 1 CMake thread). Unfortunately, if more threads are active or less memory is available, the linking process runs out of memory. You can set manually Actually, some LLVM libraries were missing (in previous versions of LLVM they were in the main LLVM package) and there were some problems with permissions (now the If you still cannot get the installation working, please, provide more details about errors you facing on. |
I remember CMake complaining that there was missing DVM_DIR, once there was missing PACKAGE_LLVM or LLVM_PROJECT_DIR, and a complaining of missing Fortran compiler. I'm running a new clone now, I'll try to come back later if it's not finished before I have to leave. |
Ok, I finished running the build. I'm not sure that this indicates that it was finished successfully. Details
|
Also, have you considered adding a .gitignore to this repo, such as https://www.toptal.com/developers/gitignore?templates=cmake,perl,visualstudiocode,batch,linux,windows,macos,git and adding /build ? I ended up using the following to not have 1k+ modified files pending to be pushed. Details
# Created by https://www.toptal.com/developers/gitignore/api/cmake,perl,visualstudiocode,batch,linux,windows,macos,git
# Edit at https://www.toptal.com/developers/gitignore?templates=cmake,perl,visualstudiocode,batch,linux,windows,macos,git
### Batch ###
# BatchFiles
*.bat
*.cmd
*.btm
### CMake ###
CMakeLists.txt.user
CMakeCache.txt
CMakeFiles
CMakeScripts
Testing
Makefile
cmake_install.cmake
install_manifest.txt
compile_commands.json
CTestTestfile.cmake
_deps
### CMake Patch ###
# External projects
*-prefix/
### Git ###
# Created by git for backups. To disable backups in Git:
# $ git config --global mergetool.keepBackup false
*.orig
# Created by git when using merge tools for conflicts
*.BACKUP.*
*.BASE.*
*.LOCAL.*
*.REMOTE.*
*_BACKUP_*.txt
*_BASE_*.txt
*_LOCAL_*.txt
*_REMOTE_*.txt
### Linux ###
*~
# temporary files which can be created if a process still has a handle open of a deleted file
.fuse_hidden*
# KDE directory preferences
.directory
# Linux trash folder which might appear on any partition or disk
.Trash-*
# .nfs files are created when an open file is removed but is still being accessed
.nfs*
### macOS ###
# General
.DS_Store
.AppleDouble
.LSOverride
# Icon must end with two \r
Icon
# Thumbnails
._*
# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent
# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk
### macOS Patch ###
# iCloud generated files
*.icloud
### Perl ###
!Build/
.last_cover_stats
/META.yml
/META.json
/MYMETA.*
*.o
*.pm.tdy
*.bs
# Devel::Cover
cover_db/
# Devel::NYTProf
nytprof.out
# Dist::Zilla
/.build/
# Module::Build
_build/
Build
Build.bat
# Module::Install
inc/
# ExtUtils::MakeMaker
/blib/
/_eumm/
/*.gz
/Makefile
/Makefile.old
/MANIFEST.bak
/pm_to_blib
/*.zip
### VisualStudioCode ###
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
!.vscode/*.code-snippets
# Local History for Visual Studio Code
.history/
# Built Visual Studio Code Extensions
*.vsix
### VisualStudioCode Patch ###
# Ignore all local history of files
.history
.ionide
### Windows ###
# Windows thumbnail cache files
Thumbs.db
Thumbs.db:encryptable
ehthumbs.db
ehthumbs_vista.db
# Dump file
*.stackdump
# Folder config file
[Dd]esktop.ini
# Recycle Bin used on file shares
$RECYCLE.BIN/
# Windows Installer files
*.cab
*.msi
*.msix
*.msm
*.msp
# Windows shortcuts
*.lnk
# End of https://www.toptal.com/developers/gitignore/api/cmake,perl,visualstudiocode,batch,linux,windows,macos,git
/build |
If you don't need it, I suggest that you delete the non running codespace after use, since using containers other than their universal image takes part of the storage allowance that is taken up per day and per size stored. I didn't understand at first why my usage was increasing when I only used for one project for a weekend, and after that I didn't have any usage left at the end of the month. |
Your CMake configuration is almost successful, so now you can build SAPFOR with the
|
I didn't know that before, thank you. |
Thanks a lot for your feedback! I assume I need to place the code of the project I want to analyze in a certain folder. There is also a link to some wiki, that's what I'm inferring from the automatic translation: ( https://github.com/dvm-system/tsar/wiki/Building-Guide ) |
Before starting, I would like to say that I appreciate the work done in this project and the projects related and integrated together. I explored the repo and what I could find as documentation and think it's what I'd like to try out, and would really like to explore it.
However, I couldn't get the installation working, after like 7h of trying. It's not my first time playing with devcontainers, neither with Docker, but only have limited CMake experience.
Would it be possible for someone in this project to retry from scratch (no cache or existing build artifacts) to set up an environment, following the instructions, to see if it still works? I wasn't able by myself to have the initial CMake invocation finishing configurating. What's interesting now, is that it can be launched in GitHub codespaces too, to check in a clean environment, but obviously it doesn't start up neither.
Ideally blockers that prevent the CMake installation to proceed should be fixed, but there is also a possibility of having a prebuilt container image to be pulled that could be published. That way, there would at least be an older version available.
Additional details: I'd like to play with a Fortran project
The text was updated successfully, but these errors were encountered: