Use hwloc instead of libtopology

libtopology obsoleted by hwloc.

Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Fix build error

Some toolchains have --no-add-needed by default.

/usr/bin/ld: tests/posix_semaphore1.o: undefined reference to symbol 'sem_post@@GLIBC_2.2.5'
note: 'sem_post@@GLIBC_2.2.5' is defined in DSO /lib/libpthread.so.0 so try adding it to the linker command line
/lib/libpthread.so.0: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make: *** [posix_semaphore1_processes] Error 1

Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Add gitignore file to repo

Simple .gitignore to clean up git status output.

Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>