Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Chameleon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
solverstack
Chameleon
Commits
f345eb82
There was a problem fetching the pipeline summary.
Commit
f345eb82
authored
8 years ago
by
AGULLO Emmanuel
Browse files
Options
Downloads
Patches
Plain Diff
More on emacs/spacemacs auto-completion procedure
parent
2f329e1b
No related branches found
No related tags found
No related merge requests found
Pipeline
#
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
AUTOCOMPLETE.org
+9
-1
9 additions, 1 deletion
AUTOCOMPLETE.org
with
9 additions
and
1 deletion
AUTOCOMPLETE.org
+
9
−
1
View file @
f345eb82
...
@@ -3,6 +3,13 @@
...
@@ -3,6 +3,13 @@
#+begin_src sh :results output :exports both
#+begin_src sh :results output :exports both
sudo aptitude install clang
sudo aptitude install clang
#+end_src
#+end_src
** Installing cc_args.py
We assume ~/bin/ is in the PATH environment variable
#+begin_src sh :results output :exports both
cd ~/bin/
wget https://raw.githubusercontent.com/Rip-Rip/clang_complete/master/bin/cc_args.py
chmod +x cc_args.py
#+end_src
** Enabling c-c++ layer in spacemacs
** Enabling c-c++ layer in spacemacs
Enable [[https://github.com/syl20bnr/spacemacs/tree/master/layers/%2Blang/c-c%2B%2B][c-c++ spacemacs layer]] with clang support:
Enable [[https://github.com/syl20bnr/spacemacs/tree/master/layers/%2Blang/c-c%2B%2B][c-c++ spacemacs layer]] with clang support:
#+begin_src emacs-lisp
#+begin_src emacs-lisp
...
@@ -24,7 +31,8 @@ spack load chameleon ; spack load cmake ; spack load fxt ; spack load openmpi ;
...
@@ -24,7 +31,8 @@ spack load chameleon ; spack load cmake ; spack load fxt ; spack load openmpi ;
cd $CHAMELEON_DIR
cd $CHAMELEON_DIR
mkdir spack-cc_args-build
mkdir spack-cc_args-build
cd spack-cc_args-build
cd spack-cc_args-build
CC='cc_args.py gcc'
CC='cc_args.py gcc' cmake ..
make
#+end_src
#+end_src
** Gathering the clang_complete information to the src directory
** Gathering the clang_complete information to the src directory
We now gather, sort and unify the .clang_complete information we obtained from
We now gather, sort and unify the .clang_complete information we obtained from
...
...
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