- Python 3.9 or higher
- Run
make cefirst - The
ceandce_installscripts are in thebindirectory, you can either set the PATH, make links or callbin/ce/bin/ce_installin the given examples below
The directory /opt/compiler-explorer is required, otherwise you'll have to supply your own destination directory and temporary staging directory to ce_install using --staging-dir "/some/tmp/dir" --dest "/my/ce/dir"
ce_install list or ce_install --enable nightly list
Filter to a specific language/type:
ce_install list 'compilers/c++/x86/gcc'
Show only compilers that are already installed locally:
ce_install list 'compilers/c++/x86/gcc' --installed-only
Show the compiler IDs used in CE properties files (needed for use_compiler in
library configs):
ce_install list 'compilers/c++/x86/gcc' --show-compiler-ids
To see where compilers/tools would be installed without actually installing them:
ce_install list-paths <filter>
Examples:
ce_install list-paths 'libraries/c++/fmt'- Show all fmt library version pathsce_install list-paths --absolute 'libraries/c++/fmt 10.2.1'- Show absolute path for specific versionce_install list-paths --json 'compilers/c++'- Output all C++ compiler paths in JSON format
ce_install install <name>
For a specific version
ce_install install '<compilername> <version>'
ce_install --enable nightly install <name>
You can install a small amount of Windows compilers using ce_install.ps1, a regular powershell installation should be enough
./ce_install.ps1 --staging-dir "D:/tmp/staging" --dest "D:/efs/compilers" --enable windows install windows
IMPORTANT no sudo; ensure --force-traditional
ce_install --force-traditional --staging-dir /efs/winshared/staging --dest /efs/winshared/compilers --enable windows install windows
ce smb sync