Improve developer's first experience

This commit is contained in:
Marko Ivanovich 2021-10-28 23:38:35 +03:00
parent 3c5d6d3de4
commit 1bac0517c4
3 changed files with 7 additions and 1 deletions

2
.gitignore vendored
View File

@ -30,6 +30,8 @@ benchmarks/pbzip2/bzip2-1.0.6
benchmarks/string_match/string_match_datafiles
benchmarks/word_count/word_count_datafiles
build/
viewer/node_modules
rust/Cargo.lock
rust/target

View File

@ -44,6 +44,8 @@ $ pip install conan --user
$ git clone https://github.com/plasma-umass/coz.git
$ cd coz
$ mkdir build && cd build
$ # This helps to avoid problems with linker failing to find C++ symbols:
$ conan profile update settings.compiler.libcxx=libstdc++11 default
$ conan install ..
$ cmake ..
$ make

4
coz
View File

@ -59,7 +59,9 @@ def _coz_run(args):
os.path.join(coz_prefix, '..', 'lib', 'coz-profiler', 'libcoz.so'),
# Local library under development directory
os.path.join('libcoz', 'libcoz.so') # Local library during development
os.path.join('libcoz', 'libcoz.so'), # Local library during development
os.path.join(coz_prefix, 'libcoz', 'libcoz.so'),
os.path.join(coz_prefix, 'build', 'libcoz', 'libcoz.so'),
]
# Find the first library location that exists